bring web-interface to desktop from different subnet

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.
Locked
vvz
Posts: 187
Joined: Wed Oct 30, 2013 5:15 pm

bring web-interface to desktop from different subnet

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: bring web-interface to desktop from different subnet

Post 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
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.
vvz
Posts: 187
Joined: Wed Oct 30, 2013 5:15 pm

Re: bring web-interface to desktop from different subnet

Post 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 .
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: bring web-interface to desktop from different subnet

Post 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.
Former Nagios employee
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: bring web-interface to desktop from different subnet

Post 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.
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.
vvz
Posts: 187
Joined: Wed Oct 30, 2013 5:15 pm

Re: bring web-interface to desktop from different subnet

Post by vvz »

great, thank you for quick answer
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: bring web-interface to desktop from different subnet

Post by tmcdonald »

vvz wrote:great, thank you for quick answer
Gonna lock this thread. If you have other questions feel free to open another.
Former Nagios employee
Locked