Graphs not working anymore

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

Moderators: Developers, Moderators

Post Reply
cleaner
Posts: 36
Joined: Mon Feb 28, 2005 10:12 am

Graphs not working anymore

Post by cleaner »

Fedora 3. here is the output of cacti.log. any ideas?

06/20/2005 10:00:10 AM - SYSTEM STATS: Time: 7.0680 s, Method: cactid, Processes: 1, Threads: 1, Hosts: 44, Hosts/Process: 44
06/20/2005 09:59:14 AM - CMDPHP: Poller[0] Host[75] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:59:13 AM - CMDPHP: Poller[0] Host[75] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:55:31 AM - RECACHE: Poller[0] STATS: Time: 14.6398 s, Hosts Recached: 1
06/20/2005 09:55:17 AM - POLLER: Poller[0] Host[29] WARNING: Recache Event Detected for Host
06/20/2005 09:55:17 AM - SYSTEM STATS: Time: 14.3540 s, Method: cactid, Processes: 1, Threads: 1, Hosts: 44, Hosts/Process: 44
06/20/2005 09:55:00 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/20/2005 09:54:26 AM - CMDPHP: Poller[0] Host[75] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:54:25 AM - CMDPHP: Poller[0] Host[75] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:52:13 AM - CMDPHP: Poller[0] Host[62] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:52:13 AM - CMDPHP: Poller[0] Host[62] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:50:39 AM - CMDPHP: Poller[0] Host[16] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:50:39 AM - CMDPHP: Poller[0] Host[16] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:50:33 AM - CMDPHP: Poller[0] Host[14] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:50:33 AM - CMDPHP: Poller[0] Host[14] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:50:25 AM - CMDPHP: Poller[0] Host[11] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:50:25 AM - CMDPHP: Poller[0] Host[11] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:50:21 AM - CMDPHP: Poller[0] Host[11] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:50:21 AM - CMDPHP: Poller[0] Host[11] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:50:18 AM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:50:13 AM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:50:09 AM - CMDPHP: Poller[0] Host[1] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:49:58 AM - POLLER: Poller[0] Maximum runtime of 296 seconds exceeded. Exiting.
06/20/2005 09:47:25 AM - CMDPHP: Poller[0] Host[62] WARNING: Result from SNMP not valid. Partial Result:
06/20/2005 09:47:25 AM - CMDPHP: Poller[0] Host[62] WARNING: Result from SNMP not valid. Partial Result:
cleaner
Posts: 36
Joined: Mon Feb 28, 2005 10:12 am

Post by cleaner »

Update: I moved to cactid and now this is the error:

06/20/2005 01:25:17 PM - CACTID: Poller[0] DEBUG: SQLCMD: update host set status='1',status_event_count='9', status_fail_date='2005-06-20 12:45:00',status_rec_date='0000-00-00 00:00:00',status_last_error='Host did not respond to SNMP, UDP: Host is Alive',min_time='9.999990',max_time='922.450000',cur_time='122.330000',avg_time='167.629990',total_polls='757',failed_polls='9',availability='98.8111' where id='85'
06/20/2005 01:25:17 PM - CACTID: Poller[0] Host[85] SNMP Result: Host did not respond to SNMP
06/20/2005 01:25:17 PM - CACTID: Poller[0] Host[85] PING Result: UDP: Host is Alive

Seems to be a SNMP problem, but I can walk any host.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Confirm the snmp version that you are walking with and the snmp version you have the host set to.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
cleaner
Posts: 36
Joined: Mon Feb 28, 2005 10:12 am

Post by cleaner »

both are running v1
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Is snmp enabled in php? If not, please make sure that you paths are correct for snmpget and snmpwalk in the settings.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
cleaner
Posts: 36
Joined: Mon Feb 28, 2005 10:12 am

Post by cleaner »

The paths are correct. how can I check php?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Run:

Code: Select all

php -m
Look for snmp in the modules section of that output.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
cleaner
Posts: 36
Joined: Mon Feb 28, 2005 10:12 am

Post by cleaner »

[root@monitor bin]# php -m
[PHP Modules]
ctype
dom
gd
iconv
libxml
mysql
pcre
posix
session
SimpleXML
sockets
SPL
SQLite
standard
tokenizer
xml
zlib

[Zend Modules]


Thats strange. Not sure how this would work at all with out the module. How do I install it?
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Ok, what version of NET-SNMP are you running?

Do a "snmpget --version".
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
cleaner
Posts: 36
Joined: Mon Feb 28, 2005 10:12 am

Post by cleaner »

NET-SNMP version: 5.2.1
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

What archives are you using for updates? I assume this installation is up to date?

Can you try to get snmp working in php?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
cleaner
Posts: 36
Joined: Mon Feb 28, 2005 10:12 am

Post by cleaner »

When the problem started I thought this would be a good time to upgrade to the latest version, so I did. What would be the first step with the PHP snmp thing?
cleaner
Posts: 36
Joined: Mon Feb 28, 2005 10:12 am

Post by cleaner »

help! please
cleaner
Posts: 36
Joined: Mon Feb 28, 2005 10:12 am

Post by cleaner »

Ok, so I paniked a bit and changed way too much to get things working. I'm now working on the e revision and moved back to poller. What I did that I think fixed it was take the after I moved my old resoure and scripts over (some custiom stuff) then I went back to the and moved the new resource and script files over (overwriting the old ones.) and it started to work again. Does that make any sense?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests