checking remote disk space over snmp

Tom Brown tom.brown at goodtechnology.com
Sun May 8 20:20:45 CEST 2005


sorry for the noise!!

]# ./check_snmp_storage.pl -H host -C comminuty -m / -r -w 80 -c 90
/ : 59 %used (2370MB/4030MB)  (<  80) : OK

reading docs often helps!

sorry

> thanks thats just what i need however i'm encountering an issue.
>
> # ./check_snmp_storage.pl -H host -C comminity -m cccc -w 80 -c 90 -v
> Alarm at 15
> Filter : cccc
> OID : 1.3.6.1.2.1.25.2.3.1.3.102, Desc : Swap Space
> OID : 1.3.6.1.2.1.25.2.3.1.3.3, Desc : /dev/shm
> OID : 1.3.6.1.2.1.25.2.3.1.3.101, Desc : Real Memory
> OID : 1.3.6.1.2.1.25.2.3.1.3.2, Desc : /dev/pts
> OID : 1.3.6.1.2.1.25.2.3.1.3.4, Desc : /web
> OID : 1.3.6.1.2.1.25.2.3.1.3.1, Desc : /
> OID : 1.3.6.1.2.1.25.2.3.1.3.103, Desc : Memory Buffers
> storages selected : 0
>
> as you can see i'm really interested in looking at /web and / as they are
my
> main partitions. Getting /web works fine however if i try and get / i end
up
> with everything
>
> # ./check_snmp_storage.pl -H host -C comminuty -m / -w 80 -c 90
> /dev/shm : 0 %used (0MB/1010MB) /dev/pts : 0 %used (0MB/0MB) /web : 36
%used
> (10632MB/29394MB) / : 59 %used (2370MB/4030MB)  (<  80) : OK
>
> my filesystem looks like
>
>  df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/rd/c0d0p1        3.9G  2.4G  1.4G  62% /
> none                 1010M     0 1010M   0% /dev/shm
> /dev/rd/c0d0p3         29G   11G   16G  39% /web
>
> any thoughts how i can just get / and /web ?
>
> thanks
>
> > See Patrick Proy's SNMP scripts at:
> >
> > http://www.manubulon.com/nagios/
> >
> > Russell
> >
> > On Sun, May 08, 2005 at 05:53:38PM +0100, Tom Brown wrote:
> > > Hi
> > >
> > > Currently using nagios-1.2 on White box respin 2 -
> > >
> > > Anyone have a plugin they can share to check remote disk usage over
> snmp? I
> > > used to use a diskspace.pl script to do this but it appears that
> whitebox
> > > does not like this script. Can't seem to find one over google either.
> > >
> > > thanks
> > >
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.Net email is sponsored by: NEC IT Guy Games.
> > > Get your fingers limbered up and give it your best shot. 4 great
events,
> 4
> > > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
> > > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
> > > _______________________________________________
> > > 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
> > >
> > >
> > -----------------------------
> > Russell Adams
> > RLAdams at AdamsInfoServ.com
> > http://www.adamsinfoserv.com/
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: NEC IT Guy Games.
> > Get your fingers limbered up and give it your best shot. 4 great events,
4
> > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
> > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
> > _______________________________________________
> > 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
> >
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: NEC IT Guy Games.
> Get your fingers limbered up and give it your best shot. 4 great events, 4
> opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
> win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
> _______________________________________________
> 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
>




-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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