Ad Widget

Collapse

Creating a template for CISCO WS-C3750G-24T

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clubbing80s
    Senior Member
    • Sep 2005
    • 109

    #1

    Creating a template for CISCO WS-C3750G-24T

    Hi.
    I'm trying to create a template for a CISCO WS-C3750G-24T. I have used snmpwalk to write the mibs to text file. Then I used zload script to create the xml template.

    The problem is that there are over 2000 items obviously I don't want to monitor that many items. How do I get it narrowed down the the realistic list.

    btw I don't do much work with snmp. So not sure if what I'm doing is correct..

    I run :
    snmpwalk -c public -v 1 192.168.64.239 -Of > cisco_Catalyst_3750.txt

    then:

    zload.pl -v 2 -x -m ALL public Template_Cisco_3750 ./cisco_Catalyst_3750.txt > cisco_Catalyst_3750.xml

    I have tried removing the "-m ALL" and still get the same number ..

    How do I refine this ?

    I want genral information about the switch , hostname, uptime, etc .
    port status 10/100/1000 full/half/auto
    and traffic per-port.

    Thanks
  • clubbing80s
    Senior Member
    • Sep 2005
    • 109

    #2
    Resolved.

    the key is in the OID .1.3.6.1.2.1.2.2.1 this filters one can be more specific if one wants , see zabbix manual http://www.zabbix.com/documentation/.../advanced_snmp . this chapter on snmp lists some of the OID groups.. very handy .

    ./snmp-template-builder2.pl -v 2c -x -m ALL public Template_Cisco_2950 192.168.XX.XX .1.3.6.1.2.1.2.2.1 > Template_Cisco_2950.xml

    hope this helps.

    Comment

    Working...