I was using nagios xi on centos 7 , naigos core 4.x
I'm wondering that is there a way can send nagios service alerts in JSON for future use ?
how to get nagios xi alert message in JSON
Re: how to get nagios xi alert message in JSON
The email message can be editted to send the data in the JSON format:
The change can be done under Admin > Users > Notification Management, or per user's Notification Options > Notifications Messages.
Code: Select all
{
"alert":"** ** * Nagios XI Alert ** ** *",
"alert summary":"%alertsummary %",
"Notification Type":"%type%",
"Host":"%host%",
"State":"%hoststate%",
"Address":"%hostaddress%",
"Info":"%hostoutput%",
"Date / Time":"%datetime%",
"Respond":"%responseurl%",
"Nagios URL":"%xiserverurl%",
"Host Duration":"%HOSTDURATION%",
"Host Duration2":"%hostduration%",
"Host Action URL":"%HOSTACTIONURL%"
}As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: how to get nagios xi alert message in JSON
thanks
please close this post
please close this post
Re: how to get nagios xi alert message in JSON
Glad to help!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.