Re: [Nagios-users] NRPE Plug-in to count files

2008-06-30 Thread Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
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.

Re: [Nagios-users] NRPE Plug-in to count files

2008-06-26 Thread Aaron M. Segura
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:

Re: [Nagios-users] NRPE Plug-in to count files

2008-06-26 Thread Marc Powell
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

Re: [Nagios-users] NRPE Plug-in to count files

2008-06-26 Thread Kent Saunders
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? > >

Re: [Nagios-users] NRPE Plug-in to count files

2008-06-26 Thread Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
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

Re: [Nagios-users] NRPE Plug-in to count files

2008-06-26 Thread Aaron M. Segura
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. > > >

Re: [Nagios-users] NRPE Plug-in to count files

2008-06-26 Thread Andreas Ericsson
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

[Nagios-users] NRPE Plug-in to count files

2008-06-26 Thread Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
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

Re: [Nagios-users] NRPE Plug-in to count files

2008-06-26 Thread Bo Philip Larsen
-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

[Nagios-users] NRPE Plug-in to count files

2008-06-26 Thread Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
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] -