Problem to monitor remote server due to dynamic IP at local PC

J. Bakshi joydeep at infoservices.in
Fri Sep 5 10:55:42 CEST 2008


Andreas Ericsson wrote:
> J. Bakshi wrote:
>> 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 ?
>
> Patch nrpe to allow dns name lookups in the "allowed_hosts" field and use
> that instead of ip addresses.

Thanks a lot Andreas for your suggestion.
But my local PC has no domain.
Thanks a lot for the solution instead

>
>> MAC address based
>> authentication rather than
>> alow_host ?
>
> MAC addresses are only available in the ARP protocol, so no luck there
> I'm afraid.
>


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Joydeep Bakshi, Linux System Admin
Kolkatainfoservices Pvt Ltd,
23A Royd Street, Kolkata 700016, India
Work Phone 91 033 40014784
http://infoservices.in/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-------------------------------------------------------------------------
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