[Nagiosplug-devel] nagiosplug for dynamic IP host

Jochen Bern Jochen.Bern at LINworks.de
Mon Oct 8 11:59:48 CEST 2012


On 08.10.2012 11:23, 陈超 wrote:
> But most of our servers are dynamic IP host, I wander there are
> nagios plug-in for monitoring dynamic IP host or not.

Monitoring machines which have dynamic IPs is a problem that merits some
care *above* the plugin level.

If your servers have dynamic IPs, but your Nagios machine has a fixed
one, you could avoid most of the problem by letting the *servers*
contact *Nagios* to transmit check results (i.e., use NSCA).

If there is some *other* server which has a fixed IP, and some CPU to
spare, you could have Nagios and the servers establish a VPN connection
to that server that they and Nagios can talk over. (I understand that
OpenVPN, in particular, allows you to specifically enable support for
(VPN) clients at dynamic IPs and (VPN-)client-to-(VPN-)client
communication.)

If everything else fails, there is, of course, the option of having the
servers register their current IP at some dynamic DNS service.

Once that choice has been made, the *plugins* to use result in a more or
less straightforward manner from what overhead you had to add in order
to handle the dynamic IPs - i.e., if you use dynamic DNS, you also want
to monitor the DNS server, if you use VPN, you need to monitor that
that's still running, etc.. You'll likely want to use parents and
service dependencies so as to avoid

Regards,
								J. Bern
-- 
*NEU* - NEC IT-Infrastruktur-Produkte im <http://www.linworks-shop.de/>:
Server--Storage--Virtualisierung--Management SW--Passion for Performance
Jochen Bern, Systemingenieur --- LINworks GmbH <http://www.LINworks.de/>
Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt
PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27
Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202
Unternehmenssitz Weiterstadt, Geschäftsführer Metin Dogan, Oliver Michel




More information about the Devel mailing list