blob: a52eadcd9e17eee77658333261593c28b7ebb0da (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
object CheckCommand "file-age-windows" {
command = [ PluginDir + "/check_file_age.cmd" ]
arguments = {
"file" = {
skip_key = true
order = 0
value = "$file_age_win_file$"
description = "File name and location"
required = true
}
"warning" = {
skip_key = true
order = 1
value = "$file_age_win_warning$"
description = "Warning threshold of file age in seconds"
required = true
}
"critical" = {
skip_key = true
order = 2
value = "$file_age_win_critical$"
description = "Critical threshold of file age in seconds"
required = true
}
}
}
|