Question: Is it possible to use inline login for nagios?
Posted: Thu Oct 11, 2012 5:26 pm
Hi,
We have two Nagios servers that monitor one Data Center site each.
I am building a monitoring system that will periodically rotate between various full screen windows on a kiosk PC in our Ops center. The windows will be various monitoring systems, nagios is one of these.
what i want to be able to do is have a permalink to the tactical ops screen in nagios on each server side by side in an hta using frames (by setting each frame src to "http://nagiosA/nagiosxi/includes/compon ... screen.php" or "http://nagiosB/nagiosxi/includes/compon ... screen.php"
Currently I get a bank ops screen for both because the hta has called an url without logging in.
I am aware that we can set a user to be nominated as a default user, so that who ever hits the Nagios page gets automagically logged in as this user, if they want their own rights to apply, they logout and log in as themselves.
However, I don't want to use this mechanism as our client also has access to Nagios via their own very restricted login, and I don't want to nominate this as the default as i would have to give it more privileges than I am willing to give them.
So the question is:
Can I use inline login for an url to nagios to pass the credentials though so I get my TacOps screens displaying correctly.
eg
http://nagiosA/nagiosxi/includes/compon ... &pass=pass or
http://user:pass@nagiosA/nagiosxi/inclu ... screen.php
neither of these options work btw.
The kiosk is on a secure private network, and the account used will be low rights anyway, so the issue of having credentials in clear text is not a huge risk.
Any ideas?
KB.
We have two Nagios servers that monitor one Data Center site each.
I am building a monitoring system that will periodically rotate between various full screen windows on a kiosk PC in our Ops center. The windows will be various monitoring systems, nagios is one of these.
what i want to be able to do is have a permalink to the tactical ops screen in nagios on each server side by side in an hta using frames (by setting each frame src to "http://nagiosA/nagiosxi/includes/compon ... screen.php" or "http://nagiosB/nagiosxi/includes/compon ... screen.php"
Currently I get a bank ops screen for both because the hta has called an url without logging in.
I am aware that we can set a user to be nominated as a default user, so that who ever hits the Nagios page gets automagically logged in as this user, if they want their own rights to apply, they logout and log in as themselves.
However, I don't want to use this mechanism as our client also has access to Nagios via their own very restricted login, and I don't want to nominate this as the default as i would have to give it more privileges than I am willing to give them.
So the question is:
Can I use inline login for an url to nagios to pass the credentials though so I get my TacOps screens displaying correctly.
eg
http://nagiosA/nagiosxi/includes/compon ... &pass=pass or
http://user:pass@nagiosA/nagiosxi/inclu ... screen.php
neither of these options work btw.
The kiosk is on a secure private network, and the account used will be low rights anyway, so the issue of having credentials in clear text is not a huge risk.
Any ideas?
KB.