Harry M. Hart Systems integrator
(757) 203-7422
DSN 668-7422
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc
Powell
Sent: Thursday, June 26, 2008 2:24 PM
To: nagios Mailinglist
Subject: Re: [Nagios-users] NRPE Plug-in to count files


On Jun 26, 2008, at 12:41 PM, Kent Saunders wrote:

> Put this in the remote systems nrpe.cfg file... (and restart nrpe) 
> command[check_numoffiles]=/usr/local/nagios/libexec/
> check_numoffiles.sh
>
> Then from the Nagios host call that script by running...
> /usr/local/nagios/libexec/check_nrpe -H hostname -c check_numoffiles

And  --

Copy check_numoffiles.sh to /usr/local/nagios/libexec on the destination
machine.

--
Marc

Thanks to all who responded. I have solved my problem with your help. 

Harry

------------------------------------------------------------------------
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for just about anything Open
Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
[email protected]
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

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to