Is it possible to monitor a DMZ server with Nagios? I'm trying to monitor the FTP server and the physical host.
Thanks.
Monitor DMZ server
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: Monitor DMZ server
Anything that you allow connectivity to in one way or another you will be able to monitor. There is a wizard available for FTP monitoring set up also.
Re: Monitor DMZ server
Yeah its possible to monitor a service like that in a DMZ. Obviously SNMP isn't allowed but you can still use NRPE. There is a detailed write up on installing NRPE here:
http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf
With that you should be able to find a plethora of plugins on the Exchange the checks you specified.
http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf
With that you should be able to find a plethora of plugins on the Exchange the checks you specified.
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Monitor DMZ server
Tony,
I tried to monitor a FTP server on this DMZ server via "Configuration Wizard" but failed with the following message:
Error: Could not find any host matching '192.168.xx.xx' (config file '/usr/local/nagios/etc/services/192.168.xx.xx.cfg', starting on line 14)
The config for this service is attaced. Thanks.
I tried to monitor a FTP server on this DMZ server via "Configuration Wizard" but failed with the following message:
Error: Could not find any host matching '192.168.xx.xx' (config file '/usr/local/nagios/etc/services/192.168.xx.xx.cfg', starting on line 14)
The config for this service is attaced. Thanks.
You do not have the required permissions to view the files attached to this post.
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: Monitor DMZ server
If find it a bit hard to believe that's your actual config file, as it doesn't even have a host declaration in it.
Re: Monitor DMZ server
Tony,
I though I replied this post asking if check_ftp requires an agent installed on the remote host. I wasn't really sure how this plugin works since this is my first time using it. Sorry about that.
Thanks.
I though I replied this post asking if check_ftp requires an agent installed on the remote host. I wasn't really sure how this plugin works since this is my first time using it. Sorry about that.
Thanks.
Re: Monitor DMZ server
tgfde,
If you just wanted to check to see if people can login to the ftp server you shouldn't need to install an agent for that as the Nagios server would simply attempt to connect to the server, and if it couldn't, it would raise an error. However, if you wanted to check other statistics of that ftp server, such as Disk Space or CPU Usage, you would need to install an NRPE agent on the FTP server.
If you just wanted to check to see if people can login to the ftp server you shouldn't need to install an agent for that as the Nagios server would simply attempt to connect to the server, and if it couldn't, it would raise an error. However, if you wanted to check other statistics of that ftp server, such as Disk Space or CPU Usage, you would need to install an NRPE agent on the FTP server.
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Monitor DMZ server
Besides opening port 12489 for NSClient to monitor a server in a DMZ via NSClient, are there other ports I need to open for communications between Nagios server and the agent?
Thank you in advanced.
Thank you in advanced.
Re: Monitor DMZ server
To be more specific here are the ports I've requested to be open and its direction.
12489 on DMZ servers – Corpmon6 outbound to DMZ
5666 on DMZ servers – Corpmon6 outbound to DMZ
5667 on corpmon6 – DMZ outbound to Corpmon6
Thanks.
12489 on DMZ servers – Corpmon6 outbound to DMZ
5666 on DMZ servers – Corpmon6 outbound to DMZ
5667 on corpmon6 – DMZ outbound to Corpmon6
Thanks.
Re: Monitor DMZ server
No those should be all that it takes. NRPE will try to access port 5666 [default] so you've got that one covered. I'm not totally sure if the 5667 will be necessary as the socket has already been established, but it can't hurt. Also, are you going to be running check_nt checks against this server? If so, then the 12489 addition is great, if not then its unecessary.
Nicholas Scott
Former Nagios employee
Former Nagios employee