I've used rrdtool and NMIS for quite a while, and am using the same machine that has a small yet functional NMIS/RRDtool set up.
Have read several installation posts, and many of them have been helpful in getting me this far. My last step was the "php -q poller.php --force --debug" command which prints a buch of stuff then seems to hang. The start of what it returns is below:
Code: Select all
[root@netmon cacti]# php -q poller.php --force --debug
02/10/2008 01:14:15 PM - POLLER: Poller[0] NOTE: Poller Int: '300', Cron Int: '300', Time Since Last: '56868', Max Runtime '298', Poller Runs: '1'
02/10/2008 01:14:15 PM - POLLER: Poller[0] WARNING: Cron is out of sync with the Poller Interval! The Poller Interval is '300' seconds, with a maximum of a '300' second Cron, but 56868 seconds have passed since the last poll!
02/10/2008 01:14:15 PM - POLLER: Poller[0] DEBUG: About to Spawn a Remote Process [CMD: /usr/bin/php, ARGS: -q /usr/local/cacti/cmd.php 0 3]
Waiting on 1/1 pollers.
Bad operator (NetworkAddress): At line 31 in /usr/local/share/snmp/mibs/RFC1155-SMI.txt
Did not find 'mgmt' in module RFC1155-SMI (/usr/local/share/snmp/mibs/RFC1213-MIB.txt)
Unlinked OID in RFC1213-MIB: mib-2 ::= { mgmt 1 }
Undefined identifier: mgmt near line 22 of /usr/local/share/snmp/mibs/RFC1213-MIB.txt
Waiting on 1/1 pollers.
02/10/2008 01:14:16 PM - POLLER: Poller[0] Parsed MULTI output field '1min:0.01' [map 1min->load_1min]
02/10/2008 01:14:16 PM - POLLER: Poller[0] Parsed MULTI output field '5min:0.07' [map 5min->load_5min]
02/10/2008 01:14:16 PM - POLLER: Poller[0] Parsed MULTI output field '10min:0.08' [map 10min->load_15min]
02/10/2008 01:14:16 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool create /usr/local/cacti/rra/localhost_proc_7.rrd --step 300 DS:proc:GAUGE:600:0:1000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MIN:0.5:1:600 RRA:MIN:0.5:6:700 RRA:MIN:0.5:24:775 RRA:MIN:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797 RRA:LAST:0.5:1:600 RRA:LAST:0.5:6:700 RRA:LAST:0.5:24:775 RRA:LAST:0.5:288:797
02/10/2008 01:14:16 PM - POLLER: Poller[0] CACTI2RRD: /usr/local/rrdtool/bin/rrdtool update /usr/local/cacti/rra/localhost_proc_7.rrd --template proc N:139
OK u:0.00 s:0.00 r:1.06
OK u:0.00 s:0.00 r:1.06
fitz