You are here

Cisco Throughput UNKNOWN Results

5 posts / 0 new
Last post
waydms1059
waydms1059's picture
Cisco Throughput UNKNOWN Results

Hey everyone,

Alright so second post on the forum, woo!

Let's see...I have received a wonderful UNKNOWN for my first Host in Opsview :D
Not a great start.

I've applied the "Network - Cisco" template to our 1941 at the administrative office and all I ever receive for the Throughput section is an UNKNOWN and the following status statement...

UNKNOWN - The interface specified could not be found on this device!

Searching around for this error has led me to make some minor changes to the service check for Throughput to the following...
check_snmp_cisco_bits_sec -H $HOSTADDRESS$ -C $SNMP_COMMUNITY$ -i $INTERFACE$ -w 75 -c 90 -d 75 -x 90

Essentially just added the "-i $INTERFACE$ -w 75 -c 90 -d 75 -x 90".

Polling three interfaces,
2 GigabitEthernet
1 Serial

Mainly I want this to monitor bandwidth/burden on the links since I believe Opsview is trying to turn away from MRTG if I am correct.

I have already placed my SNMP, tested the connection, and queried the interface multiple times and removed/re-added the host.

Let me know if you require any text/logs and I will post them ASAP
 

Thank you for your time and efforts!

matthew.kelley
matthew.kelley's picture
Re: Cisco Throughput UNKNOWN Results

Interface is an attribute rather than a macro so it needs to be enclosed in '%' rather than '$'

I hope this helps.

 

Best,

Matt

bellis
bellis's picture
Hi

Hi

I know I'm resurrecting this over 2 years on but I've hit the same problem on my ASA 5515 (ASA Version: 9.1(2)).

I'm getting when using check_snmp_cisco_bits_sec plugin:

$ check_snmp_cisco_bits_sec -H '10.x.x.x' -C public -w=60% -c=90% -x=60% -d=90% -i 'INSIDE' MONITORED BY: qpp-ovslave-camb RETURN CODE: 3 (UNKNOWN) OUTPUT: UNKNOWN - The interface specified could not be found on this device!

This is a result of using the 'Test service check' option.

I've tried several permatations of the interface.  Using ASDM I can see the interface is called 'GigabitEthernet0/0' with a Name of 'INSIDE'.  INSIDE seems to be a label (I'm not a network expert so bear with me here).  There is also a Group called 'Port-channel1' that seems to link to 'GigabitEthernet0/0'.  Using 'snmpwalk' I can see all these different things that relate to an interface but I've tried them all and all of them give me the same error in Opsview.

SNMPv2-SMI::mib-2.47.1.1.1.1.7.17 = STRING: "Gi0/0"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.18 = STRING: "Gi0/1"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.19 = STRING: "Gi0/2"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.20 = STRING: "Gi0/3"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.21 = STRING: "Gi0/4"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.22 = STRING: "Gi0/5"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.23 = STRING: "In0/0"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.24 = STRING: "In0/1"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.25 = STRING: "Ma0/0"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.26 = STRING: "Po1"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.27 = STRING: "Po5"

 

IF-MIB::ifDescr.2 = STRING: Adaptive Security Appliance 'asa_mgmt_plane' interface
IF-MIB::ifDescr.3 = STRING: Adaptive Security Appliance 'GigabitEthernet0/0' interface
IF-MIB::ifDescr.4 = STRING: Adaptive Security Appliance 'GigabitEthernet0/1' interface
IF-MIB::ifDescr.5 = STRING: Adaptive Security Appliance 'GigabitEthernet0/2' interface
IF-MIB::ifDescr.6 = STRING: Adaptive Security Appliance 'GigabitEthernet0/3' interface
IF-MIB::ifDescr.7 = STRING: Adaptive Security Appliance 'GigabitEthernet0/4' interface
IF-MIB::ifDescr.8 = STRING: Adaptive Security Appliance 'OUTSIDE' interface
IF-MIB::ifDescr.9 = STRING: Adaptive Security Appliance 'Internal-Data0/1' interface
IF-MIB::ifDescr.10 = STRING: Adaptive Security Appliance 'cplane' interface
IF-MIB::ifDescr.11 = STRING: Adaptive Security Appliance 'mgmt_plane_int_tap' interface
IF-MIB::ifDescr.12 = STRING: Adaptive Security Appliance 'management' interface
IF-MIB::ifDescr.13 = STRING: Adaptive Security Appliance 'Virtual254' interface
IF-MIB::ifDescr.14 = STRING: Adaptive Security Appliance 'INSIDE' interface
IF-MIB::ifDescr.15 = STRING: Adaptive Security Appliance 'DMZ' interface
IF-MIB::ifDescr.16 = STRING: Adaptive Security Appliance 'DMZ104-WIRELESS' interface
IF-MIB::ifDescr.17 = STRING: Adaptive Security Appliance 'DMZ-Services' interface

 

