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" { object CheckCommand "log" {
import "ipv4-or-ipv6" import "ipv4-or-ipv6"
command = [ PluginContribDir + "/check_logfiles" ] command = [ PluginContribDir + "/check_logfiles.pl" ]
arguments = { arguments = {
"-H" = { "-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." 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" = { "--logfile" = {
value = "$logfiles_tag$" value = "$logfiles_logfile$"
description = "This is the name of the log file you want to scan." description = "This is the name of the log file you want to scan."
} }
"--rotation" = { "--rotation" = {
@ -66,19 +66,19 @@ object CheckCommand "log" {
set_if = "$logfiles_unstick$" set_if = "$logfiles_unstick$"
description = "Resets sticky errors." description = "Resets sticky errors."
} }
"--config "--config" = {
value = "$logfiles_config$" value = "$logfiles_config$"
description = "Te name of a configuration file." description = "Te name of a configuration file."
} }
"--configdir "--configdir" = {
value = "$logfiles_configdir$" value = "$logfiles_configdir$"
description = "The name of a configuration directory. Configfiles ending in .cfg or .conf are (recursively) imported." description = "The name of a configuration directory. Configfiles ending in .cfg or .conf are (recursively) imported."
} }
"--searches "--searches" = {
value = "$logfiles_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." 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$" 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." 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$" 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." 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$" vars.logfiles_hostname = "$check_address$"
} }