Nagios Setup

Serg Belokamen serg.belokamen at gmail.com
Tue May 24 13:58:54 UTC 2005


There are few things you have to watch out for.

1. When you testing Nagios explcitly check if there is one and only one
Nagios process running. If not, kill, kill, kill.
To see nagios processes: 
"ps aux | grep -i nagios"

2. Did you use a debug mode??
/path/to/nagios/executable -v /path/to/main/nagios.conf
On my server it looks like this:
"/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg"

3. Take a look at this URL (below) I found it to be VERY helpful when I
was first installing it:
http://www.onlamp.com/pub/a/onlamp/2002/09/05/nagios.html?page=1

Don't give up just yet, since Nagios is actually a rather complicated
app. to configure first time round since you need to edit almost all
configuration files rather then letting them run in default. 

Also, I missed the original question, so if you want to post it again
here I might be able to tell you what you are doing wrong and how to fix
it. 


   Cheers,
      Serg

On Tue, 2005-05-24 at 14:30 +0200, Johann Spies wrote:
> On Tue, May 24, 2005 at 03:25:26AM -0400, nocturn wrote:
> > 
> > A good place to start looking is the apache log files (in /var/log).
> > 
> > Particulary, the error_log should say something usefull.
> > 
> > 
> > 
> > One thing, you did restart Apache after changing the files?
> 
> And also:  Did you restart nagios after fiddling with the
> configuration files?
> 
> Regards
> Johann
> 
> -- 
> Johann Spies          Telefoon: 021-808 4036
> Informasietegnologie, Universiteit van Stellenbosch
> 
>      "I will praise thee; for I am fearfully and wonderfully 
>       made..."       Psalms 139:14 
> 





More information about the ubuntu-users mailing list