NRPE and ip range in allowed hosts
Michael Friedrich
michael.friedrich at univie.ac.at
Thu Sep 23 14:31:16 CEST 2010
Assaf Flatto wrote:
> On 23/09/10 12:40, Andreas Ericsson wrote:
>
>> On 09/22/2010 03:47 PM, Assaf Flatto wrote:
>>
>>> Hello
>>>
>>> Has anyone tried placing a range ip entry in the allowedhosts directive
>>> of NRPE ?
>>>
>>> Will putting 10.1.0.0/24 work ?
>>>
>>>
>> No, it won't.
>>
>>
>>> If not ,does anyone know if is it something that is planned to future
>>> versions of NRPE ?
>>>
>> It's not. NRPE isn't maintained very rigorously since it Just Works(tm).
>>
>>
>
> So there is no way to specify a range of servers , one must put all IP's
> individually ?
>
is_an_allowed_host either awaits hostname(s) to do a dns resolve, or
checks for an ip list. no ip ranges currently possible from within that
code base.
possible resolution might be a cidr check, getting lowest and highest ip
from allowed_range and compare then the converted unsigned long's.
Kind regards,
Michael
--
DI (FH) Michael Friedrich
Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria
email: michael.friedrich at univie.ac.at
phone: +43 1 4277 14359
fax: +43 1 4277 14279
web: http://www.univie.ac.at/zid
Icinga Core& IDOUtils Developer
http://www.icinga.org
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
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