NRPE Plug-in to count files

Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I harry.hart.ctr at jfcom.mil
Mon Jun 30 20:37:18 CEST 2008


Harry M. Hart Systems integrator
(757) 203-7422
DSN 668-7422
Harry.Hart at intel.jwfc.jfcom.smil.mil
Harry.Hart at jwfc.ic.gov

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] 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
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

-------------------------------------------------------------------------
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
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