Anyway - implemented all, getting Nans, ran from the command line as cacti user get the following:
Any ideas?./wmi.php -h 10.0.254.9 -u /etc/cacti/cactiwmi.pw -w Win32_ComputerS ystem -c PrimaryOwnerName,NumberOfProcessors
Return code non-zero, debug mode enabled!
/var/www/html/plugins/wmi/wmic --namespace='root\CIMV2' --authentication-file=/etc/cacti/cactiwmi.pw //10.0.254.9 "SELECT PrimaryOwnerName,NumberOfProcessors FROM Win32_ComputerSystem"
Exec Status: 1
PHP Notice: Undefined offset: 2 in /var/www/html/scripts/wmi.php on line 130
Notice: Undefined offset: 2 in /var/www/html/scripts/wmi.php on line 130
PHP Notice: Undefined offset: 2 in /var/www/html/scripts/wmi.php on line 130
Notice: Undefined offset: 2 in /var/www/html/scripts/wmi.php on line 130
PHP Notice: Undefined offset: 2 in /var/www/html/scripts/wmi.php on line 130
Notice: Undefined offset: 2 in /var/www/html/scripts/wmi.php on line 130
PHP Notice: Undefined offset: 2 in /var/www/html/scripts/wmi.php on line 130
Notice: Undefined offset: 2 in /var/www/html/scripts/wmi.php on line 130
PHP Notice: Undefined offset: 2 in /var/www/html/scripts/wmi.php on line 130
Notice: Undefined offset: 2 in /var/www/html/scripts/wmi.php on line 130
PHP Notice: Undefined offset: 3 in /var/www/html/scripts/wmi.php on line 130
Notice: Undefined offset: 3 in /var/www/html/scripts/wmi.php on line 130
PHP Notice: Undefined offset: 4 in /var/www/html/scripts/wmi.php on line 130
Notice: Undefined offset: 4 in /var/www/html/scripts/wmi.php on line 130
[--debug-stderr] [-s0:________[-l
--configfile CONFIGFILE] [--option=name=value]0:--log-basename_LOGFILEBASE]_[--leak-report]_[--leak- report-full]
[--debug-stderr] [-s1:________[-R
--configfile CONFIGFILE] [--option=name=value]1:--name-resolve_NAME-RESOLVE-ORDER]
[--debug-stderr] [-s2:________[-O
--configfile CONFIGFILE] [--option=name=value]2:--socket-options_SOCKETOPTIONS]_[-n
2:--netbiosname_NETBIOSNAME]
[--debug-stderr] [-s3:________[-W
--configfile CONFIGFILE] [--option=name=value]3:--workgroup_WORKGROUP]_[--realm=REALM]_[-i
3:--scope_SCOPE]
[--debug-stderr] [-s4:________[-m
--configfile CONFIGFILE] [--option=name=value]4:--maxprotocol_MAXPROTOCOL]_[-U
4:--user_[DOMAIN\]USERNAME[%PASSWORD]]
[--debug-stderr] [-s5:________[-N
--configfile CONFIGFILE] [--option=name=value]5:--no-pass]_[--password=STRING]_[-A
5:--authentication-file_FILE]
[--debug-stderr] [-s6:________[-S
--configfile CONFIGFILE] [--option=name=value]6:--signing_on
6:off
6:required]_[-P
6:--machine-pass]
[--debug-stderr] [-s7:________[--simple-bind-dn=STRING]_[-k
--configfile CONFIGFILE] [--option=name=value]7:--kerberos_STRING]
[--debug-stderr] [-s8:________[--use-security-mechanisms=STRING]_[-V
--configfile CONFIGFILE] [--option=name=value]8:--version]
[--debug-stderr] [-s9:________//host_query
[--debug-stderr] [-s10:
[--debug-stderr] [-s11:Example_wmic_-U_[domain/]adminuser%password_//host_"select_*_from_Win
Argon0