checking sun solaris disk space

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Fri Jan 3 18:22:06 CET 2003


Actually, you can specify either the device special file or the mount point.  (I personally find mount points more informative. ;)

But someone else brought up a valid point:  It could well be that Hrishy is executing it on the Nagios server, instead of the target host.  Hrishy, go back to www.nagios.org and take a look at NRPE; it's good for what ails you.

jc

> -----Original Message-----
> From: Grae Noble [mailto:Grae.Noble at newcastle.edu.au]
> Sent: Friday, January 03, 2003 8:50 AM
> To: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] checking sun solaris disk space
> 
> 
> Hi,
> 
>  I think what you are after is the path to wherever the slice 
> is mounted. And its a slice, not a partition :)
> 
> i.e. check_disk -w 20% -c 10% -p / or 
> check_disk -w 20% -c 10% -p /usr etc...
> 
> now, if you are using check_local_disk to check the space on 
> a remote system (from the nagios host) then you will need 
> nrpe or check_by_ssh (or some passive way of submitting the results).
> good luck.
> 
> 
> 
> Grae Noble
> Infrastructure, Communication and Information Services, 
> University Services Division
> University of Newcastle, NSW
> Phone:  +61 2 4921 7875 Fax:  +61 2 4921 7087
> Grae.Noble at newcastle.edu.au 
> Room: CT216
> 
> 
> >>> hrishy <hrishys at yahoo.co.uk> 01/03/03 03:57pm >>>
> Hi
> 
> I am tryoing to see the disk space on sun solaris
> machine..and my partition on the sun solaris machine
> is called "/dev/dsk/c0t0d0s0" the command used is
> check_local disk..however nagios tells me that the
> disk
> Disk "/dev/dsk/c0t0d0s0" not mounted or
> nonexistant.the machine where nagios is installed and
> the sun machine are on the same network segment..can
> anybody tell me what ma i doing wrong..
> 
> regards
> Hrishy
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Everything you'll ever need on one web page
> from News and Sport to Email and Music Charts
> http://uk.my.yahoo.com 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf 
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net 
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list