Can't poll SNMPv1 devices

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

Moderators: Developers, Moderators

Post Reply
cshepherd
Posts: 37
Joined: Thu Jan 05, 2006 10:21 pm
Location: Australia

Can't poll SNMPv1 devices

Post by cshepherd »

Hi all,

I am building a new cacti server for a network and I'm migrating all the devices across and I have come across an interesting problem.

Both boxes are Solaris9 and running 0.8.6j.

I have 130 odd v2c devices graphing with no errors, but when I try to add my v1 devices I get an error in the logs saying the poller has exceeded the 292 second timeout.

I can add the v1 devices and it correctly walks the interfaces and gets the system information, it just doesn't seem to poll. I am using cmd.php.

I did a dump on the interface and no snmp traffic is leaving my cacti server to these devices either.

I'm not too sure where to start troubleshooting this one.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please query the poller_command table to see, if those devices show up
Reinhard
cshepherd
Posts: 37
Joined: Thu Jan 05, 2006 10:21 pm
Location: Australia

Post by cshepherd »

Here is an excerpt from poller_command;

Code: Select all

+-----------+---------------------+--------+---------+
| poller_id | time                | action | command |
+-----------+---------------------+--------+---------+
|         0 | 2007-09-11 16:15:19 |      1 | 119:1   |
of which there are 17 more records similar to the above.

I had a look at poller_item which looked more like what I think you're after (hostname, community, rrd file etc...) and they are not listed in that table.
cshepherd
Posts: 37
Joined: Thu Jan 05, 2006 10:21 pm
Location: Australia

Post by cshepherd »

This may or may not make a difference but I am successfully graphing other parts of these v1 devices using scripts.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Should have been more precice. Please visit http://localhost/cacti/utilities.php?ac ... snmp_cache and try to find your device
Reinhard
cshepherd
Posts: 37
Joined: Thu Jan 05, 2006 10:21 pm
Location: Australia

Post by cshepherd »

Yes there are entries in SNMP Cache Items for the v1 devices.
It lists the hostname, and OID to get etc... which all looks correct.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please use cmd.php or cactid to poll only that device. Please switch to DEBUG mode for cmd.php or use --verbosity=5 for cactid
Reinhard
cshepherd
Posts: 37
Joined: Thu Jan 05, 2006 10:21 pm
Location: Australia

Post by cshepherd »

[edit] - Just noticed a couple errors in what I did.
cshepherd
Posts: 37
Joined: Thu Jan 05, 2006 10:21 pm
Location: Australia

Post by cshepherd »

I have built a new server and added a single SNMPv1 device and I have create a load average graph for that device.

I have set the logging to debugging and I will attach a copy as it is rather verbose.

There are the 3 data sources in the Poller Cache, but the SNMP cache is empty.

No SNMP traffic is being generated from the cacti server.
Attachments
cacti.txt
(579.4 KiB) Downloaded 129 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please make sure that cacti is fully patched
Reinhard
cshepherd
Posts: 37
Joined: Thu Jan 05, 2006 10:21 pm
Location: Australia

Post by cshepherd »

:oops: Ahh, shocker. I should have done that first. Apologies for taking your time.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest