Including Nagios Log Server messages in Nagios XI alerts
Posted: Mon Apr 15, 2019 4:46 pm
Hello,
Perhaps my Google-fu is weak, but I can't seem to find a way to perform what I believe to be a simple operation: include a Nagios Log Server message in a Nagios XI alert.
I am using check_xi_service_nagioslogserver to run a query against our Nagios Log Server. The query is simple: find a string of text in the Message field. If that string exists, fire the alert. The alert then sends an email out to the on-call person.
What I'd like to do is include the entire message in the email alert as the message contains the steps to fix the issue. Potentially compounding this task is the fact that the message will be multi-line.
Is there a way to do this?
-- Mike Beebe
Perhaps my Google-fu is weak, but I can't seem to find a way to perform what I believe to be a simple operation: include a Nagios Log Server message in a Nagios XI alert.
I am using check_xi_service_nagioslogserver to run a query against our Nagios Log Server. The query is simple: find a string of text in the Message field. If that string exists, fire the alert. The alert then sends an email out to the on-call person.
What I'd like to do is include the entire message in the email alert as the message contains the steps to fix the issue. Potentially compounding this task is the fact that the message will be multi-line.
Is there a way to do this?
-- Mike Beebe