checking unix load/disk space
Marc Powell
marc at ena.com
Wed May 4 18:52:56 CEST 2005
> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of HP Geeza
> Sent: Wednesday, May 04, 2005 11:34 AM
> To: Bill_Akins at emoryhealthcare.org; nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] checking unix load/disk space
>
> I belive that would work...and i understand the syntax in that
command.
> However that command will check the disk space on /, /tmp, /var, /boot
on
> the localhost though?
>
> The problem i am having is that how do i tell nagios to run a command
such
> as:
> check_disk -w 25% -c 10% -p / -p /tmp -p /var -p /boot
>
> on a remote host and return values?..a simple ping command seems to
work
> fine
>
> Do i need to add a -h $HOSTNAME$ in the checkcommands file?....also
just
> to
Only if the plugin is network aware and understands -h parameters ;) In
this case, it won't work as check_disk is a local check only and not
network aware.
> make sure which client software should i be running on my remote host?
i.e
> on windows i installed the PNSClient when i was using netsaint this
seems
> to
> be working fine when switching to nagios....do i have to do something
> different for unix machines?
Yes, you do. The host-resource plugins are not network aware. You can
always see if a plugin is network aware by running it with '--help'. In
this case, check_disk must be run on the host you intend to check. There
are a number of ways to do that but the most common are NRPE or
check-by-ssh.
--
Marc
-------------------------------------------------------
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
_______________________________________________
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