]> granicus.if.org Git - icinga2/commitdiff
Fix typos
authorKálmán „KAMI” Szalai <kami911@gmail.com>
Tue, 4 Jun 2019 09:13:57 +0000 (11:13 +0200)
committerKálmán „KAMI” Szalai <kami911@gmail.com>
Tue, 4 Jun 2019 09:13:57 +0000 (11:13 +0200)
itl/plugins-contrib.d/logfiles.conf

index 68a8dd5a4e84b9dd944835bdf9e3a8179ad15b43..dd13c7caad0de98b4135023b726194a0a92c6e5c 100644 (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$"
 }