Disk Usage Counter

Subhendu Ghosh sghosh at sghosh.org
Fri Sep 27 05:28:13 CEST 2002


check_disk only works on local partitions - is check_disk installed on 
the 3 machines in question?


On Thu, 26 Sep 2002, Kaplan, Andrew H. wrote:

> Hi J,
> 
> When the command is run from within my shell the output is
> 
> DISK OK - [87024 kB (90%) free on /dev/hda1. This points to my /boot partition.
> This means the counter is reading it strictly on my machine and not the others.
> What did I miss here?
> 
> -----Original Message-----
> From: Jeremy Tinley [mailto:jtinley at unirez.com]
> Sent: Wednesday, September 25, 2002 5:30 PM
> To: Kaplan, Andrew H.
> Subject: RE: [Nagios-users] Disk Usage Counter
> 
> 
> Aside from it being in all CAPS, that looks ok.  What happens when you
> run that from your own shell?
> 
> -J
> 
> -----Original Message-----
> From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] 
> Sent: Wednesday, September 25, 2002 3:42 PM
> To: 'Jeremy Tinley'
> Cc: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Disk Usage Counter
> 
> Hi J,
> 
> I included the following line in the checkcommands.cfg file:
> 
> 	COMMAND_LINE	/USR/LOCAL/NAGIOS/LIBEXEC/CHECK_DISK -W 95 -C 95
> -P
> /DEV/HDA1
> 
> For good measure I restarted the program. The app came back up but when
> I
> checked via the web interface, the same status information as before
> appeared.
> 
> 
> 	
> 
> 
> 
> -----Original Message-----
> From: Jeremy Tinley [mailto:jtinley at unirez.com]
> Sent: Wednesday, September 25, 2002 4:16 PM
> To: Kaplan, Andrew H.
> Subject: RE: [Nagios-users] Disk Usage Counter
> 
> 
> You have a check_disk line configured in your check commands file.
> Something like:
> 
> $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
> 
> 
> Fill in the variables (the ARGx's from your services.cfg file)...
> 
> /path/to/check_disk -w 95 -c 95 -p /dev/vg00
> 
> Now, run THAT from the command line (much like Nagios will) and see what
> you get.
> 
> -J
> 
> 
> -----Original Message-----
> From: Kaplan, Andrew H. [mailto:AHKAPLAN at PARTNERS.ORG] 
> Sent: Wednesday, September 25, 2002 3:10 PM
> To: 'Jeremy Tinley'
> Cc: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Disk Usage Counter
> 
> Hi J,
> 
> When run with the -V option I get the following:
> 
> 	CHECK_DISK (NAGIOS-PLUGINS 1.3.0-ALPHA1) 1.2
> 
> 
> -----Original Message-----
> From: Jeremy Tinley [mailto:jtinley at unirez.com]
> Sent: Wednesday, September 25, 2002 4:05 PM
> To: Kaplan, Andrew H.
> Subject: RE: [Nagios-users] Disk Usage Counter
> 
> 
> What output do you get when you run the check_disk command from the
> command line?
> 
> -J
> 
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kaplan,
> Andrew H.
> Sent: Wednesday, September 25, 2002 2:56 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Disk Usage Counter
> 
> Hi there,
> 
> I am using the Disk Usage counter on three machines: the first two are
> Red
> Hat 7.3 machines. The first is running on three disks that are
> configured
> via a hard disk array. The file name for the array disk is /dev/sda
> while
> the second machine is on a single hard drive and its filename is
> /dev/hda1.
> The third machine an HP-UX 10.20 workstation, and its disk file name is
> /dev/vg00. When the counters are displayed on the web page, the
> diskarray
> machine has an unknown status and does not show any disk usage while the
> the
> other two machines show a disk usage of 87024kB (90%) free. I have
> checked
> the filesystems on both of these machines, and have confirmed that
> readout
> is inaccurate. Is there an additional setting that I need to configure?
> 
> 
> -------------------------------------------------------
> 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