[Nagiosplug-devel] problem with name ethernet interface - check_snmp_int

Patrick Proy nagios at proy.org
Mon Mar 6 11:12:07 CET 2006


Hi,

It is an UTF8 problem, I have corrected it in check_snmp_storage, but I never thought it would happen in check_snmp_int !!

Add at line 298 :
 
$session->translate(Net::SNMP->TRANSLATE_NONE);


Patrick
http://www.manubulon.com/nagios/
http://sourceforge.net/projects/nagios-snmp/

 

-----Message d'origine-----
De : nagiosplug-devel-admin at lists.sourceforge.net [mailto:nagiosplug-devel-admin at lists.sourceforge.net] De la part de Michal Panasiewicz
Envoyé : lundi 6 mars 2006 12:14
À : nagiosplug-devel at lists.sourceforge.net
Objet : [Nagiosplug-devel] problem with name ethernet interface - check_snmp_int

host 192.168.0.53 = Windows XP

[root at kuf-serwer ~]#  LC_ALL=C LANG=C snmpwalk -c secret -v2c
192.168.0.53 1.3.6.1.2.1.2.2.1.2.2
IF-MIB::ifDescr.2 = STRING: Karta PCI Fast Ethernet oparta na SiS 900 -
Sterownik miniport Harmonogramu pakiet
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

[root at kuf-serwer ~]# LC_ALL=C
LANG=C /usr/lib/nagios/plugins/check_snmp_int -H 192.168.0.53 -C secret
-n z -v
Alarm at 15 + 5
Filter : z
OID : 1.3.6.1.2.1.2.2.1.2.2, Desc :
0x4b617274612050434920466173742045746865726e6574206f7061727461206e612053695320393030202d20537465726f776e696b206d696e69706f7274204861726d6f6e6f6772616d752070616b696574f37700
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
OID : 1.3.6.1.2.1.2.2.1.2.1, Desc : MS TCP Loopback interface
ERROR : Unknown interface z

-- 
Michał Panasiewicz
jabber: wolvverine [ at ] chrome [ dot ] pl 
e-mail: wolvverine [ at ] tlen [ dot ] pl , wolvverine [ at ] pld-linux [ dot ] org
Potrzebujesz Informatyka/Administratora (Warszawa) -skontaktuj sie ze mną



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Devel mailing list