1
0
-1

SNMPv3 is configured and working. The list is showing "Last Seen" by SNMP, but all that is "known" is the IP address of the device.  Any help is appreciated.

    CommentAdd your comment...

    3 answers

    1.  
      1
      0
      -1

      Jeff,

      Can you run this against each device and post the result please.

      Substitute your community string and IP. This will provide an OID (I ran this against a 3750 and got 1.3.6.1.4.1.9.1.516 which we map to "Cisco Catalyst 37xx Stack".

      You can see the matches in the file /open-audit/code_igniter/application/helpers/snmp_9_helper.php

      If your returned values (from the above SNMPGET) aren't in the file, that's why we're not returning a model.

      I would also try running discovery against a SINGLE device using debug to see exactly what's happening.

       

      1. Jeffery Blaha

        Here is what I found. Two of the devices that are showing "unknown" are 38xx switch stacks (which isn't in the PHP file) and one is a 30008TC (which is). Below are the results of your request. catalyst2955S12 1.3.6.1.4.1.9.1.508 ciscoIE30008TC 1.3.6.1.4.1.9.1.959 catalyst37xxStack 1.3.6.1.4.1.9.1.516 cat38xxstack 1.3.6.1.4.1.9.1.1745

      CommentAdd your comment...
    2.  
      1
      0
      -1

      Here is the information you requested.  I am trying to discover and add 5 or 6 main types of Cisco devices - WS-C3850-48T, WS-C3850-12S, WS-C3750X-48T-E, WS-C3750X-12S-E, WS-C3750X-24T-Eand IE-3000-8TC-E.  there is no OID at all on the Device Details page (pasted below).  I am only looking for hostname, model, serial number and IOS version, location, contact and uptime (see below from a script for pertinent OIDs).  Up interfaces would be nice, but not needed yet.  I am testing it on Windows for now and want to move it to Linux if I can get it working as I would like.  Any help is appreciated.

      Thanks - Jeff Blaha

      # These work for many Cisco switches
      hostname=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.1.5.0
      model=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.2.100
      version=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.10.1001
      serial=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.11.1001
      location=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.1.6.0
      contact=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.1.4.0

      1. Jeffery Blaha

        My apologies. I submitted the wrong OIDs. These are the ones that should work for what I need. 3850 model=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.2.1000 serial=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.11.1000 serial2=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.11.2000 version2=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.10.2000 model2=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.2.2000 serial3=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.11.3000 version3=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.10.3000 model3=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.2.3000 3750 serial2=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.11.2001 version2=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.10.2001 model2=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.2.2001 serial3=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.11.3001 version3=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.10.2001 model3=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.2.3001

      2. Jeffery Blaha

        Also - (sorry, copy and pasting issues - I'm sure you can see the pattern here. I only need a max of three) 3850 - version=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.10.1000 3750 - serial=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.11.1001 version=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.10.1001 model=`$SNMPGET $SNMPOPT .1.3.6.1.2.1.47.1.1.1.1.2.1001

      CommentAdd your comment...
    3.  
      1
      0
      -1

      Likely Open-AudIT doesn't have a matching OID. Can you please post the OID (from the device details page) and the model and type of the device? If so, I can add it in for our next release and provide the code for you to patch your install right now.

      You will have to use the old system_display page URL at the moment (if there's no link, substitue your device ID and server name URL below).

      http://<SERVER>/open-audit/index.php/main/system_display/<ID>

      Look for the below section.

       

       

        CommentAdd your comment...