[Nagiosplug-help] check_ifstatus - "unused" (exclude) problem -SNMP
christian janssen
proftp_cj at kdd.de
Tue Mar 16 10:13:19 CET 2004
At 16:28 16.03.2004, Subhendu Ghosh wrote:
>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
Hi Subhendu,
thanks !
I tried,
nms# ./check_ifstatus -H x.x.x.x -C public -u 26 -I
and still got critical:
CRITICAL: host '1x.x.x.x', interfaces up: 11, down: 1, dormant: 0,
excluded: 0, unused: 1<BR>E1 6/0: down -> <BR>
|up:11,down:1,dormant:0,excluded:0,unused:1
It's funny, isn't it., seems I've to check more.
Christian
More information about the Help
mailing list