Title: [opsview-base] [36] Added check_system_version plugin (US255).
Revision
36
Author
pknight
Date
2012-09-06 18:11:34 +0100 (Thu, 06 Sep 2012)

Log Message

Added check_system_version plugin (US255).

Modified Paths


Modified: trunk/CHANGES
===================================================================
--- trunk/CHANGES	2012-09-03 13:02:48 UTC (rev 35)
+++ trunk/CHANGES	2012-09-06 17:11:34 UTC (rev 36)
@@ -1,6 +1,7 @@
 ????? ????
     NOTICES:
     FEATURES:
+        Added check_system_version
     ENHANCEMENTS:
     FIXES:
     TECHNICAL:

Modified: trunk/nrpe.cfg.in
===================================================================
--- trunk/nrpe.cfg.in	2012-09-03 13:02:48 UTC (rev 35)
+++ trunk/nrpe.cfg.in	2012-09-06 17:11:34 UTC (rev 36)
@@ -1,6 +1,6 @@
 #############################################################################
 # NRPE Config File for Opsview - DO NOT AMEND THIS FILE!
-# 
+#
 # NOTES:
 # This is the configuration file for the NRPE daemon.  It needs to be
 # located on the remote host that is running the NRPE daemon, not the host
@@ -9,7 +9,7 @@
 #
 # DO NOT AMEND THIS FILE
 #
-# This file will be overwritten on an upgrade.  Changes should be made in 
+# This file will be overwritten on an upgrade.  Changes should be made in
 #     /usr/local/nagios/etc/nrpe_local/override.cfg
 # which will not be changed on an upgrade.
 #
@@ -51,9 +51,9 @@
 
 
 # NRPE USER
-# This determines the effective user that the NRPE daemon should run as.  
+# This determines the effective user that the NRPE daemon should run as.
 # You can either supply a username or a UID.
-# 
+#
 # NOTE: This option is ignored if NRPE is running under either inetd or xinetd
 
 nrpe_user=nagios
@@ -61,9 +61,9 @@
 
 
 # NRPE GROUP
-# This determines the effective group that the NRPE daemon should run as.  
+# This determines the effective group that the NRPE daemon should run as.
 # You can either supply a group name or a GID.
-# 
+#
 # NOTE: This option is ignored if NRPE is running under either inetd or xinetd
 
 nrpe_group=nagios
@@ -71,7 +71,7 @@
 
 
 # ALLOWED HOST ADDRESSES
-# This is an optional comma-delimited list of IP address or hostnames 
+# This is an optional comma-delimited list of IP address or hostnames
 # that are allowed to talk to the NRPE daemon.
 #
 # Note: The daemon only does rudimentary checking of the client's IP
@@ -82,16 +82,16 @@
 # NOTE: This option is ignored if NRPE is running under either inetd or xinetd
 
 #allowed_hosts=127.0.0.1
- 
 
 
+
 # COMMAND ARGUMENT PROCESSING
 # This option determines whether or not the NRPE daemon will allow clients
 # to specify arguments to commands that are executed.  This option only works
 # if the daemon was configured with the --enable-command-args configure script
-# option.  
+# option.
 #
-# *** ENABLING THIS OPTION IS A SECURITY RISK! *** 
+# *** ENABLING THIS OPTION IS A SECURITY RISK! ***
 # Read the SECURITY file for information on some of the security implications
 # of enabling this variable.
 #
@@ -107,9 +107,9 @@
 # command line from the command definition.
 #
 # *** THIS EXAMPLE MAY POSE A POTENTIAL SECURITY RISK, SO USE WITH CAUTION! ***
-# Usage scenario: 
+# Usage scenario:
 # Execute restricted commmands using sudo.  For this to work, you need to add
-# the nagios user to your /etc/sudoers.  An example entry for alllowing 
+# the nagios user to your /etc/sudoers.  An example entry for alllowing
 # execution of the plugins from might be:
 #
 # nagios          ALL=(ALL) NOPASSWD: /usr/lib/nagios/plugins/
@@ -118,7 +118,7 @@
 # without asking for a password.  If you do this, make sure you don't give
 # random users write access to that directory or its contents!
 
-# command_prefix=/usr/bin/sudo 
+# command_prefix=/usr/bin/sudo
 
 
 
@@ -221,6 +221,7 @@
 command[check_postgres]=/usr/local/nagios/libexec/check_postgres $ARG1$
 command[check_raid]=/usr/local/nagios/libexec/check_raid $ARG1$
 command[check_time_skew]=/usr/local/nagios/libexec/check_time_skew $ARG1$
+command[check_system_version]=/usr/local/nagios/libexec/check_system_version
 
 # NOTE: additional command definitions should be put into a file such as
 # 	/usr/local/nagios/etc/nrpe_local/override.cfg

_______________________________________________
Opsview-checkins mailing list
[email protected]
http://lists.opsview.org/lists/listinfo/opsview-checkins

Reply via email to