url monitoring from server other than the nagios server
url monitoring from server other than the nagios server
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
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.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?
If you're following this documentation for NRPE, that will include the check_http plugin:
https://assets.nagios.com/downloads/nag ... _Agent.pdf
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: url monitoring from server other than the nagios server
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.
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: url monitoring from server other than the nagios server
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!