Re: [Nagios-users] FreeBSD could not get group entry for Nagios

2007-01-10 Thread Andy Shellam (Mailing Lists)
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] FreeBSD could not get group entry for Nagios

2007-01-09 Thread Andy Shellam (Mailing Lists)
I'm testing Nagios out on a FreeBSD 6.1 system, and am getting a warning 
about Nagios' group entry when I run a config file check - will this 
cause any problems?
---
Nagios 2.6
Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
Last Modified: 11-27-2006
License: GPL

Reading configuration data...

Warning: Could not get group entry for 'nagios'
---

Passwd entry:
nagios:*:1002:1001:Nagios Service Account:/home/nagios:/usr/local/bin/bash

Group file entry:
localservice:*:1001:

Thanks,

Andy

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] FreeBSD could not get group entry for Nagios

2007-01-09 Thread Dan Langille
On 9 Jan 2007 at 22:00, Andy Shellam (Mailing Lists) wrote:

 I'm testing Nagios out on a FreeBSD 6.1 system, and am getting a warning 
 about Nagios' group entry when I run a config file check - will this 
 cause any problems?

Did you install via ports?

 Nagios 2.6
 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org)
 Last Modified: 11-27-2006
 License: GPL
 
 Reading configuration data...
 
 Warning: Could not get group entry for 'nagios'
 ---
 
 Passwd entry:
 nagios:*:1002:1001:Nagios Service Account:/home/nagios:/usr/local/bin/bash
 
 Group file entry:
 localservice:*:1001:

Are you missing this?

$ grep nagios /etc/group
nagios:*:1005:
-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php
PGCon - The PostgreSQL Conference - http://www.pgcon.org/



-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] FreeBSD could not get group entry for Nagios

2007-01-09 Thread Andy Shellam (Mailing Lists)
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.

Thanks,

Andy

-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] FreeBSD could not get group entry for Nagios

2007-01-09 Thread Andy Shellam (Mailing Lists)
For info - this warning does not prevent Nagios from starting up - 
however if you add a group called nagios it goes away.
Perhaps there's a bug in this/other versions where it checks for the 
specific group called nagios and not the one used in the configure 
script - or is this a feature? ;)

Andy.


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.

 Thanks,

 Andy



-- 
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] FreeBSD could not get group entry for Nagios

2007-01-09 Thread Robert Hajime Lanning

quote who=Andy Shellam (Mailing Lists)
 For info - this warning does not prevent Nagios from starting up -
 however if you add a group called nagios it goes away.
 Perhaps there's a bug in this/other versions where it checks for the
 specific group called nagios and not the one used in the configure
 script - or is this a feature? ;)

in nagios.cfg:

# NAGIOS GROUP
# This determines the effective group that Nagios should run as.
# You can either supply a group name or a GID.

nagios_group=nagios

-- 
And, did Galoka think the Ulus were too ugly to save?
 -Centauri


-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] FreeBSD could not get group entry for Nagios

2007-01-09 Thread Andy Shellam (Mailing Lists)
Robert Hajime Lanning wrote:
 quote who=Andy Shellam (Mailing Lists)
   
 For info - this warning does not prevent Nagios from starting up -
 however if you add a group called nagios it goes away.
 Perhaps there's a bug in this/other versions where it checks for the
 specific group called nagios and not the one used in the configure
 script - or is this a feature? ;)
 

 in nagios.cfg:

 # NAGIOS GROUP
 # This determines the effective group that Nagios should run as.
 # You can either supply a group name or a GID.

 nagios_group=nagios

   
Ah brill! Thanks for that Robert :)
I hadn't thought about checking the config - I thought that's what the 
configure option was for :S

-- 
Andy Shellam
NetServe Support Team

the Mail Network
an alternative in a standardised world



-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] FreeBSD could not get group entry for Nagios

2007-01-09 Thread Dan Langille
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.

-- 
Dan Langille : Software Developer looking for work
my resume: http://www.freebsddiary.org/dan_langille.php
PGCon - The PostgreSQL Conference - http://www.pgcon.org/



-
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.phpp=sourceforgeCID=DEVDEV
___
Nagios-users mailing list
Nagios-users@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