So, I feel like I've tried everything that is listed as an interface both in the ASA and SNMPWALK but still Opsview says it's an UNKNOWN interface so I'm not sure where I'm going wrong.

Can anyone help please?

Kind regards

Bryn

bellis
bellis's picture
Sorry, for some reason the

Sorry, for some reason the formatting on my comment above makes it almost unreadable so I'm going to try again. Also worth noting that I upgraded to Opsview 5.0.1 last night (from 4.6.2) and the issue still persists.

Hi

I know I'm resurrecting this over 2 years on but I've hit the same problem on my ASA 5515 (ASA Version: 9.1(2)). I'm getting when using check_snmp_cisco_bits_sec plugin:

$ check_snmp_cisco_bits_sec -H '10.x.x.x' -C public -w=60% -c=90% -x=60% -d=90% -i 'INSIDE' MONITORED BY: qpp-ovslave-camb RETURN CODE: 3 (UNKNOWN) OUTPUT: UNKNOWN - The interface specified could not be found on this device!

This is a result of using the 'Test service check' option. I've tried several permatations of the interface. Using ASDM I can see the interface is called 'GigabitEthernet0/0' with a Name of 'INSIDE'. INSIDE seems to be a label (I'm not a network expert so bear with me here). There is also a Group called 'Port-channel1' that seems to link to 'GigabitEthernet0/0'.

Using 'snmpwalk' I can see all these different things that relate to an interface but I've tried them all and all of them give me the same error in Opsview.

SNMPv2-SMI::mib-2.47.1.1.1.1.7.17 = STRING: "Gi0/0"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.18 = STRING: "Gi0/1"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.19 = STRING: "Gi0/2"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.20 = STRING: "Gi0/3"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.21 = STRING: "Gi0/4"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.22 = STRING: "Gi0/5"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.23 = STRING: "In0/0"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.24 = STRING: "In0/1"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.25 = STRING: "Ma0/0"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.26 = STRING: "Po1"
SNMPv2-SMI::mib-2.47.1.1.1.1.7.27 = STRING: "Po5"

IF-MIB::ifDescr.2 = STRING: Adaptive Security Appliance 'asa_mgmt_plane' interface
IF-MIB::ifDescr.3 = STRING: Adaptive Security Appliance 'GigabitEthernet0/0' interface
IF-MIB::ifDescr.4 = STRING: Adaptive Security Appliance 'GigabitEthernet0/1' interface
IF-MIB::ifDescr.5 = STRING: Adaptive Security Appliance 'GigabitEthernet0/2' interface
IF-MIB::ifDescr.6 = STRING: Adaptive Security Appliance 'GigabitEthernet0/3' interface
IF-MIB::ifDescr.7 = STRING: Adaptive Security Appliance 'GigabitEthernet0/4' interface
IF-MIB::ifDescr.8 = STRING: Adaptive Security Appliance 'OUTSIDE' interface
IF-MIB::ifDescr.9 = STRING: Adaptive Security Appliance 'Internal-Data0/1' interface
IF-MIB::ifDescr.10 = STRING: Adaptive Security Appliance 'cplane' interface
IF-MIB::ifDescr.11 = STRING: Adaptive Security Appliance 'mgmt_plane_int_tap' interface
IF-MIB::ifDescr.12 = STRING: Adaptive Security Appliance 'management' interface
IF-MIB::ifDescr.13 = STRING: Adaptive Security Appliance 'Virtual254' interface
IF-MIB::ifDescr.14 = STRING: Adaptive Security Appliance 'INSIDE' interface
IF-MIB::ifDescr.15 = STRING: Adaptive Security Appliance 'DMZ' interface
IF-MIB::ifDescr.16 = STRING: Adaptive Security Appliance 'DMZ104-WIRELESS' interface
IF-MIB::ifDescr.17 = STRING: Adaptive Security Appliance 'DMZ-Services' interface

So, I feel like I've tried everything that is listed as an interface both in the ASA and SNMPWALK but still Opsview says it's an UNKNOWN interface so I'm not sure where I'm going wrong.

Can anyone help please?

Kind regards Bryn

Duncan Ferguson
dferguson's picture
Can you do an snmpwalk on .1

Can you do an snmpwalk on .1.3.6.1.2.1.2.2.1.2?  This is the oid table that is searched for 'interface name' (-i) in the script.  Data for the insterfacesis then taken from 1.3.6.1.4.1.9.2.2.1.1

  Duncs