check_snmp to monitor isdn if on cisco?

Subhendu Ghosh sghosh at sghosh.org
Wed Jan 26 16:05:03 CET 2005


On Wed, 26 Jan 2005, Schmitz, Carsten wrote:

>
> Hi,
>
> Is anyone using Nagios to monitor the ISDN / SDSL ports on a Cisco 2600 or 828, respectively?
>
> The network folks told me I should be able to send queries with snmp. Did that before (I monitor Windows boxes with snmp which works fine). But I can't get data from the device and I think maybe I have the wrong "oid".
>
> I'm not an expert on snmp, I pieced together OIDs from
>
> ftp://ftp.cisco.com/pub/mibs/oid/CISCO-ISDN-MIB.oid   and
> http://carsten.familie-doh.de/mibtree/cisco-isdn.html
>
> and end up with something like this:
>
> /usr/local/nagios/libexec/check_snmp -H ip_address -C community_string -o ".1.3.6.1.4.9.9.26.1.1.1.16"
> SNMP problem - No data recieved from host
> CMD: /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c aegongs 212.29.172.2:161  .1.3.6.1.4.9.9.26.1.1.1.16
>
> Anyone done this before and could confirm, or supply me with a valid OID?

I haven't done anything with this particular MIB - but your OID is 
incomplete for check_snmp.

the base oid should be  .1.3.6.1.4.9.9.26.1.1.1.1.16 (note four 1s between 
26 and 16)

To the base oid you need to append the table index values
namely:
1. demandNbrPhysIf (the ifIndex value of the D channel for the
    neighbor)
2. demandNbrId (a table sequence number)


Also the base oid above - is for RowStatus and does not tell you anything 
about the line being up/down .

The NeighborTable only stores call information.

for the object descriptions...
ftp://ftp.cisco.com/pub/mibs/v2/CISCO-ISDN-MIB.my

What do you want to monitor for the isdn connections?

-- 
-sg


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list