Fix typos

This commit is contained in:
Kálmán „KAMI” Szalai 2019-06-04 11:13:57 +02:00
parent 6ac7bd041c
commit 818c554791
1 changed files with 7 additions and 6 deletions

View File

@ -7,7 +7,7 @@
object CheckCommand "log" {
import "ipv4-or-ipv6"
command = [ PluginContribDir + "/check_logfiles" ]
command = [ PluginContribDir + "/check_logfiles.pl" ]
arguments = {
"-H" = {
@ -19,7 +19,7 @@ object CheckCommand "log" {
description = "A short unique descriptor for this search. It will appear in the output of the plugin and is used to separare the different services."
}
"--logfile" = {
value = "$logfiles_tag$"
value = "$logfiles_logfile$"
description = "This is the name of the log file you want to scan."
}
"--rotation" = {
@ -66,19 +66,19 @@ object CheckCommand "log" {
set_if = "$logfiles_unstick$"
description = "Resets sticky errors."
}
"--config
"--config" = {
value = "$logfiles_config$"
description = "Te name of a configuration file."
}
"--configdir
"--configdir" = {
value = "$logfiles_configdir$"
description = "The name of a configuration directory. Configfiles ending in .cfg or .conf are (recursively) imported."
}
"--searches
"--searches" = {
value = "$logfiles_searches$"
description = "A list of tags of those searches which are to be run. Using this parameter, not all searches listed in the config file are run, but only those selected."
}
"--selectedsearches
"--selectedsearches" = {
value = "$logfiles_selectedsearches$"
description = "A list of tags of those searches which are to be run. Using this parameter, not all searches listed in the config file are run, but only those selected."
}
@ -110,5 +110,6 @@ object CheckCommand "log" {
value = "$logfiles_critical$"
description = "Complex handler-scripts can be provided with a critical-parameter this way. Inside the scripts the value is accessible as the macro CL_CRITICAL."
}
}
vars.logfiles_hostname = "$check_address$"
}