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.
t; DSN 668-7422
> [EMAIL PROTECTED]
> [EMAIL PROTECTED]
>
> -Original Message-
> From: Aaron M. Segura [mailto:[EMAIL PROTECTED]
> Sent: Thursday, June 26, 2008 1:25 PM
> To: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
> Cc: nagios Mailinglist
> Subject: Re:
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
008 1:25 PM
> To: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
> Cc: nagios Mailinglist
> Subject: Re: [Nagios-users] NRPE Plug-in to count files
>
>
>> This seems like the kind of thing nagiosexchange was built for. Have
>>
> you checked there yet?
>
>
Subject: Re: [Nagios-users] NRPE Plug-in to count files
>This seems like the kind of thing nagiosexchange was built for. Have
you checked there yet?
I downloaded the check_numoffiles.sh script and modified it for use but
that only works on the local machine. I need to count on remote systems.
On
This seems like the kind of thing nagiosexchange was built for. Have
you checked there yet?
On Thu, 2008-06-26 at 12:59 -0400, Hart, Harry M. CTR USJFCOM
SUPPORT.SUPPORT JTC-I wrote:
> I am resending this because I neglected to say that I wanted to monitor
> file numbers on remote hosts.
>
>
>
Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote:
> I am resending this because I neglected to say that I wanted to monitor
> file numbers on remote hosts.
>
files=$(find -type f | wc -l)
There, I just wrote one for you ;-)
--
Andreas Ericsson [EMAIL PROTECTED]
OP5 AB
I am resending this because I neglected to say that I wanted to monitor
file numbers on remote hosts.
Hello all
Does anyone know of a plug-in that I can get that will count files in a
directory? (Linux and Win)
Thanks
Harry
Harry M. Hart Systems integrator
SAIC
USJFCOM JIOC DCGS-A
(757) 203-74
-users] NRPE Plug-in to count files
Hello all
Does anyone know of a plug-in that I can get that will count files in a
directory? (Linux and Win)
Thanks
Harry
Harry M. Hart Systems integrator
SAIC
USJFCOM JIOC DCGS-A
(757) 203-7422
DSN 668-7422
[EMAIL PROTECTED]
[EMAIL PROTECTED
Hello all
Does anyone know of a plug-in that I can get that will count files in a
directory? (Linux and Win)
Thanks
Harry
Harry M. Hart Systems integrator
SAIC
USJFCOM JIOC DCGS-A
(757) 203-7422
DSN 668-7422
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-
10 matches
Mail list logo