Is there a way to include the check_command that is being used when being alerted via Nagios or Icinga.


define command { command_name check-x-dc6.x-icmp command_line $USER1$/check_ping -H IP -w 100.0,20% -c 500.0,60% }

Basically what im looking for is the command_line of this command to be included in the alerting system for nagios/icinga?


Include the $HOSTCHECKCOMMAND$ macro in your notification command. (Or $SERVICECHECKCOMMAND$ for service checks).

See the list of macros that you can use for more information.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.