Installation help - CentOS 4.4 Server

af.at.work at gmail.com af.at.work at gmail.com
Thu Apr 26 21:44:45 CEST 2007


I tracked this down:
http://www.cisl.ucar.edu/nets/tools/nagios/

Which showed 1 way to resolve the issue - but is not the 'best' way to do
so.

On 4/26/07, Valdinger, Stephen (DOV, MSX) <stephen.valdinger at doverchem.com>
wrote:
>
>  Well, then, I am all out of ideas! I'll cc the rest of the list on this
> one and hopefully someone can help us figure out this issue.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Stephen Valdinger
>
> MIS Helpdesk Coordinator
>
> Dover Chemical Corporation
>
> 3676 Davis Rd NW
>
> Dover, OH 44622
>
> 330-365-3622
>
> stephen.valdinger at doverchem.com
>
>
>
>
>
>
>
> Your day probably won't get as bad as this guys……
>   ------------------------------
>
> *From:* af.at.work at gmail.com [mailto:af.at.work at gmail.com]
> *Sent:* Thursday, April 26, 2007 2:52 PM
> *To:* Valdinger, Stephen (DOV, MSX)
> *Subject:* Re: [Nagios-users] Installation help - CentOS 4.4 Server
>
>
>
> Yes, JUST grabbed whatever was up there today with the largest version
> number :)
>
> On 4/26/07, *Valdinger, Stephen** (DOV, MSX)* <stephen.valdinger at doverchem.com>
> wrote:
>
>
>
>
>
> Hmmm, that is a very interesting situation. Are you using the latest
> version of Apache?
>
>
>
> htpasswd -c /usr/local/nagios/etc/htpasswd.users nagiosadmin
>
>
>
> that is the documentation portion for setting up the login interface. It
> assumes you have the latest version of apache.
>
> Make sure you have the latest version.
>
>
>
>
>
>
>
>
>
> Stephen Valdinger
>
> MIS Helpdesk Coordinator
>
> Dover Chemical Corporation
>
> 3676 Davis Rd NW
>
> Dover, OH 44622
>
> 330-365-3622
>
> stephen.valdinger at doverchem.com
>
>
>
>
>
>
>
> Your day probably won't get as bad as this guys……
>   ------------------------------
>
> *From:* af.at.work at gmail.com [mailto: af.at.work at gmail.com]
> *Sent:* Thursday, April 26, 2007 2:39 PM
>
>
> *To:* Valdinger, Stephen (DOV, MSX)
> *Subject:* Re: [Nagios-users] Installation help - CentOS 4.4 Server
>
>
>
> This is the user I created:
>
> /usr/sbin/useradd nagios
>
> passwd nagios
>
>
>
> But am never prompted to use that account...
>
>
>
> On 4/26/07, *Valdinger, Stephen** (DOV, MSX) *<stephen.valdinger at doverchem.com>
> wrote:
>
> Set up a user for nagios ( I suggest nagiosadmin or something similar) and
> add that usr to the nagcmd group.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Stephen Valdinger
>
> MIS Helpdesk Coordinator
>
> Dover Chemical Corporation
>
> 3676 Davis Rd NW
>
> Dover, OH 44622
>
> 330-365-3622
>
> stephen.valdinger at doverchem.com
>
>
>
>
>
>
>
> Your day probably won't get as bad as this guys……
>   ------------------------------
>
> *From:* af.at.work at gmail.com [mailto: af.at.work at gmail.com]
> *Sent:* Thursday, April 26, 2007 2:12 PM
>
>
> *To:* Valdinger, Stephen (DOV, MSX)
> *Subject:* Re: [Nagios-users] Installation help - CentOS 4.4 Server
>
>
>
> I'm logged in as root - do not get prompted to log in to the Nagios app.
>
> On 4/26/07, *Valdinger, Stephen** (DOV, MSX)* <stephen.valdinger at doverchem.com>
> wrote:
>
> Do you authenticate to the webserver when you log on to nagios? You may
> need to add that user to nagcmd as well using
>
>
>
> /usr/sbin/useradd –G nagcmd *"yourusername" *
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Stephen Valdinger
>
> MIS Helpdesk Coordinator
>
> Dover Chemical Corporation
>
> 3676 Davis Rd NW
>
> Dover, OH 44622
>
> 330-365-3622
>
> stephen.valdinger at doverchem.com
>
>
>
>
>
>
>
> Your day probably won't get as bad as this guys……
>   ------------------------------
>
> *From:* af.at.work at gmail.com [mailto:af.at.work at gmail.com]
> *Sent:* Thursday, April 26, 2007 2:05 PM
> *To:* Valdinger, Stephen (DOV, MSX)
> *Cc:* nagios-users at lists.sourceforge.net
> *Subject:* Re: [Nagios-users] Installation help - CentOS 4.4 Server
>
>
>
> Restarted OK.. and "Things look okay - No serious problems were detected
> during the pre-flight check"
>
> As soon as I click one of the Service Detail link I get the permissions
> error...
>
> On 4/26/07, *Valdinger, Stephen** (DOV, MSX)* <stephen.valdinger at doverchem.com>
> wrote:
>
> Oh, shit, haha, yes you will have to restart the apache server for the
> change to take effect
>
> Also make sure your changes to any config files don't produce and
> ERRORS, warnings are ok, but errors cause nagios not to function
>
>
> To restart server :
> service httpd restart
>
>
> check nagios config:
> /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
>
>
>
>
> Stephen Valdinger
> MIS Helpdesk Coordinator
> Dover Chemical Corporation
> 3676 Davis Rd NW
> Dover, OH 44622
> 330-365-3622
>  <stephen.valdinger at doverchem.com>stephen.valdinger at doverchem.com
>
>
>
> Your day probably won't get as bad as this guys......
> -----Original Message-----
> From: af.at.work at gmail.com [mailto: af.at.work at gmail.com]
> Sent: Thursday, April 26, 2007 1:58 PM
> To: Valdinger, Stephen (DOV, MSX)
> Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server
>
> Sorry, that didn't do it... do I have to restart the server or
> anything like that?
>
> On 4/26/07, af.at.work at gmail.com < af.at.work at gmail.com> wrote:
> > Thanks.
> >
> > /usr/sbin/useradd -G nagcmd www-data
> >
> >
> > That did the trick... the install instructions used a different group
> name.
> >
> >
> > On 4/26/07, Valdinger, Stephen (DOV, MSX)
> <stephen.valdinger at doverchem.com>
> > wrote:
> > > /usr/sbin/useradd -G nagioscmd www-data
> > >
> > > That should give the webserver access if you have not already done
> so
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Stephen Valdinger
> > > MIS Helpdesk Coordinator
> > > Dover Chemical Corporation
> > > 3676 Davis Rd NW
> > > Dover, OH 44622
> > > 330-365-3622
> > > stephen.valdinger at doverchem.com
> > >
> > >
> > >
> > > Your day probably won't get as bad as this guys......
> > >
> > > -----Original Message-----
> > > From: af.at.work at gmail.com [mailto:af.at.work at gmail.com]
> > > Sent: Thursday, April 26, 2007 1:52 PM
> > > To: Valdinger, Stephen (DOV, MSX)
> > > Cc: nagios-users at lists.sourceforge.net
> > > Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server
> > >
> > > We're cooking now ...
> > >
> > > I can log in - but get a perms error / warning
> > >
> > > It appears as though you do not have permission to view information
> > > for any of the services you requested...
> > >
> > > If you believe this is an error, check the HTTP server
> authentication
> > > requirements for accessing this CGI
> > > and check the authorization options in your CGI configuration file.
> > >
> > >
> > >
> > > On 4/26/07, Valdinger, Stephen (DOV, MSX)
> > > <stephen.valdinger at doverchem.com> wrote:
> > > > He should update to version 1.4.8 on the plugins for some of the
> stuff
> > > > to work in 3.0a2
> > > >
> > > > wget
> > > >
> > >
> >
> http://sourceforge.net/project/downloading.php?group_id=29880&use_mirror
> > > > =internap&filename=nagios-plugins-1.4.8.tar.gz&40722747
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Stephen Valdinger
> > > > MIS Helpdesk Coordinator
> > > > Dover Chemical Corporation
> > > > 3676 Davis Rd NW
> > > > Dover, OH 44622
> > > > 330-365-3622
> > > > stephen.valdinger at doverchem.com
> > > >
> > > >
> > > >
> > > > Your day probably won't get as bad as this guys......
> > > >
> > > > -----Original Message-----
> > > > From: af.at.work at gmail.com [mailto: af.at.work at gmail.com]
> > > > Sent: Thursday, April 26, 2007 1:41 PM
> > > > To: Jason Salaz
> > > > Cc: nagios-users at lists.sourceforge.net
> > > > Subject: Re: [Nagios-users] Installation help - CentOS 4.4 Server
> > > >
> > > > wget
> > > >
> > http://osdn.dl.sourceforge.net/sourceforge/nagios/nagios-3.0a2.tar.gz
> > > > wget
> > > >
> > >
> >
> http://osdn.dl.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4
> > > > .7.tar.gz
> > > >
> > > > On 4/26/07, Jason Salaz < jsalaz at meteostar.com> wrote:
> > > > > af.at.work at gmail.com wrote:
> > > > > > I have followed the install guide
> > > > > > (
> > http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html )
> > > down
> > > > > > to step #5
> > > > > >
> > > > > > 5) Configure the Web Interface
> > > > > >
> > > > > > Install the Nagios web config file in the Apache conf.d
> directory.
> > > > > >
> > > > > > make install-webconf
> > > > > >
> > > > > >
> > > > > > But, after running  'make install-webconf' I get:
> > > > > > make: *** No rule to make target `install-webconf'.  Stop.
> > > > > >
> > > > > > Any help would be most appreciated.
> > > > >
> > > > > Which version of Nagios are you trying to install?
> > > > >
> > > > > --
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
> ------------------------------------------------------------------------
> > > > -
> > > > This SF.net email is sponsored by DB2 Express
> > > > Download DB2 Express C - the FREE version of DB2 express and take
> > > > control of your XML. No limits. Just data. Click to get it now.
> > > > http://sourceforge.net/powerbar/db2/
> > > > _______________________________________________
> > > > 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
> > > >
> > > >
> > >
> > >
> >
> >
>
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070426/d6f36bff/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4020 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070426/d6f36bff/attachment.jpg>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
-------------- next part --------------
_______________________________________________
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