I've recently upgraded my cacti server to 1.2.6 from 0.8.8h and now executing ss_win_mssql.php results in a NULL output.
Code: Select all
2019/11/04 18:16:41 - SPINE: Poller[1] PID[1036] WARNING: Invalid Response, Device[57] HT[1] DS[1425] SCRIPT: /usr/share/cacti/scripts/custom-scripts/ss_win_mssql.php ss_win_mssql '10.bb.cc.dd':'1433' bckrsttroughput 'nagios' '############', output:
2019/11/04 18:16:41 - SPINE: Poller[1] PID[1036] Device[57] HT[1] DS[1424] SS[0] SERVER: /usr/share/cacti/scripts/custom-scripts/ss_win_mssql.php ss_win_mssql '10.bb.cc.dd':'1433' bckrsttroughput 'nagios' '#############', output: U
Code: Select all
[root@JAX4CACTI02 cacti]# php script_server.php
PHP Script Server has Started - Parent is cmd
/usr/share/cacti/scripts/custom-scripts/ss_win_mssql.php ss_win_mssql '10.bb.cc.dd':'1433' bckrsttroughput 'nagios' '################'
However, if I run it manually,
Code: Select all
[root@JAX4CACTI02 cacti]# time php -q /usr/share/cacti/scripts/custom-scripts/ss_win_mssql.php '10.bb.cc.dd':'1433' bckrsttroughput 'nagios' '################'
bckrsttroughput:1353142132736
real 0m5.506s
user 0m0.032s
sys 0m0.018s
Just trying to understand why it's not working now.