Page 1 of 1
MNTOS not displaying tac.cgi information in MNTOS URL
Posted: Tue Jan 20, 2015 9:34 am
by gpgoriup
I have a number of Nagios Core instances running in my closed network. Each instance of Nagios is monitoring a specific area of the network. I am trying to install MNTOS so that I can consolidate dashboards but I am running into problems trying to display content information from the tac.cgi file. I am running Apache 2.2.27 with Nagios Core 3.5.1. My network.ini file appears to be working as I am able to render the public web site. I can display networks and contacts listed from my network.ini and contacts.ini on the page but the page is not rendering any dynamic information from my tac.cgi files (meaning the up/down, warnings/cricital, acknowledged, etc. do not have any data). The error message I get indicates MNTOS cannot retrieve the Nagios information from any network identified in my network.ini file. Has anyone seen this error before?
Re: MNTOS not displaying tac.cgi information in MNTOS URL
Posted: Wed Jan 21, 2015 2:49 pm
by abrist
Can you post your network.ini file?
Re: MNTOS not displaying tac.cgi information in MNTOS URL
Posted: Thu Jan 22, 2015 6:39 am
by gpgoriup
My network.ini file looks like this:
[Headquarters]
id=1
location="Florida Building 1"
network="Production"
nagios="
https://10.10.10.1:8001/nagios/cgi-bin/tac.cgi"
public="
https://10.10.10.1:8001/nagios"
contacts=1,2
icon="img/nagios-clearbg.png"
[Campus2]
id=2
location="Florida Building 2"
network="People Services"
nagios="
https://10.10.20.1:8001/nagios/cgi-bin/tac.cgi"
public="
https://10.10.20.1:8001/nagios"
contacts=1,2
icon="img/TheGazelle.png"
Re: MNTOS not displaying tac.cgi information in MNTOS URL
Posted: Thu Jan 22, 2015 5:57 pm
by tgriep
Try changing this line from
nagios="
https://10.10.10.1:8001/nagios/cgi-bin/tac.cgi"
to
Where the username and the password is the username and password to login to the server at 10.10.10.1
Re: MNTOS not displaying tac.cgi information in MNTOS URL
Posted: Mon Jan 26, 2015 1:32 pm
by gpgoriup
I've tried it both ways and neither seems to work.
Re: MNTOS not displaying tac.cgi information in MNTOS URL
Posted: Mon Jan 26, 2015 2:08 pm
by tgriep
Open a web browser on a PC and see if you can get to the TAC data from the command below.
Post back the screen that you see when you try this.
Re: MNTOS not displaying tac.cgi information in MNTOS URL
Posted: Wed Feb 04, 2015 7:40 am
by gpgoriup
Sorry for the delayed response. Unfortunately I am unable to post the contents of your request because it is hosted on a different network. I can say that when I put that link into a browser I am able to see the TAC.cgi link (Tactical Overview page). They only different I notice is the menu column on the left side is not displayed, everything else is in working. The hyperlinks for Network Outages, Host, Services and Monitoring Services are all working.
Re: MNTOS not displaying tac.cgi information in MNTOS URL
Posted: Thu Feb 05, 2015 12:14 pm
by tgriep
The main thing I wanted to know is if it worked or not.
Is there a firewall between the MNTOS server and the Nagios server?
Are both of the servers on the same network?
I'll try to duplicate the problem you are having and let you know what I find.
Re: MNTOS not displaying tac.cgi information in MNTOS URL
Posted: Thu Feb 05, 2015 4:59 pm
by tgriep
I have my MNTOS system up and It seems to be working except it doesn't seem to be refreshing. Still looking into that.
Can you check the apache error logs to see if there are any errors?
Code: Select all
tail --lines=200 /var/log/httpd/error_log
tail --lines=200 /var/log/httpd/access_log