I'm fairly new to using Nagios Core, but I have successfully setup my nagios monitoring server, and from following the quickstart guide within the documentation, I have successfully got 1 server at a remote site up and running fine using the NSClient++. The problem lies with the fact that 1 client I am wanting to setup active monitoring for, have 7 servers, all behind 1 IP. From what I understand of NSClient++ you can only monitor the server that it is installed on to and not others within the domain.
What would be the best solution to be able to monitor all 7 servers with different sets of service/process that I would like to monitor?
Thanks in advance.
Multiple remote servers behind 1 IP
Re: Multiple remote servers behind 1 IP
You have a few options available to you.
1. Install SNMP tools on those servers and passively monitor instead.
2. A neat little feature (or a way to make your monitoring infrastructure a nightmare to manage depending on who you ask) of NRPE, one of the NSClient++ components, is the ability to use one host as a relay/proxy for others.
If you look for the heading # REMOTE NRPE PROXY COMMANDS in NSC.ini there's an example... unfortunately I don't have any of my own as I've never attempted to set it up. That said, it's pretty straight forward anyway
1. Install SNMP tools on those servers and passively monitor instead.
2. A neat little feature (or a way to make your monitoring infrastructure a nightmare to manage depending on who you ask) of NRPE, one of the NSClient++ components, is the ability to use one host as a relay/proxy for others.
If you look for the heading # REMOTE NRPE PROXY COMMANDS in NSC.ini there's an example... unfortunately I don't have any of my own as I've never attempted to set it up. That said, it's pretty straight forward anyway