Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
We are working to create a web page that will be a dashboard for NMS and I am trying to display the Nagios CGI images that are generated for specific hosts and services under "Trends" and "Availablity". I have attached an example of the image I am trying to display.
I don't mean for this discussion to become about Apache and HTML but wanted to ask the amazing users in this forum how they did it?
I have the following added to a web page on a remote server which displays this image but also requires a login to view these images.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
What I'm going to do is create a read only account and put that user's creds in the URL instead of the placing the nagiosadmin accounts.
I'm also looking into encrypting the password in the URL.
In addition to this, I have a bash script that runs on a cron job that changes the epoch time (t1=epoch time minus 1 day, t2=current epoch time) in my HTML code to solve that issue.
mgaribaldi wrote:
I'm also looking into encrypting the password in the URL.
I doubt this is possible with basic auth.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.