Process check snmp error

Mark Frasa lists at frasa.net
Sat Nov 24 07:45:09 CET 2007


Hello Again,

Perhaps this has something to do with the following (source:
http://www.apps.ietf.org/rfc/rfc2089.html#sec-A.1)

2.5 Mapping SNMPv2 SMI into SNMPv1
The SNMPv2 SMI (RFC1902 [2]) defines basically one new syntax that is
problematic for SNMPv1 managers. That is the syntax Counter64. All the
others can be handled by SNMPv1 managers. 
The net impact on bi-lingual agents is that they should make sure that they
never return a varBind with a Counter64 value to an SNMPv1 manager. 
The best accepted practice is to consider such object instances implicitly
excluded from the view. So: 
. On an SNMPv1 GET request, we return an error-status of noSuchName and the
error-index is set to the varBind that causes this error.

When I use check_snmp_process.pl -2 it seems not to happen.

Can anybody confirm this?

Cheers,
Mark


________________________________________
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark Frasa
Sent: zaterdag 24 november 2007 1:13
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] Process check snmp error

Hello,

We use nagios to check some processes on remote boxes (LAN).
Every once in a while I get errors like these:

ERROR: running table : Received noSuchName(2) error-status at error-index
50.

And the next check:
1 process matching nagios (0)

I have googled for this error as well but could not find anything related to
this, and it seems like the error-index is not always the same.
There are some hints on that the community name is wrong or not RW, but
that's simply not the case, since after a few minutes I get an OK back.

I am using check_snmp_process.pl version: 1.4 Though I have tried version
1.10 from http://nagios.manubulon.com/snmp_process.html it seems to have the
same errors, so I think its not related to the check itself.
The OS on the box is Debian.

