No graphs for SNMPv1 devices after CACTI upgrade

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

Moderators: Developers, Moderators

Post Reply
hardyk
Posts: 7
Joined: Wed Jan 14, 2009 3:15 am

No graphs for SNMPv1 devices after CACTI upgrade

Post by hardyk »

Hi All!

Does anybody have faced with trouble like mine?

I use CACTI 0.8.7.e on RHEL 2.1 AS Server. Since I've upraged to 0.8.7d (and then to 0.8.7.e) my graphs for SNMPv1 devices are blank (see attached image). I've had to use SNMPv2c, but a few devices (like APC Environment Sensor) supports only SNMPv1. So I'm unable to monitor temperature and humidity.

As I see, *.rrd files for unmonitored deviced updated each 5 minutes, however graphs shows "nan". Graph debug mode doesn't show any issues too.

Detailed technical info:

Cacti Version 0.8.7e
Cacti OS unix
SNMP Version UCD-snmp version: 4.2.5
RRDTool Version RRDTool 1.0.x
Hosts 92
Graphs 976

PHP Version 5.2.2

I'd provide any info requested.

I would very appreciate you help, guys!

Thank you in advance,
Pavel
Attachments
graph_image.php.png
graph_image.php.png (3.83 KiB) Viewed 2778 times
engeishi
Cacti User
Posts: 75
Joined: Sun Aug 23, 2009 12:03 pm
Location: Tokyo, Japan

Post by engeishi »

Have you already applied latest patch for 0.8.7e?
http://www.cacti.net/download_patches.php
hardyk
Posts: 7
Joined: Wed Jan 14, 2009 3:15 am

Post by hardyk »

engeishi wrote:Have you already applied latest patch for 0.8.7e?
http://www.cacti.net/download_patches.php
Hi engeishi!

Thank you for your reply!
Yes, I have already installed all patches installed.


Regards,
Pavel
hardyk
Posts: 7
Joined: Wed Jan 14, 2009 3:15 am

Post by hardyk »

I also have to add: there is a lot of WARNING: Result from SNMP not valid. Partial Result: U messages for "problem" hosts in my ...log/cacti.log

I've searched the forum but can't find a suitable explanation for my situation.


I'll very appreciate you time and help, guys!

Regards
engeishi
Cacti User
Posts: 75
Joined: Sun Aug 23, 2009 12:03 pm
Location: Tokyo, Japan

Post by engeishi »

Hmmm. It seems simple OID matter.
To clarify the problem, try following.

1) check data gathering using snmpget

Code: Select all

snmpget -c YOUR-COMMUNITY -v 1 TARGET-HOST .1.3.6.1.4.something
note: use exact OID set to Cacti.
I guess you will get some error message.

2) check data gathering using snmpwalk

Code: Select all

snmpwalk -c YOUR-COMMUNITY -v 1 TARGET-HOST .1.3.6.1.4.something
I guess you will get a value you expect.

3) compare the two OID from command output.

Maybe your Cacti was set wrong (partial) OID.
(Or upgrading Cacti might be a cause of the problem. I don't know why this was happen.)
hardyk
Posts: 7
Joined: Wed Jan 14, 2009 3:15 am

Post by hardyk »

Hi engeishi!

Thank you for your reply!

I've tryed to run both commands, snmpwalk and snmpget, with the same parameters. The results are equal!

Does something else that I have to check\test?

Regards
engeishi
Cacti User
Posts: 75
Joined: Sun Aug 23, 2009 12:03 pm
Location: Tokyo, Japan

Post by engeishi »

Please post your snmpwalk command and its result. (don't forget mask some secret infomation)
Also check the poller cache for the device/data source and what OID cacti uses.
hardyk
Posts: 7
Joined: Wed Jan 14, 2009 3:15 am

Post by hardyk »

Hi engeishi!

Here is my snmpwalk commands and results:

- humidity
snmpwalk -v1 hostname -c 'community' .1.3.6.1.4.1.318.1.1.2.1.2.0
enterprises.318.1.1.2.1.2.0 = Gauge32: 33

- temperature
snmpwalk -v1 hostname -c 'community' .1.3.6.1.4.1.318.1.1.2.1.1.0
enterprises.318.1.1.2.1.1.0 = Gauge32: 19

The same results I've got if I use snmpget instead of snmwalk command.

The same OIDs are set in CACTI APC Sensor template for humidity/temperature.

I haven't seen anything using System Utilities -> View Poller Cache. It's clean also when the poller is running. Is it Ok?

I also have checked System Utilities -> View SNMP Cache. But the list of hosts doesn't contain my "problem" host. That seems weird!

What next should be checked?


Thank you very much for your support!

Regards,
Pavel
engeishi
Cacti User
Posts: 75
Joined: Sun Aug 23, 2009 12:03 pm
Location: Tokyo, Japan

Post by engeishi »

1) Through the debugging process described below.
http://docs.cacti.net/manual:087:4_help ... #debugging
Note: you can skip first 2steps because it has already been finished.

2) Check the Data Source min, max value
"Templates" > "Data Templates" > SOME DATA SOURCE
check "Minimum Value" and "Maximum Value" of each "Data Source Item"
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest