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.
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 18.104.22.168.22.214.171.124.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.
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 126.96.36.199.188.8.131.52.508 ciscoIE30008TC 184.108.40.206.220.127.116.11.959 catalyst37xxStack 18.104.22.168.22.214.171.124.516 cat38xxstack 126.96.36.199.188.8.131.52.1745
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 .184.108.40.206.220.127.116.11.0
model=`$SNMPGET $SNMPOPT .18.104.22.168.22.214.171.124.126.96.36.199.100
version=`$SNMPGET $SNMPOPT .188.8.131.52.184.108.40.206.220.127.116.11.1001
serial=`$SNMPGET $SNMPOPT .18.104.22.168.22.214.171.124.126.96.36.199.1001
location=`$SNMPGET $SNMPOPT .188.8.131.52.184.108.40.206.0
contact=`$SNMPGET $SNMPOPT .220.127.116.11.18.104.22.168.0
My apologies. I submitted the wrong OIDs. These are the ones that should work for what I need. 3850 model=`$SNMPGET $SNMPOPT .22.214.171.124.126.96.36.199.188.8.131.52.1000 serial=`$SNMPGET $SNMPOPT .184.108.40.206.220.127.116.11.18.104.22.168.1000 serial2=`$SNMPGET $SNMPOPT .22.214.171.124.126.96.36.199.188.8.131.52.2000 version2=`$SNMPGET $SNMPOPT .184.108.40.206.220.127.116.11.18.104.22.168.2000 model2=`$SNMPGET $SNMPOPT .22.214.171.124.126.96.36.199.188.8.131.52.2000 serial3=`$SNMPGET $SNMPOPT .184.108.40.206.220.127.116.11.18.104.22.168.3000 version3=`$SNMPGET $SNMPOPT .22.214.171.124.126.96.36.199.188.8.131.52.3000 model3=`$SNMPGET $SNMPOPT .184.108.40.206.220.127.116.11.18.104.22.168.3000 3750 serial2=`$SNMPGET $SNMPOPT .22.214.171.124.126.96.36.199.188.8.131.52.2001 version2=`$SNMPGET $SNMPOPT .184.108.40.206.220.127.116.11.18.104.22.168.2001 model2=`$SNMPGET $SNMPOPT .22.214.171.124.126.96.36.199.188.8.131.52.2001 serial3=`$SNMPGET $SNMPOPT .184.108.40.206.220.127.116.11.18.104.22.168.3001 version3=`$SNMPGET $SNMPOPT .22.214.171.124.126.96.36.199.188.8.131.52.2001 model3=`$SNMPGET $SNMPOPT .184.108.40.206.220.127.116.11.18.104.22.168.3001
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 .22.214.171.124.126.96.36.199.188.8.131.52.1000 3750 - serial=`$SNMPGET $SNMPOPT .184.108.40.206.220.127.116.11.18.104.22.168.1001 version=`$SNMPGET $SNMPOPT .22.214.171.124.126.96.36.199.188.8.131.52.1001 model=`$SNMPGET $SNMPOPT .184.108.40.206.220.127.116.11.18.104.22.168.1001
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).
Look for the below section.