Empty graphs

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
fitzer
Posts: 3
Joined: Sun Feb 10, 2008 2:37 pm
Contact:

Empty graphs

Post by fitzer »

Attempting to install cacti 0.0.7a on Centos 5. Have php 5.1.6, mysql 5.0.22, rrdtool 1.2.26, net-snmp 5.4.

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
I'm real curious about the "bad operator" lines. /rra has rrds in it, all my values are NAN. Any helpfuul pointers?

fitz
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Re: Empty graphs

Post by fmangeant »

fitzer wrote:I'm real curious about the "bad operator" lines. /rra has rrds in it, all my values are NAN. Any helpfuul pointers?
Hi

can you try to unset the MIBS variable before running the poller ?
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
fitzer
Posts: 3
Joined: Sun Feb 10, 2008 2:37 pm
Contact:

Post by fitzer »

I'm not aware that I have a MIB variable set anywhere.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests