No graphs for SNMPv1 devices after CACTI upgrade
Moderators: Developers, Moderators
No graphs for SNMPv1 devices after CACTI upgrade
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
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 (3.83 KiB) Viewed 2781 times
Have you already applied latest patch for 0.8.7e?
http://www.cacti.net/download_patches.php
http://www.cacti.net/download_patches.php
Hi engeishi!engeishi wrote:Have you already applied latest patch for 0.8.7e?
http://www.cacti.net/download_patches.php
Thank you for your reply!
Yes, I have already installed all patches installed.
Regards,
Pavel
Hmmm. It seems simple OID matter.
To clarify the problem, try following.
1) check data gathering using snmpget
note: use exact OID set to Cacti.
I guess you will get some error message.
2) check data gathering using snmpwalk
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.)
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
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
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.)
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
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
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
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
check "Minimum Value" and "Maximum Value" of each "Data Source Item""Templates" > "Data Templates" > SOME DATA SOURCE
Who is online
Users browsing this forum: No registered users and 1 guest