[PATCH] Adding simple nrpe check

Mike McGrath mmcgrath at redhat.com
Mon Mar 29 20:56:34 UTC 2010


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



More information about the infrastructure mailing list