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
Add permanent link to notifications
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Add permanent link to notifications
You can use this URL, then if they aren't logged in it will prompt then to login
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.
Code: Select all
http://nagios.fao.org/nagiosxi/?&xiwindow=http%3A%2F%2Fnagios.fao.org%2Fnagiosxi%2Fincludes%2Fcomponents%2Fxicore%2Fstatus.php%3Fhost%3Dlocalhost