On Fri, 05 Sep 2008 13:54:34 +0530 "J. Bakshi" <[EMAIL PROTECTED]> wrote:
> 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 ? MAC address based > authentication rather than > alow_host ? > Please let me know if there is any way to bypass this. > thanks Don't know if it's possible, but how about using a DNS entry instead of an IP Address? That way, provided your NRPE client can look up your DNS record, it shouldn't matter what the IP Address is. Failing that, write a short script to connect via ssh and run sed against the nrpe.cfg file to update the IP address and restart nrpe. HTH, M. -- Matthew Macdonald-Wallace [EMAIL PROTECTED] http://www.truthisfreedom.org.uk ------------------------------------------------------------------------- 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 [email protected] 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
