XI Notificationhandler for Core contact

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tito.cadavez
Posts: 1
Joined: Fri Oct 20, 2017 4:15 am

XI Notificationhandler for Core contact

Post by tito.cadavez »

Hi,

I've been trying to use the "xi_host_notification_handler" and "xi_service_notification_handler" for core contacts, but seems it only works for XI managed contacts.
So I followed this guide:
https://assets.nagios.com/downloads/nag ... Mailer.pdf

The problem is that this core contact notification has less information than the XI notification handler.
Is there a way to create a similar handler for core contacts? The most important thing for me here are the 2 last fields:
Respond: %responseurl%
Nagios URL: %xiserverurl%

Thanks in advance.
kyang

Re: XI Notificationhandler for Core contact

Post by kyang »

This can't be done when using the notify-host-by-email & notify-service-by-email handler.

The XI notification handler is specific to XI contacts and uses its own macros.
https://assets.nagios.com/downloads/nag ... iables.pdf

They are different from the macro's core uses.
https://assets.nagios.com/downloads/nag ... olist.html

The easiest solution would be to create an XI user and use the XI handler. That way you could still the %responseurl% and %xiserverurl%.
Locked