Discussion:
mib file incorrect loading
Sy2173
2011-11-03 14:01:56 UTC
Permalink
Sy2173 [http://community.zenoss.org/people/Sy2173] created the discussion

"mib file incorrect loading"

To view the discussion, visit: http://community.zenoss.org/message/62402#62402

--------------------------------------------------------------
Hello all!
After I loaded powernet403.mib I see full list of traps but...
in Zenoss:
| apcTestTrap (http://snmpru.ru.int.hansa.ee:8080/zport/dmd/Mibs/mibs/PowerNet-MIB/notifications/apcTestTrap) | 1.3.6.1.4.1.318.0.636 |
in original:
| apcTestTrap (http://snmpru.ru.int.hansa.ee:8080/zport/dmd/Mibs/mibs/PowerNet-MIB/notifications/apcTestTrap) | 1.3.6.1.4.1.318.636 |

in Zenoss:
| temperatureThresholdViolation1 (http://snmpru.ru.int.hansa.ee:8080/zport/dmd/Mibs/mibs/PowerNet-MIB/notifications/temperatureThresholdViolation1) | 1.3.6.1.4.1.318.0.59 |
in original:
| temperatureThresholdViolation1 (http://snmpru.ru.int.hansa.ee:8080/zport/dmd/Mibs/mibs/PowerNet-MIB/notifications/temperatureThresholdViolation1) | 1.3.6.1.4.1.318.59 |

and all other the same.
Why Zenoss loads file with "0" after .318?

My version:
| Zenoss (http://www.zenoss.com/) | Zenoss 3.2.1 |
| OS (http://www.tldp.org/) | Linux (i686) 2.6.18 (Linux xxxxxxxxx 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:53:09 EST 2011 i686) |
| Zope (http://www.zope.org/) | Zope 2.12.1 |
| Python (http://www.python.org/) | Python 2.6.2 |
| Database (http://www.mysql.com/) | MySQL 5.0.77 (Ver 5.0.77) |
| RRD (http://oss.oetiker.ch/rrdtool) | RRDtool 1.3.9 |
| Twisted | Twisted 8.1.0 |
| NetSnmp (http://net-snmp.sourceforge.net/) | NetSnmp 5.3.2 |
| PyNetSnmp (http://www.zenoss.com/) | PyNetSnmp 0.29.13 |
| WMI (http://www.zenoss.com/) | Wmi 1.3.13 |
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62402#62402]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jcurry
2011-11-04 12:03:36 UTC
Permalink
jcurry [http://community.zenoss.org/people/jcurry] created the discussion

"Re: mib file incorrect loading"

To view the discussion, visit: http://community.zenoss.org/message/62412#62412

--------------------------------------------------------------
Zenoss has varied over the years as to the MIB support with regard to this 0 between the enterprise part of the MIB and the rest of the OID.  Trouble is that some agents do this extra 0 and some don't.

The good news is that the Zenoss code that processes incoming traps, $ZENHOME/ZenEvents/zentrap.py (around line 461 in Zenoss 3.1 code) checks an incoming trap both with and without the .0.  If it cannot match the incoming trap with the ,0 then it will try without.

Bottom line - Zenoss can usually decode traps whichever policy an agent uses.

Cheers,
Jane
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62412#62412]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Sy2173
2011-11-07 06:38:57 UTC
Permalink
Sy2173 [http://community.zenoss.org/people/Sy2173] created the discussion

"Re: mib file incorrect loading"

To view the discussion, visit: http://community.zenoss.org/message/62448#62448

--------------------------------------------------------------
Thank you for answer.
But why my Zenoss not understand the OIDs.
For example - I send test trap from APC PDU. Generated trap is 1.3.6.1.4.1.318.636.
In MIBs i have OID
| apcTestTrap (http://snmpru.ru.int.hansa.ee:8080/zport/dmd/Mibs/mibs/PowerNet-MIB/notifications/apcTestTrap) | 1.3.6.1.4.1.318.0.636 |
But in events I see:
|
| message | snmp trap apc.636 |
| monitor | localhost |
| ntevid | 0 |
| ownerid |
|
| priority | -1 |
| prodState | 1000 |
| severity | 3 |
| stateChange | 2011/11/07 09:29:10.000 |
| summary | snmp trap apc.636 |
| suppid |
|
| Systems | | |
|
|
Event Details |
|
| community | public |
| oid | 1.3.6.1.4.1.318.636 |
| snmpModules | (1, 3, 6, 1, 4, 1, 318, 0, 636) |
| snmpModules.1.1.4.1.0 | (1, 3, 6, 1, 4, 1, 318, 0, 636) |
| sysUpTimeInstance | 42223390 |
|
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/62448#62448]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...