Add permanent link to notifications

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
fao
Posts: 99
Joined: Thu Feb 03, 2011 3:05 am

Add permanent link to notifications

Post by fao »

Hi there,

We would like to add this link http://nagios.fao.org/nagiosxi/includes ... $HOSTALIAS$ to the notify-host-by-email and notify-service-by-email commands in order to provide contacts receiving notifications with a instantaneous view on the host status. This works perfectly only if the user has an open session to the Nagios interface. Is there a way to get it working with a direct access bypassing the authentication?

Regards
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Add permanent link to notifications

Post by scottwilkerson »

You can use this URL, then if they aren't logged in it will prompt then to login

Code: Select all

http://nagios.fao.org/nagiosxi/?&xiwindow=http%3A%2F%2Fnagios.fao.org%2Fnagiosxi%2Fincludes%2Fcomponents%2Fxicore%2Fstatus.php%3Fhost%3Dlocalhost
The only other way would be to have the system log them in as a particular user. You could setup such a user and then get the username and ticket from the backend API component and tack that on to the query string.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked