FreeBSD could not get group entry for Nagios

Andy Shellam (Mailing Lists) andy.shellam-lists at mailnetwork.co.uk
Wed Jan 10 11:17:24 CET 2007


Personally I prefer to compile from source as I know exactly what it 
does and where things go.

I sorted it anyway, it was basically a config item that still read 
"nagios_group=nagios" - I changed that to "nagios_group=localservice" 
and the warning went away.

Thanks

Andy

Dan Langille wrote:
> On 9 Jan 2007 at 22:36, Andy Shellam (Mailing Lists) wrote:
>
>   
>> Hi Dan,
>>
>> Thanks for the reply (answers inline below)
>>
>> Dan Langille wrote:
>>     
>>> Did you install via ports?
>>>   
>>>       
>> No - downloaded 2.6 and compiled from source.
>>     
>>> Are you missing this?
>>>
>>> $ grep nagios /etc/group
>>> nagios:*:1005:
>>>   
>>>       
>> I don't think so - I configured Nagios with:
>>
>> ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin 
>> --with-htmurl=/nagios --with-nagios-user=nagios 
>> --with-nagios-group=localservice --with-command-group=webservice
>>
>> so this should say the Nagios group is "localservice" - right?
>> The Nagios user has "localservice" set as it's default group, and it's 
>> also a member of "webservice" - the command group.
>>     
>
> Sorry, I don' t know.  I always use the port, and let it do what it 
> does.  :(  By using the port, it trivializes upgrades and removals,  
> and makes security notices easier (e.g. security/portaudit).
>
> cd /usr/port/net-mgtm/nagios
> make install
>
> pretty easy... and if you need/want special config items, you can 
> still do them, plus you get the benefits of packaging.
>
> My recommendation: remove what you installed, and use the port.
>
>   


-- 
Andy Shellam
NetServe Support Team

the Mail Network
"an alternative in a standardised world"

p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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