problem with check_disk.. returns state UNKNOW N

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Tue Nov 12 00:35:55 CET 2002


Perhaps load/procs/current users are being tested on the Nagios host...?

jc

> -----Original Message-----
> From: Gerald Wichmann [mailto:gwichman at zantaz.com]
> Sent: Monday, November 11, 2002 3:55 PM
> To: 'nagios-users at lists.sourceforge.net'
> Subject: RE: [Nagios-users] problem with check_disk.. returns state
> UNKNOW N
> 
> 
> There must be more to it then that. Why do checks like load, 
> # of procs,
> current users, etc all work without requiring them to be on 
> said system?
> Furthermore the below output was in error. /dev/hda5 doesn't exist and
> that's why my "manual" run was failing as below. With a 
> correct device it
> runs fine locally. I'm not sure how Nagios manages to run it 
> from a remote
> box though so I'm unable to test why the output comes back 
> "unable to read
> output".
> 
> Gerald Wichmann
> Senior Systems Development Engineer
> Zantaz, Inc.
> 925.598.3099 (w)
> 
> -----Original Message-----
> From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
> Sent: Monday, November 11, 2002 12:40 PM
> To: 'nagios-users at lists.sourceforge.net'
> Subject: Re: [Nagios-users] problem with check_disk.. returns 
> state UNKNOWN
> 
> PLEASE - no HTML mail
> 
> How do you check the disk usage of remote systems?  Nagios is 
> not (yet)
> all powerful. - plugins for local systems checks need to be installed
> locally on every target system.
> 
> something is not right with the output below - RedHat with 
> "df -Pk" should
> output 6 columns of data not 5.
> 
> -sg
> 
> 
> On Mon, 11 Nov 2002, Gerald Wichmann wrote:
> <snip>
> > 
> > 
> > I'm not sure what the trick is to getting check_disk to 
> work. It works on
> > the box that has nagios installed but not on any others. Do 
> I need to
> > compile and install the plugins on all my boxes (I suspect 
> not because
> other
> > plugins work fine. Notice total processes and load above)? 
> These are all
> > RedHat boxes running kernel 2.4.19-1.
> > 
> > I copied check_disk over to the box above and ran it from 
> the command
> line.
> > It returned:
> > 
> > [root at ps-sm-poly-00 mailSend]# check_disk -c'10%' -w'20%' 
> -p /dev/hda5
> > Unable to read output:
> > /bin/df -Pk /dev/hda5
> > /dev/hda5              1035660     56168    926884       6%
> > 
> > Apparently therein lies the problem. Question is, whats the 
> problem? The
> df
> > command seems to return what it's supposed to. Appreciate 
> any assistance.
> > 
> > -Gerald
> > 
> >
> 
> --
> 
> 
> 
> 
> 
> -------------------------------------------------------
> 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 e-mail has been captured and archived by the ZANTAZ 
> Digital Safe(tm)
> service.  For more information, visit us at www.zantaz.com. 
> IMPORTANT: This electronic mail message is intended only for 
> the use of the
> individual or entity to which it is addressed and may contain 
> information
> that is privileged, confidential or exempt from disclosure 
> under applicable
> law.  If the reader of this message is not the intended 
> recipient, or the
> employee or agent responsible for delivering this message to 
> the intended
> recipient, you are hereby notified that any dissemination, 
> distribution or
> copying of this communication is strictly prohibited.  If you 
> have received
> this communication in error, please notify the sender immediately by
> telephone or directly reply to the original message(s) sent.  
> Thank you.
> 
> 
> -------------------------------------------------------
> 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