Change nagios monitoring port
Matthew Macdonald-Wallace
lists at truthisfreedom.org.uk
Fri Jun 13 16:19:09 CEST 2008
On Fri, 13 Jun 2008 22:02:49 +0800
"howard chen" <howachen at gmail.com> wrote:
> Yes, some of them are 4000, but some of them maybe listening others...
> so are there other methods?
We have three "check_commands_nrpe.cfg" files in our Nagios2 setup:
check_commands_nrpe.cfg
check_commands_nrpe_5667.cfg
check_commands_nrpe_5668.cfg
They are identical listings of the check commands save that the port
numbers are different (5666,5667 and 5668 accordingly).
This means that when we define a host that is behind another host
(i.e. monitoring Servers on a LAN from a WAN Connection) we just
forward port 5667 on the public IP to port 5666 on the private IP and
it all works.
Having said all of that, we're moving to an OpenVPN-based solution for
any machines that are in the current setup to remove the reliance on a
single point of failure.
M.
--
|Matthew Macdonald-Wallace
|Tiger Computing Ltd
|"The Linux Specialists"
|
|Tel: 0330 088 1511
|Web: http://www.tiger-computing.co.uk
|
|Registered in England. Company number: 3389961
|Registered address: Wyastone Business Park,
| Wyastone Leys, Monmouth, NP25 3SR
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list