I caught a error with the -v option, so we can see whats going on: 
0 0 0 0
Alarm at 15
Filter : nagios2
OID : 1.3.6.1.2.1.25.4.2.1.2.1719, Desc : getty OID :
1.3.6.1.2.1.25.4.2.1.2.170, Desc : ata/2 OID : 1.3.6.1.2.1.25.4.2.1.2.1667,
Desc : cron OID : 1.3.6.1.2.1.25.4.2.1.2.1299, Desc : kjournald OID :
1.3.6.1.2.1.25.4.2.1.2.1488, Desc : klogd OID : 1.3.6.1.2.1.25.4.2.1.2.1482,
Desc : syslogd OID : 1.3.6.1.2.1.25.4.2.1.2.173, Desc : ksuspend_usbd OID :
1.3.6.1.2.1.25.4.2.1.2.21780, Desc : apache2 OID :
1.3.6.1.2.1.25.4.2.1.2.2012, Desc : nagios2
1.3.6.1.2.1.25.4.2.1.7.2012
OID : 1.3.6.1.2.1.25.4.2.1.2.14, Desc : khelper OID :
1.3.6.1.2.1.25.4.2.1.2.1257, Desc : kmirrord OID :
1.3.6.1.2.1.25.4.2.1.2.26136, Desc : nagios2
1.3.6.1.2.1.25.4.2.1.7.26136
OID : 1.3.6.1.2.1.25.4.2.1.2.21618, Desc : apache2 OID :
1.3.6.1.2.1.25.4.2.1.2.21805, Desc : apache2 OID :
1.3.6.1.2.1.25.4.2.1.2.1534, Desc : sshd OID : 1.3.6.1.2.1.25.4.2.1.2.1295,
Desc : kjournald OID : 1.3.6.1.2.1.25.4.2.1.2.12, Desc : events/2 OID :
1.3.6.1.2.1.25.4.2.1.2.28347, Desc : apache2 OID :
1.3.6.1.2.1.25.4.2.1.2.15818, Desc : ntpd OID : 1.3.6.1.2.1.25.4.2.1.2.1052,
Desc : kjournald OID : 1.3.6.1.2.1.25.4.2.1.2.28343, Desc : apache2 OID :
1.3.6.1.2.1.25.4.2.1.2.18072, Desc : tail OID : 1.3.6.1.2.1.25.4.2.1.2.1293,
Desc : kjournald OID : 1.3.6.1.2.1.25.4.2.1.2.226, Desc : aio/2 OID :
1.3.6.1.2.1.25.4.2.1.2.10, Desc : events/0 OID :
1.3.6.1.2.1.25.4.2.1.2.1718, Desc : getty OID : 1.3.6.1.2.1.25.4.2.1.2.225,
Desc : aio/1 OID : 1.3.6.1.2.1.25.4.2.1.2.1894, Desc : tail OID :
1.3.6.1.2.1.25.4.2.1.2.11, Desc : events/1 OID : 1.3.6.1.2.1.25.4.2.1.2.8,
Desc : migration/3 OID : 1.3.6.1.2.1.25.4.2.1.2.1699, Desc : nrpe OID :
1.3.6.1.2.1.25.4.2.1.2.178, Desc : kseriod OID :
1.3.6.1.2.1.25.4.2.1.2.1297, Desc : kjournald OID :
1.3.6.1.2.1.25.4.2.1.2.15, Desc : kthread OID : 1.3.6.1.2.1.25.4.2.1.2.222,
Desc : pdflush OID : 1.3.6.1.2.1.25.4.2.1.2.1383, Desc : portmap OID :
1.3.6.1.2.1.25.4.2.1.2.65, Desc : kblockd/3 OID :
1.3.6.1.2.1.25.4.2.1.2.26135, Desc : nagios2
1.3.6.1.2.1.25.4.2.1.7.26135
OID : 1.3.6.1.2.1.25.4.2.1.2.1720, Desc : getty OID :
1.3.6.1.2.1.25.4.2.1.2.221, Desc : pdflush OID :
1.3.6.1.2.1.25.4.2.1.2.1265, Desc : ksnapd OID :
1.3.6.1.2.1.25.4.2.1.2.1600, Desc : rpc.idmapd OID :
1.3.6.1.2.1.25.4.2.1.2.1569, Desc : rpc.statd OID :
1.3.6.1.2.1.25.4.2.1.2.7, Desc : ksoftirqd/2 OID :
1.3.6.1.2.1.25.4.2.1.2.999, Desc : scsi_eh_0 OID :
1.3.6.1.2.1.25.4.2.1.2.62, Desc : kblockd/0 OID : 1.3.6.1.2.1.25.4.2.1.2.66,
Desc : kacpid OID : 1.3.6.1.2.1.25.4.2.1.2.63, Desc : kblockd/1 OID :
1.3.6.1.2.1.25.4.2.1.2.21864, Desc : apache2 OID : 1.3.6.1.2.1.25.4.2.1.2.2,
Desc : migration/0 OID : 1.3.6.1.2.1.25.4.2.1.2.27892, Desc : named OID :
1.3.6.1.2.1.25.4.2.1.2.224, Desc : aio/0 OID : 1.3.6.1.2.1.25.4.2.1.2.176,
Desc : khubd OID : 1.3.6.1.2.1.25.4.2.1.2.5, Desc : ksoftirqd/1 OID :
1.3.6.1.2.1.25.4.2.1.2.17422, Desc : apache2 OID : 1.3.6.1.2.1.25.4.2.1.2.3,
Desc : ksoftirqd/0 OID : 1.3.6.1.2.1.25.4.2.1.2.9, Desc : ksoftirqd/3 OID :
1.3.6.1.2.1.25.4.2.1.2.24581, Desc : tail OID : 1.3.6.1.2.1.25.4.2.1.2.168,
Desc : ata/0 OID : 1.3.6.1.2.1.25.4.2.1.2.6, Desc : migration/2 OID :
1.3.6.1.2.1.25.4.2.1.2.1, Desc : init OID : 1.3.6.1.2.1.25.4.2.1.2.21699,
Desc : apache2 OID : 1.3.6.1.2.1.25.4.2.1.2.2312, Desc : apache2 OID :
1.3.6.1.2.1.25.4.2.1.2.13, Desc : events/3 OID :
1.3.6.1.2.1.25.4.2.1.2.21613, Desc : apache2 OID :
1.3.6.1.2.1.25.4.2.1.2.1721, Desc : getty OID : 1.3.6.1.2.1.25.4.2.1.2.227,
Desc : aio/3 OID : 1.3.6.1.2.1.25.4.2.1.2.28765, Desc : tail OID :
1.3.6.1.2.1.25.4.2.1.2.64, Desc : kblockd/2 OID :
1.3.6.1.2.1.25.4.2.1.2.928, Desc : kirqd OID : 1.3.6.1.2.1.25.4.2.1.2.21881,
Desc : apache2 OID : 1.3.6.1.2.1.25.4.2.1.2.172, Desc : ata_aux OID :
1.3.6.1.2.1.25.4.2.1.2.169, Desc : ata/1 OID : 1.3.6.1.2.1.25.4.2.1.2.4,
Desc : migration/1 OID : 1.3.6.1.2.1.25.4.2.1.2.171, Desc : ata/3 OID :
1.3.6.1.2.1.25.4.2.1.2.223, Desc : kswapd0 OID :
1.3.6.1.2.1.25.4.2.1.2.3299, Desc : exim4 OID : 1.3.6.1.2.1.25.4.2.1.2.1722,
Desc : getty OID : 1.3.6.1.2.1.25.4.2.1.2.6191, Desc : getty OID :
1.3.6.1.2.1.25.4.2.1.2.3019, Desc : snmpd
ERROR: running table : Received noSuchName(2) error-status at error-index 6.

Can anyone tell me why this is giving a error?


Thanks in advance,
Mark.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list