Cannot monitor single OID of Solaris 9 machine

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

Moderators: Developers, Moderators

Post Reply
Sven67
Posts: 2
Joined: Thu Mar 02, 2006 6:39 am
Location: Germany

Cannot monitor single OID of Solaris 9 machine

Post by Sven67 »

Hi,

I'm trying to graph a single OID of a Solaris 9 machine running
the Sun SNMP agent.

My Cacti machine is a Fedora Core 4 box and well working so far:

[root@cacti log]# rpm -qa | grep cacti
cacti-0.8.6h-1
cacti-cactid-0.8.6g-1
[root@cacti log]# rpm -qa | grep mysql
mysql-4.1.16-1.FC4.1
mysql-server-4.1.16-1.FC4.1
php-mysql-5.0.4-10.5
[root@cacti log]# rpm -qa | grep httpd
httpd-2.0.54-10.3
[root@cacti log]# rpm -qa | grep snmp
net-snmp-5.2.1.2-fc4.1
net-snmp-utils-5.2.1.2-fc4.1
php-snmp-5.0.4-10.5
net-snmp-libs-5.2.1.2-fc4.1
[root@cacti log]# uname -a
Linux cacti 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 i686 i386 GNU/Linux
[root@cacti log]# cat /etc/redhat-release
Fedora Core release 4 (Stentz)

The OID i try to monitor can easily be fetched manually:

[root@cacti log]# snmpwalk -c public fw-internet. .1.3.6.1.4.1.2620.1.6.7.2.4 -v 1
SNMPv2-SMI::enterprises.2620.1.6.7.2.4.0 = INTEGER: 61

When cactid (or cacti.php, doesn't matter) tries to poll this value,
I only get

03/02/2006 12:35:03 PM - CACTID: Poller[0] Host[12] DS[397] WARNING: Result from SNMP not valid. Partial Result: ...

03/02/2006 12:33:10 PM - CACTID: Poller[0] Host[12] DS[397] SNMP: v1: fw-internet., dsname: snmp_oid, oid: .1.3.6.1.4.1.2620.1.6.7.2.4, value: U

So basically, cactid gets no value for the OID, while snmpwalk does.

Any ideas? Everthing else works well.

Thanks, Sven
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cannot monitor single OID of Solaris 9 machine

Post by gandalf »

Sven67 wrote: [root@cacti log]# snmpwalk -c public fw-internet. .1.3.6.1.4.1.2620.1.6.7.2.4 -v 1
SNMPv2-SMI::enterprises.2620.1.6.7.2.4.0 = INTEGER: 61
...
So basically, cactid gets no value for the OID, while snmpwalk does.

Any ideas? Everthing else works well.

Thanks, Sven
Sorry, but your conclusion is wrong. Your snmpwalk returned data for OID .1.3.6.1.4.1.2620.1.6.7.2.4.0 while you asked only for .1.3.6.1.4.1.2620.1.6.7.2.4. You should make cacti ask for .1.3.6.1.4.1.2620.1.6.7.2.4.0
Reinhard
Sven67
Posts: 2
Joined: Thu Mar 02, 2006 6:39 am
Location: Germany

Re: Cannot monitor single OID of Solaris 9 machine

Post by Sven67 »

:o :o :o

Oh my god, that was pretty painful.

Thanks, Sven
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest