Page 1 of 1
bring web-interface to desktop from different subnet
Posted: Thu Nov 21, 2013 11:27 pm
by vvz
I have a subnet 10.71.173.x with CentOS6 witn nagios server installed (no X of course) and a few PC's (CentOS5) in subnet with NRPE to be monitored.
Everything works just fine.
I have my Ubuntu desktop in another subnet (let's say 192.168.2.x).
Is it possible to have a graphic web-interface on my desktop of 10.71.173.x subnet?
Could somebody give a link to any manuals?
Thank you
Re: bring web-interface to desktop from different subnet
Posted: Fri Nov 22, 2013 11:45 am
by abrist
vvz wrote:Is it possible to have a graphic web-interface on my desktop of 10.71.173.x subnet?
Could you please clarify? Are you trying to access the nagios web ui from another subnet, or are you referring to something else?
vvz wrote:Could somebody give a link to any manuals?
http://www.nagios.org/documentation
Re: bring web-interface to desktop from different subnet
Posted: Fri Nov 22, 2013 11:57 am
by vvz
Let's say I have nagios installed on 10.71.173.2 (server, no GUI), I have another PC with NRPE to be controlled by nagios server 10.71.173.3 (no GUI)
I have my desktop with GUI 192.168.2.10
Can I get on my desktop ( my web-browser) what is going on 10.71.173.x subnet, so another words to use my desktop browser to display nagios server info .
Re: bring web-interface to desktop from different subnet
Posted: Fri Nov 22, 2013 12:05 pm
by tmcdonald
You might have to set up port forwarding on the router to allow port 80 traffic through to your Nagios machine. Firewall rules will likely be involved as well. Alternatively you could set up a tunnel (SSH or VPN) into that other network from your web-browsing machine and view it as if you were on the network.
Re: bring web-interface to desktop from different subnet
Posted: Fri Nov 22, 2013 12:07 pm
by abrist
Yep. Nagios serves a web ui on port 80. You will need to make sure you desktop can route to the subnet that the nagios server is on, or that port 80 has been forwarded.
On the desktop, try pinging the nagios server:
ping <ip of nagios server>
If you can ping it, then all you need to do is open it in a web browser:
http://<nagios server ip>/nagios
If you cannot ping it, you will need to check your router between the subnets. Either create a route between the two subnets, or configure port forwarding to port 80 on the nagios server.
Re: bring web-interface to desktop from different subnet
Posted: Fri Nov 22, 2013 12:08 pm
by vvz
great, thank you for quick answer
Re: bring web-interface to desktop from different subnet
Posted: Fri Nov 22, 2013 2:16 pm
by tmcdonald
vvz wrote:great, thank you for quick answer
Gonna lock this thread. If you have other questions feel free to open another.