This simple check will allow us to see if nrpe is functioning --- configs/system/nrpe.cfg | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configs/system/nrpe.cfg b/configs/system/nrpe.cfg index a9828c5..37dd38e 100644 --- a/configs/system/nrpe.cfg +++ b/configs/system/nrpe.cfg @@ -189,6 +189,7 @@ connection_timeout=300
# The following examples use hardcoded command arguments...
+command[check_nrpe]=/bin/date command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_raid]=/usr/lib/nagios/plugins/check_raid.py
On Mon, 29 Mar 2010, Mike McGrath wrote:
This simple check will allow us to see if nrpe is functioning
configs/system/nrpe.cfg | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configs/system/nrpe.cfg b/configs/system/nrpe.cfg index a9828c5..37dd38e 100644 --- a/configs/system/nrpe.cfg +++ b/configs/system/nrpe.cfg @@ -189,6 +189,7 @@ connection_timeout=300
# The following examples use hardcoded command arguments...
+command[check_nrpe]=/bin/date command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_raid]=/usr/lib/nagios/plugins/check_raid.py
+1 -sv
On Monday 29 March 2010 03:59:11 pm Seth Vidal wrote:
On Mon, 29 Mar 2010, Mike McGrath wrote:
This simple check will allow us to see if nrpe is functioning
configs/system/nrpe.cfg | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configs/system/nrpe.cfg b/configs/system/nrpe.cfg index a9828c5..37dd38e 100644 --- a/configs/system/nrpe.cfg +++ b/configs/system/nrpe.cfg @@ -189,6 +189,7 @@ connection_timeout=300
# The following examples use hardcoded command arguments...
+command[check_nrpe]=/bin/date command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_raid]=/usr/lib/nagios/plugins/check_raid.py
+1 -sv
+1
Dennis
On 2010-03-29 03:56:34 PM, Mike McGrath wrote:
This simple check will allow us to see if nrpe is functioning
configs/system/nrpe.cfg | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configs/system/nrpe.cfg b/configs/system/nrpe.cfg index a9828c5..37dd38e 100644 --- a/configs/system/nrpe.cfg +++ b/configs/system/nrpe.cfg @@ -189,6 +189,7 @@ connection_timeout=300
# The following examples use hardcoded command arguments...
+command[check_nrpe]=/bin/date command[check_users]=/usr/lib/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_raid]=/usr/lib/nagios/plugins/check_raid.py --
+1, but don't we already have stuff like check_load that will alert us to this already?
Thanks, Ricky
On Mon, 29 Mar 2010 15:56:34 -0500, Mike McGrath mmcgrath@redhat.com wrote:
This simple check will allow us to see if nrpe is functioning
NRPE is supposed to return it's name and version number if no command is specified. You don't have to configure anything on the client-side, unless you have a general command prefix pointing to sudo, but can instead just run /path/to/check_nrpe -H $HOSTADDRESS$ on the server side, without any additional switches.
I'm just saying, apologies for the noise.
-- Jeroen
On Tue, 30 Mar 2010, Jeroen van Meeuwen wrote:
On Mon, 29 Mar 2010 15:56:34 -0500, Mike McGrath mmcgrath@redhat.com wrote:
This simple check will allow us to see if nrpe is functioning
NRPE is supposed to return it's name and version number if no command is specified. You don't have to configure anything on the client-side, unless you have a general command prefix pointing to sudo, but can instead just run /path/to/check_nrpe -H $HOSTADDRESS$ on the server side, without any additional switches.
I'm just saying, apologies for the noise.
I wasn't sure if that would be a good enough test or to do a full end to end test.
-Mike
On Mon, 29 Mar 2010 18:37:08 -0500 (CDT), Mike McGrath mmcgrath@redhat.com wrote:
On Tue, 30 Mar 2010, Jeroen van Meeuwen wrote:
On Mon, 29 Mar 2010 15:56:34 -0500, Mike McGrath mmcgrath@redhat.com wrote:
This simple check will allow us to see if nrpe is functioning
NRPE is supposed to return it's name and version number if no command
is
specified. You don't have to configure anything on the client-side, unless you have a general command prefix pointing to sudo, but can instead
just
run /path/to/check_nrpe -H $HOSTADDRESS$ on the server side, without
any
additional switches.
I'm just saying, apologies for the noise.
I wasn't sure if that would be a good enough test or to do a full end to end test.
It is sufficient, if you want to know;
- the host is reachable, - the port is open, - nrpe is running, - any implicit or explicit ssl negotations worked out fine
but no more then that.
-- Jeroen
infrastructure@lists.fedoraproject.org