Subversion Repositories vnag

Rev

Rev 35 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35 Rev 79
Line 2... Line 2...
2
 
2
 
3
// VNag - Nagios Framework for PHP
3
// VNag - Nagios Framework for PHP
4
// Developed by Daniel Marschall, ViaThinkSoft <www.viathinksoft.com>
4
// Developed by Daniel Marschall, ViaThinkSoft <www.viathinksoft.com>
5
// Licensed under the terms of the Apache 2.0 license
5
// Licensed under the terms of the Apache 2.0 license
6
//
6
//
7
// Revision 2018-07-15
7
// Revision 2023-10-14
8
 
8
 
9
object CheckCommand "vnag_file_timestamp" {
9
object CheckCommand "vnag_file_timestamp" {
10
	// PLEASE ADJUST THIS PATH
10
	// PLEASE ADJUST THIS PATH
11
	command = [ "/daten/vnag/plugins/file_timestamp/check_file_timestamp" ]
11
	command = [ "/daten/vnag/bin/file_timestamp.phar" ]
12
 
12
 
13
	arguments = {
13
	arguments = {
14
		"-f" = {
14
		"-f" = {
15
			value = "$vnag_file_timestamp_file$"
15
			value = "$vnag_file_timestamp_file$"
16
			description = "File or filemask to be checked. There are two possible checking modes: If you put a # in front of the file mask, only the youngest file of each group will be checked (use this mode e.g. if you want to check if a downloader is regularly downloading files into a download directory). Otherwise, all files of the file group are checked."
16
			description = "File or filemask to be checked. There are two possible checking modes: If you put a # in front of the file mask, only the youngest file of each group will be checked (use this mode e.g. if you want to check if a downloader is regularly downloading files into a download directory). Otherwise, all files of the file group are checked."