I'm not sure if this actually is in the documentation, but Zenoss doesn't use MIBs in polling SNMP. It uses it for Traps... Unless I've misunderstood you, you want to do polling, in which case you'll want to . . . do something else. I'm not sure I've seen any info on changing modeling, in fact I've only seen creating Performance templates to OIDs. I know there is some way to do it as people have created Zenpacks for some of this, but I think it's pretty deep in the code changes. Or at least something I haven't done.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



dgarwood wrote:
Maybe this is my misunderstanding of how Zenoss works, but I've been trying to 
get two Cisco Catalyst 2960G's to map the OID for the hardware model to the 
actual model name.  I've been able to successfully load the MIBs for Cisco, and 
this is what I'm getting for the following output:

From Zenoss GUI, snmpwalk command:
----------------------------------------------
Command: snmpwalk -v1 -c${device/zSnmpCommunity} ${here/manageIp} system
Description:
Output:
==== mgtsw00-393-01 ====
snmpwalk -v1 -cpublic 10.10.151.6 system
SNMPv2-MIB::sysDescr.0 = STRING: Cisco IOS Software, C2960 Software 
(C2960-LANBASE-M), Version 12.2(35)SE5, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Thu 19-Jul-07 20:06 by nachen

SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.9.1.696    
<------doesn't resolve this MIB completely

DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (796306903) 92 days, 3:57:49.03
SNMPv2-MIB::sysContact.0 = STRING:
SNMPv2-MIB::sysName.0 = STRING: mgtsw00-393-01
SNMPv2-MIB::sysLocation.0 = STRING:
SNMPv2-MIB::sysServices.0 = INTEGER: 2
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (0) 0:00:00.00
DONE in 0 seconds on 1 targets ----------------------------------------------

Output from snmptranslate:
----------------------------------------------
[EMAIL PROTECTED] mibs]$ snmptranslate .1.3.6.1.4.1.9.1.696
SNMPv2-SMI::enterprises.9.1.696
[EMAIL PROTECTED] mibs]$ snmptranslate -m 
/usr/local/zenoss/zenoss/share/mibs/ietf/SNMPv2-SMI:/usr/local/zenoss/zenoss/share/mibs/site/CISCO/CISCO-SMI.mib:/usr/local/zenoss/zenoss/share/mibs/site/CISCO/CISCO-PRODUCTS-MIB.mib
 .1.3.6.1.4.1.9.1.696
CISCO-PRODUCTS-MIB::catalyst2960G24
[EMAIL PROTECTED] mibs]$
----------------------------------------------

My question is, is there something I'm missing (like exporting the SMIPATH) 
that will make snmptranslate work correctly, or does Zenoss resolve OID's from 
a different method/interface?  If the later, what do I need to change to get 
the modeler to resolve this OID correctly?

Haven't been able to find a solution in the other posts in the last several 
days of searching.




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=23788#23788

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to