Answer the question
In order to leave comments, you need to log in
Where can I read about -w -c plugin options for Nagios?
Hello, I understand that it’s complete nonsense, but I need to figure out how to write plugins for Nagios correctly very quickly :) They already sent to Google where I got a couple of interesting instructions, but I just can’t find one where it would be described in detail how to insert the -w warning options and -c critical, for example...
I understand correctly that you need to insert them
. I got something like this
define command {
command_name check_xard
command_line $USER1$/check_xard -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$
}
define service {
use generic-service
host_name myserver
service_description CheckHDD
check_command check_xard
notifications_enabled 0
notification_options w,c,u,r
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question