[Nagiosplug-help] check_ifstatus - "unused" (exclude) problem -SNMP

Subhendu Ghosh sghosh at sghosh.org
Tue Mar 16 08:29:20 CET 2004


On Mon, 15 Mar 2004, christian janssen wrote:

> Hi,
> 
> I tried to use "check_ifstatus" for general check of cisco interfaces. But
> because of one "standby port" I have to exclude one interface.
> 
> It seems I've to use the "-u" unused parameter. But unfortunately I got no
> success.
> 
> First I checked and got this alerting:
>          ./check_ifstatus -H x.x.x.x -C public
>          =>      E1 6/0: down
> 
> then I tried:
>          ./check_ifstatus -H x.x.x.x -C public -I -u
> ifMIB.ifMIBObjects.ifXTable.ifXEntry.ifName.26
>          ./check_ifstatus -H x.x.x.x -C public -I -u E1 6/0
>          ./check_ifstatus -H x.x.x.x -C public -I -u E1 6/0/0
> 
> any idea.
> 
> thanks
> Christian
> 

The -u option takes ifIndex values (not instance oid) at the moment. 
what you want is  "-u 26" 


-- 
-sg





More information about the Help mailing list