Inventory Agent (ndtrack.sh) on Non-Windows Machines
Summary
How does the Inventory Agent (ndtrack.sh) function on non-Windows machines, and what does it require?Question
How does the Inventory Agent (ndtrack.sh) function on non-Windows machines, and what does it require?Answer
During Remote Execution the beacon launches a special version of plink.exe which will login to the SSH server running on the managed device using port 22 with the credentials stored on the password store. You don't need to use the root account, instead you may create a login account which itself does not have root privileges, but has permission to execute sudo, priv, or another utility of your choice for privilege elevation.
FlexNet Manager Platform 2014 and later beacons will first run the command: /bin/sh -c "PATH=$PATH:/bin:/usr/bin; echo "UnameKernel=`uname`"; [ -r /etc/managesoft.ini ] && grep ETCPVersion /etc/managesoft.ini || echo "ETCPVersion=NONE""
FlexNet Manager Platform beacons prior to version 2014 will first run the command: date
All beacons will then run the command: /bin/sh ndtrack.sh
All Non-Windows
/usr/sbin/ifconfig <device>
ifconfig -a
netstat -nr
arp <ip address>
dspmq -o all
vxlicrep
AIX
oslevel -r
netstat <instance>
lscfg -p
HP-UX
/usr/sbin/ioscan -k -F ?n
/usr/sbin/parstatus -wM
/usr/sbin/parstatus -CM
/usr/sbin/vparstatus -wM
/usr/sbin/vparstatus -M
/usr/sbin/vparstatus -AM
/usr/bin/getconf CPU_CHIP_TYPE
/usr/sbin/lanscan
/usr/sbin/swlist -v -lproduct -atag -arevision -atitle -ainstall_date -avendor_tag -asize -aarchitecture -ais_patch -lfile -apath -atype
Linux
/sbin/lspci
rpm --query --all --queryformat <query format string>
OS X
/usr/sbin/system_profiler SPHardwareDataType
/usr/bin/lsbom -p f <package path>
Solaris
/usr/sbin/eeprom nvramrc
/usr/bin/isainfo -kv
/usr/bin/pkg contents -H -s pkg.fmri -o pkg.fmri,action.raw -tset -tfile -tlink -thardlink
pkginfo -l
Linux & Solaris (Intel)
/usr/sbin/dmidecode
or our own shipped 'libexec/mgsdmidecode' if dmidecode is not available (older linuxes)
Debian/Ubuntu Linux
dpkg-query -W --showformat=<show format string>
Xen (Linux)
xl info -n
xl vm-list (fail over to xl list-vm)