SVN: nagios-config/trunk/commands/check_file_age.cfg

glen glen at pld-linux.org
Fri Feb 19 15:49:30 CET 2010


Author: glen
Date: Fri Feb 19 15:49:29 2010
New Revision: 11145

Added:
   nagios-config/trunk/commands/check_file_age.cfg
Log:
- service template for check_file_age plugin

Added: nagios-config/trunk/commands/check_file_age.cfg
==============================================================================
--- (empty file)
+++ nagios-config/trunk/commands/check_file_age.cfg	Fri Feb 19 15:49:29 2010
@@ -0,0 +1,19 @@
+# Usage:
+# check_file_age [-w <secs>] [-c <secs>] [-W <size>] [-C <size>] -f <file>
+define command {
+	command_name    check_file_age
+	command_line    $USER1$/check_file_age $ARG1$
+}
+
+define service {
+	use                     generic-service
+	name                    file_age
+	register                0
+	service_description     file_age
+
+	check_period            24x7
+	notification_interval   30
+	retry_check_interval    5
+
+	check_command           check_file_age
+}


More information about the pld-cvs-commit mailing list