Articles tagged with snmp

  1. SNMP Traps into MySQL is Sublime

    Posted on in System Administration

    I use snmptrapd to catch SNMP traps and then put them into a MySQL database using a pretty generic trap handler. This gives me the opportunity to generate such useful information as:

    > SELECT HOUR(time) AS "hour", COUNT(*) AS "bounces" FROM snmptraps
        WHERE hostname = 'XXX' AND time > '2011-07-25'
            AND trap_oid …
  2. Setting Up SNMPv3 In Cisco IOS

    Posted on in Networking

    In the following example, I'm going to set up a Simple Network Management Protocol version 3 (SNMPv3) user on a Cisco router with limited view of the system MIB.

    • Create an SNMP view that limits the user to the system MIB.

      ROUTER(config)# snmp-server view SYSTEM system included
      
    • Create an …

  3. Cisco Catalyst 12.2(46)SE May Break SNMP ifIndexes

    Posted on in Networking

    This week I tried upgrading a Cisco Catalyst 2960 to the newest software release — 12.2(46)SE. The upgrade went just fine, but I noticed that the monitoring software was throwing SNMP errors.

    In case you don't know much about SNMP, an ifIndex identifies a specific interface on a …

  4. SNMP Community String Indexing

    Posted on in Networking

    Surprised? Confused?Today I was browsing through the Cisco NetPro Forums and came across someone that needed to track down which switch port a <acronym title="Media Access Control">MAC</acronym> address had been dynamically learned on.

    I'd seen this sort of thing before in the Bridge MIB, so I assumed it …

  5. Basic Cisco SNMP Security (v1/v2)

    Posted on in Networking

    Padlock with KeysIf you are at all familiar with <acronym title="Simple Network Management Protocol">SNMP</acronym>, you've probably heard of "community strings". Community strings are similar to passwords. They define and grant access to a device's <acronym title="Management Information Base">MIB</acronym>. If you've used SNMP in conjuction with a …

Slaptijack's Koding Kraken