hello,

im trying to define a sevice as follow:

apply Service "nrpe-load" {
  import "tpl-service"

  check_command = "check_nrpe_load"
  vars.w_level = "30"
  vars.c_level = "5"
  vars.nrpe_timeout = "15"
  assign where host.vars.tpl-linux
}


object CheckCommand "check_nrpe_load" {
        import "check_nrpe_arg"
        vars.remote_nrpe_command  = "check_load2"
}

object CheckCommand "check_nrpe_arg" {
        import "plugin-check-command"

        command = PluginDir + "/check_nrpe"

        arguments = {
                "-H" = "$nrpe_address$"
                "-p" = "$nrpe_port$"
                "-c" = "$remote_nrpe_command$"
                "-n" = {
                        set_if = "$nrpe_no_ssl$"
                        description = "Do not use SSL."
                }
                "-u" = {
                        set_if = "$nrpe_timeout_unknown$"
                        description = "Make socket timeouts return an
UNKNOWN state instead of CRITICAL"
                }
                "-t" = "$nrpe_timeout$"
                 "-a" = "$w_level$,$c_level$%"

}


after checkimg the config there are no errors but in the icingaweb
interface i get an umknown status of my service with this output "uncorrect
command line arguments supplied"

any ideas??

thanks a lot
cordially
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to