web-servicesnotificationsmonitoringnagios

Can nagios be configured to send notifications using web services?


From reading this article, it looks like Nagios Core is configured out of the box to send out notifications using email.

The Helpful Resources section does mention alternate notification mechanisms. I was wondering if there is a way to configure Nagios to send out notifications using web services.

Has anyone tried this before. Could someone please point me to some useful resources/links online.


Solution

  • Nagios can be configured to call any script (see service_notification_commands in contact definitions and command definitions in command.cfg), so, just provide a script which then calls a webservice (e.g., using wget, curl or any other technology).

    See https://serverfault.com/a/480587/237109.