Code: Select all
[cacti@grvcacti rra]$ perl /var/www/html/cacti/resource/script_queries/AlphaDC.pl 10.34.218.144 161 public 2
sysVolts:54596, sysAmps:143590, psTemp:14932
Setting the Log to Debug I can run cmd.php and see the following:
Code: Select all
02/22/2017 11:32:19 AM - CMDPHP: Poller[0] Host[27] DS[94] CMD: perl /var/www/html/cacti/resource/script_queries/AlphaDC.pl 10.34.218.144 161 public 2, output: sysVolts:54610, sysAmps:143830, psTemp:14964
02/22/2017 11:32:19 AM - CMDPHP: Poller[0] Host[27] SNMP: Host responded to SNMP
02/22/2017 11:32:19 AM - CMDPHP: Poller[0] Host[27] PING: ICMP Ping Success (23.880 ms)
rrd_version = "0003"
step = 300
last_update = 1487781011
header_size = 6728
ds[sysVolts].index = 0
ds[sysVolts].type = "GAUGE"
ds[sysVolts].minimal_heartbeat = 600
ds[sysVolts].min = NaN
ds[sysVolts].max = NaN
ds[sysVolts].last_ds = "U"
ds[sysVolts].value = NaN
ds[sysVolts].unknown_sec = 11
ds[sysAmps].index = 1
ds[sysAmps].type = "GAUGE"
ds[sysAmps].minimal_heartbeat = 600
ds[sysAmps].min = NaN
ds[sysAmps].max = NaN
ds[sysAmps].last_ds = "U"
ds[sysAmps].value = NaN
ds[sysAmps].unknown_sec = 11
ds[psTemp].index = 2
ds[psTemp].type = "GAUGE"
ds[psTemp].minimal_heartbeat = 600
ds[psTemp].min = 0.0000000000e+00
ds[psTemp].max = NaN
ds[psTemp].last_ds = "14946"
ds[psTemp].value = 1.6440600000e+05
ds[psTemp].unknown_sec = 0
Here is the result of a LAST command on the rrd file:
Code: Select all
1487780400: -nan -nan 1.4964440000e+04
1487780700: -nan -nan 1.4978486667e+04
1487781000: -nan -nan 1.4947210000e+04
1487781300: -nan -nan 1.4983570000e+04
Can anyone give me a clue as to what is wrong here?
Every time I change any of the settings in the Data Template I have been deleting the RRD file and letting it be re-created from scratch.
Running Cacti 0.8.8h with PHP 2.4.0, MySQL 5.5.52-MariaDB, on Centos 7.
Using cmd.php because if I run Spine I get the following error:
Code: Select all
SPINE: Version 1.0.3 starting
2017-02-22 11:40:18 - SPINE: Poller[1] WARNING: PollerID > 0, but 'host' table does NOT contain the poller_id column!!
2017-02-22 11:40:18 - SPINE: Poller[1] FATAL: MySQL Error:'1054', Message:'Unknown column 'snmp_engine_id' in 'field list'' [0, Success] (Spine thread)