SEND_CUSTOM_SVC_NOTIFICATION logs but does not send the custom comment
Posted: Fri Jul 21, 2023 11:29 am
The docs for the external command SEND_CUSTOM_SVC_NOTIFICATION put the critical information in the <comment> field (ie, "The NOC is currently flooding. Help!", see https://assets.nagios.com/downloads/nag ... and_id=135). But this command uses the notify-service-by-email stub, which does not include either the <author> or <comment> fields in the notification. In the log, sure, but the notification itself ends with "Additional Info: " and the $SERVICE_OUTPUT$ macro. How is the <command> of a custom service notification written to the nagios.cmd pipe supposed to get into the notification?