Problem to monitor remote server due to dynamic IP at local PC
Marcus
adesperateuser at googlemail.com
Fri Sep 5 11:04:01 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
J. Bakshi schrieb:
> Dear list,
>
> I'm fade up to change the *allow_host* parameter of nrpe.cfg at the
> remote server.
> The problem is due to IP change at my local PC where nagios is running
> and monitoring the remote nrpe.
> Because of the IP change I have to modify the *allow_host* parameter of
> nrpe.cfg at the remote server
> every time. Is there any solution to overcome this ?
I could think of different possibilities.
1.) Try to get a static ip, and bind it to you NIC. You can bind
serveral IPs to one NIC, if you really need an ever-changing IP.
2.) Run nagios on another/virtual machine with fixed ip. (A server, maybe.)
3.) Use check_by_ssh instead of nrpe
4.) Allow the whole DHCP-subnet in the allow_host parameter (potentially
not so secure anymore).
Regards, Marcus
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFIwPYB+qVaNRZYOakRAk10AKC6GCh1KiOsESfs7aNW3Ksu4S/udACfWBet
AX0ufIxX0+kXP0TA4r2NoDg=
=w2Nm
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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