Hi Josh!

The problem isn't the long interface names, but the quotes the ASA puts
around the interface name. I raised this issue on the devel list [1].
There you find a simple patch to check_snmp_linkstatus, that works well
here. But Ton posted a patch to the Utils.pm library, which is the right
place to do it. Unforunately I haven't had the time to test it yet.

[1]
http://lists.opsview.org/lurker/message/20100127.172642.819db4b7.en.html

-- 
kind regards, Henry

On Mi, 2010-02-17 at 11:54 -0800, Josh Brown (Mailing List) wrote:
> Hi,
> 
> I am seeing an issue when using Opsview to monitor my Cisco ASA 5510's 
> interfaces.  After adding the interfaces to the SNMP tab of the host, Opsview 
> complains that the interface statuses are "unknown" and that the interface is 
> "not found!"
> 
> Steps to recreate:
> - Create a new host (Cisco ASA of some kind)
> - Click on the SNMP tab
> - Query the host using SNMP v2
> - Check the boxes next to the interfaces you wish to monitor
> - Reload configuration
> - Check Host Status and you will see unknown statuses for all interfaces you 
> just chose
> 
> One thing I noticed is that the query returns interfaces names are extremely 
> long, thanks Cisco....  Perhaps that is the main reason?
> 
> Here is the output from the snmpwalk wrt interface names:
> IF-MIB::ifDescr.1 = STRING: Adaptive Security Appliance 'Null0' interface
> IF-MIB::ifDescr.2 = STRING: Adaptive Security Appliance '0' interface
> IF-MIB::ifDescr.3 = STRING: Adaptive Security Appliance 'folink' interface
> IF-MIB::ifDescr.4 = STRING: Adaptive Security Appliance 'Ethernet0/1' 
> interface
> IF-MIB::ifDescr.5 = STRING: Adaptive Security Appliance 'Ethernet0/2' 
> interface
> IF-MIB::ifDescr.6 = STRING: Adaptive Security Appliance 'shared' interface
> IF-MIB::ifDescr.7 = STRING: Adaptive Security Appliance 'management' interface
> IF-MIB::ifDescr.8 = STRING: Adaptive Security Appliance 'Internal-Data0/0' 
> interface
> IF-MIB::ifDescr.9 = STRING: Adaptive Security Appliance 'GigabitEthernet1/0' 
> interface
> IF-MIB::ifDescr.10 = STRING: Adaptive Security Appliance 'GigabitEthernet1/1' 
> interface
> IF-MIB::ifDescr.11 = STRING: Adaptive Security Appliance 'GigabitEthernet1/2' 
> interface
> IF-MIB::ifDescr.12 = STRING: Adaptive Security Appliance 'GigabitEthernet1/3' 
> interface
> IF-MIB::ifDescr.13 = STRING: Adaptive Security Appliance 'Internal-Data1/0' 
> interface
> IF-MIB::ifDescr.14 = STRING: Adaptive Security Appliance 'Virtual254' 
> interface
> IF-MIB::ifDescr.15 = STRING: Adaptive Security Appliance 'outside' interface
> IF-MIB::ifDescr.16 = STRING: Adaptive Security Appliance 'prod-inside' 
> interface
> 
> Here is are the errors I get in the interface status information:
> UNKNOWN - Interface Adaptive Security Appliance folink interface not found!
> UNKNOWN - Interface Adaptive Security Appliance outside interface not found!
> UNKNOWN - Interface Adaptive Security Appliance prod-inside interface not 
> found!
> UNKNOWN - Interface Adaptive Security Appliance shared interface not found!
> 
> -JB
> _______________________________________________
> Opsview-users mailing list
> [email protected]
> http://lists.opsview.org/lists/listinfo/opsview-users

_______________________________________________
Opsview-users mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to