I am monitoring Windows hosts, some of which are remote and locked behind firewalls etc, so have a custom utility to retrieve stats for these from an intermediary database.
When I run the command as a data source through CMD, it works fine, but through Spine I get "U".
For example, here's the logfile output for one server's disks through CMD:
Code: Select all
09/04/2012 11:58:15 PM - CMDPHP: Poller[0] Host[4] DS[340] CMD: D:\Cacti\cacti-0.8.8a\scripts\query_mssql_counters.exe disks servername get Size c, output: 42842714112
09/04/2012 11:58:19 PM - CMDPHP: Poller[0] Host[4] DS[340] CMD: D:\Cacti\cacti-0.8.8a\scripts\query_mssql_counters.exe disks servername get FreeSpace c, output: 7759368192
09/04/2012 11:58:22 PM - CMDPHP: Poller[0] Host[4] DS[340] CMD: D:\Cacti\cacti-0.8.8a\scripts\query_mssql_counters.exe disks servername get FreePercent c, output: 18.1112899890407
09/04/2012 11:58:22 PM - POLLER: Poller[0] CACTI2RRD: D:/Cacti/rrdtool-1.4.5/rrdtool.exe update D:\Cacti\cacti-0.8.8a\rra\servername_size_340.rrd --template size:free_space:free_percent 1346799478:42842714112:7759368192:18.1112899890407
Code: Select all
09/04/2012 11:54:51 PM - SPINE: Poller[0] Host[19] ERROR: Empty result [servername]: 'D:\Cacti\cacti-0.8.8a\scripts\query_mssql_counters.exe disks servername get Size c'
09/04/2012 11:54:51 PM - SPINE: Poller[0] Host[19] TH[1] DS[378] SCRIPT: D:\Cacti\cacti-0.8.8a\scripts\query_mssql_counters.exe disks servername get Size c, output: U
09/04/2012 11:54:51 PM - SPINE: Poller[0] Host[19] ERROR: Empty result [servername]: 'D:\Cacti\cacti-0.8.8a\scripts\query_mssql_counters.exe disks servername get FreeSpace c'
09/04/2012 11:54:51 PM - SPINE: Poller[0] Host[19] TH[1] DS[378] SCRIPT: D:\Cacti\cacti-0.8.8a\scripts\query_mssql_counters.exe disks servername get FreeSpace c, output: U
09/04/2012 11:54:51 PM - SPINE: Poller[0] Host[19] ERROR: Empty result [servername]: 'D:\Cacti\cacti-0.8.8a\scripts\query_mssql_counters.exe disks servername get FreePercent c'
09/04/2012 11:54:51 PM - SPINE: Poller[0] Host[19] TH[1] DS[378] SCRIPT: D:\Cacti\cacti-0.8.8a\scripts\query_mssql_counters.exe disks servername get FreePercent c, output: U