Hi, all
I am trying to get temperature data from Atal sensors. They only support SNMP version 3.
I can manually walk the MIB, using the AKCP OIDs, for which maxper created the xml. ( http://forums.cacti.net/viewtopic.php?t ... light=AKCP ). I use the standard ucd net-snmp.
When I query the data from the sensors using Cacti I get an SNMP error, and sniffering the traffic when I do a verbose query shows no SNMP polling traffic, all other SNMP traffic shows up.
It looks like nothing is happening at all during the query.
Cacti version is 0.8.7b, on Sun Solaris 10.
Hope somebody can help!
Regards,
Peter.
Problems with SNMP V3
Moderators: Developers, Moderators
-
- Posts: 3
- Joined: Wed May 26, 2010 9:18 am
- Location: Netherlands
Sounds like the snmp agent isnt configured properly or a firewall is blocking traffic.
http://docs.cacti.net/manual:088:4_help.2_debugging
http://docs.cacti.net/manual:088:4_help.2_debugging
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 3
- Joined: Wed May 26, 2010 9:18 am
- Location: Netherlands
Thanks for your response.
Due to the fact the initial discovery does not return any values, no rrd's are created. This limits the troubleshooting I can do. When I run the poller manually (Modified for full path: The guys I inherited this install from were unix geeks I guess, I'm just a network admin) I get this returned:
/opt/csw/php5/bin/php -q /opt/cacti-0.8.7b/cmd.php 185 185
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/csw/php5/lib/php/extensions/no-debug-non-zts-20060613/mcrypt.so' - ld.so.1: php: fatal: libltdl.so.3: open failed: No such file or directory in Unknown on line 0
There are no firewalls in this network path, also a manual SNMPget or walk works perfectly fine.
If I run this command for any other device I get the same, plus loads of "mib not found errors", but these devices do graph.
I am also a bit wary of playing around with this production machine, for fear of breaking it, which is also why I haven't upgraded it yet: I hear it has been a bit of a pain to set it up on Solaris. I don't have a test/development environment atm.
Kind regards,
Peter.
Due to the fact the initial discovery does not return any values, no rrd's are created. This limits the troubleshooting I can do. When I run the poller manually (Modified for full path: The guys I inherited this install from were unix geeks I guess, I'm just a network admin) I get this returned:
/opt/csw/php5/bin/php -q /opt/cacti-0.8.7b/cmd.php 185 185
PHP Warning: PHP Startup: Unable to load dynamic library '/opt/csw/php5/lib/php/extensions/no-debug-non-zts-20060613/mcrypt.so' - ld.so.1: php: fatal: libltdl.so.3: open failed: No such file or directory in Unknown on line 0
There are no firewalls in this network path, also a manual SNMPget or walk works perfectly fine.
If I run this command for any other device I get the same, plus loads of "mib not found errors", but these devices do graph.
I am also a bit wary of playing around with this production machine, for fear of breaking it, which is also why I haven't upgraded it yet: I hear it has been a bit of a pain to set it up on Solaris. I don't have a test/development environment atm.
Kind regards,
Peter.
-
- Posts: 3
- Joined: Wed May 26, 2010 9:18 am
- Location: Netherlands
Hi, Gandalf,
the library is not actually missing, but can't be loaded:
/opt/csw/php5/lib/php/extensions/no-debug-non-zts-20060613
cacti@emn-netmgt-01$ ls
gd.so mcrypt.so mysql.so mysqli.so session.so
Permissions:
ls -al mcrypt.so
-rwxr-xr-x 1 root bin 41512 Oct 26 2007 mcrypt.so
so the cactiuser should be able to load it, right?
I'm afraid the OID is not accepted as the index somehow, but I'm not sure how that section in the XML works. The index OID is .1.3.6.1.4.1.3854.1.2.2.1.16.1.1
I can walk that OK:
cacti@emn-netmgt-01$ snmpwalk -v 3 -u user 172.20.50.37 .1.3.6.1.4.1.3854.1.2.2.1.16.1.1
Cannot find module (IP-MIB): At line 0 in (none)
'snip' <-- another lot of unavailable MIB files
Cannot find module (SNMPv2-TM): At line 0 in (none)
iso.3.6.1.4.1.3854.1.2.2.1.16.1.1.0 = STRING: "Emn-E20"
'snip' <-- The other six sensors
iso.3.6.1.4.1.3854.1.2.2.1.16.1.1.7 = STRING: "Temperature Port 8"
This is the OID for the sensor name btw.
Regards,
Peter.
the library is not actually missing, but can't be loaded:
/opt/csw/php5/lib/php/extensions/no-debug-non-zts-20060613
cacti@emn-netmgt-01$ ls
gd.so mcrypt.so mysql.so mysqli.so session.so
Permissions:
ls -al mcrypt.so
-rwxr-xr-x 1 root bin 41512 Oct 26 2007 mcrypt.so
so the cactiuser should be able to load it, right?
I'm afraid the OID is not accepted as the index somehow, but I'm not sure how that section in the XML works. The index OID is .1.3.6.1.4.1.3854.1.2.2.1.16.1.1
I can walk that OK:
cacti@emn-netmgt-01$ snmpwalk -v 3 -u user 172.20.50.37 .1.3.6.1.4.1.3854.1.2.2.1.16.1.1
Cannot find module (IP-MIB): At line 0 in (none)
'snip' <-- another lot of unavailable MIB files
Cannot find module (SNMPv2-TM): At line 0 in (none)
iso.3.6.1.4.1.3854.1.2.2.1.16.1.1.0 = STRING: "Emn-E20"
'snip' <-- The other six sensors
iso.3.6.1.4.1.3854.1.2.2.1.16.1.1.7 = STRING: "Temperature Port 8"
This is the OID for the sensor name btw.
Regards,
Peter.
Who is online
Users browsing this forum: No registered users and 7 guests