Page 1 of 1

url monitoring from server other than the nagios server

Posted: Fri Dec 16, 2016 4:23 pm
by dufourt
We have a DMZ that needs urls monitored. We can only monitor from servers internal to the DMZ and our Nagios server is outside the DMZ. Can we set up url monitors that will monitor from a different host (any random server that I define) other than the Nagios server outside of the DMZ?

Re: url monitoring from server other than the nagios server

Posted: Mon Dec 19, 2016 11:01 am
by mcapra
dufourt wrote:Can we set up url monitors that will monitor from a different host (any random server that I define) other than the Nagios server outside of the DMZ?
You could install NRPE/NSClient++ on one of those random servers and have that server be responsible for executing the URL checks. You would also need to install the nagios-plugins package or, at the very least, check_http depending on how you're monitoring the URLs.

If you're following this documentation for NRPE, that will include the check_http plugin:
https://assets.nagios.com/downloads/nag ... _Agent.pdf

Re: url monitoring from server other than the nagios server

Posted: Mon Dec 19, 2016 11:23 am
by eloyd
Also, if you're saying that there is simply no way for a host outside the DMZ to be able to send data to a host inside the DMZ, then you'll need to set up passive checks on [a] host inside the DMZ that send the results to your Nagios server. Look at https://assets.nagios.com/downloads/nag ... hecks.html for more details on that, and also look at the passive check wizard within XI.

Re: url monitoring from server other than the nagios server

Posted: Mon Dec 19, 2016 1:18 pm
by dwhitfield
Additionally, https://assets.nagios.com/downloads/nag ... e/NRPE.pdf has some graphs on indirect checks to go along with @mcapra's suggestion. It's hard to know the best thing to use for your checks when we know nothing about what you are monitoring. The more information you can give us the better assistance we can give. Thanks!