Home > Uncategorized > Black magic

Black magic

If anyone out there in internets-land knows how to set up SNMP (pref on BSD but it doesn’t matter. I can adapt), let me know. SNMP is pretty strong voodoo and I’d like to get to know it better. Mostly for my own purposes, but we use it at work too. I’m going at it typical trial-by-fire style as typical for me… But a few pointers make it much faster. So yeah, if you have any mote of SNMP knowledge, lemme know.

UPDATE: Ok, apparently my mojo is stronger than I though. Success behind the cut.

[root@IggBSD ~]# snmpwalk -v 1 -c public localhost
SNMPv2-MIB::sysDescr.0 = STRING: FreeBSD IggBSD.iggdawg.com 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Wed May 16 09:06:06 EDT 2007 iggdawg@IggBSD.iggdawg.com:/usr/obj/usr/src/sys/GENERIC62 i386
SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.8
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (43492) 0:07:14.92
SNMPv2-MIB::sysContact.0 = STRING: root@IggBSD
SNMPv2-MIB::sysName.0 = STRING: IggBSD.iggdawg.com
SNMPv2-MIB::sysLocation.0 = STRING: Iggland
SNMPv2-MIB::sysServices.0 = INTEGER: 73
SNMPv2-MIB::sysORLastChange.0 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORID.1 = OID: SNMPv2-MIB::snmpMIB
SNMPv2-MIB::sysORID.2 = OID: TCP-MIB::tcpMIB
SNMPv2-MIB::sysORID.3 = OID: IP-MIB::ip
SNMPv2-MIB::sysORID.4 = OID: UDP-MIB::udpMIB
SNMPv2-MIB::sysORID.5 = OID: SNMP-VIEW-BASED-ACM-MIB::vacmBasicGroup
SNMPv2-MIB::sysORID.6 = OID: SNMP-FRAMEWORK-MIB::snmpFrameworkMIBCompliance
SNMPv2-MIB::sysORID.7 = OID: SNMP-MPD-MIB::snmpMPDCompliance
SNMPv2-MIB::sysORID.8 = OID: SNMP-USER-BASED-SM-MIB::usmMIBCompliance
SNMPv2-MIB::sysORID.9 = OID: IF-MIB::ifMIB
SNMPv2-MIB::sysORDescr.1 = STRING: The MIB module for SNMPv2 entities
SNMPv2-MIB::sysORDescr.2 = STRING: The MIB module for managing TCP implementations
SNMPv2-MIB::sysORDescr.3 = STRING: The MIB module for managing IP and ICMP implementations
SNMPv2-MIB::sysORDescr.4 = STRING: The MIB module for managing UDP implementations
SNMPv2-MIB::sysORDescr.5 = STRING: View-based Access Control Model for SNMP.
SNMPv2-MIB::sysORDescr.6 = STRING: The SNMP Management Architecture MIB.
SNMPv2-MIB::sysORDescr.7 = STRING: The MIB for Message Processing and Dispatching.
SNMPv2-MIB::sysORDescr.8 = STRING: The management information definitions for the SNMP User-based Security Model.
SNMPv2-MIB::sysORDescr.9 = STRING: The MIB module to describe generic objects for network interface sub-layers
SNMPv2-MIB::sysORUpTime.1 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.2 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.3 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.4 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.5 = Timeticks: (0) 0:00:00.00
SNMPv2-MIB::sysORUpTime.6 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.7 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.8 = Timeticks: (1) 0:00:00.01
SNMPv2-MIB::sysORUpTime.9 = Timeticks: (1) 0:00:00.01
End of MIB

While that may look mostly like gibberish, I assure you it’s mostly gibberish. The main output of SNMP is gibberish. Sorry for all this nerdspeak, but whatevs. Your’re here voulentarily =P

Categories: Uncategorized Tags:
  1. June 2nd, 2007 at 23:10 | #1

    Men in Black? You’re listening to nazi musicks.

    • June 3rd, 2007 at 17:17 | #2

      Kraftwerk is good lovin =P. and I was nerding out yesterday. There is no techno more nerdy than kraftwerk.

  1. No trackbacks yet.