[opensuse] nagios on OpenSUSE 10.3
Hi all, I just installed nagios on OpenSUSE 10.3. Nagios Network Monitor 2.9-48 NagiosGrapher 1.6.1RC3-58 Nagios Remote Plug-in Executor 2.8.1-50 Nagios Service Check Accelerator & Client 2.7.2-11 Nagios Plug-Ins 1.4.9-19 Nagios Plug-Ins Extra 1.4.9-19 Nagios Network Monitor 2.9-48 I went through the installation docs on http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html The installation is for OpenSUSE 10.2. I noticed that the config files are quite somewhere else in 10.3. Up to point 7 the installation with YaST works. In the documentation, I tried and even got a test run done successfully with: nagios -v /etc/nagios/nagios.cfg Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check I started nagios as in point 7 with: service nagios start It went OK: # service nagios start Starting nagios done I installed autostarting of Nagios with boot: chkconfig --add nagios chkconfig nagios on I want to use FireFox as described in 8: http://localhost/nagios/ There is no entry or a directory in /srv/www/htdocs for nagios Has anyone done an installation on 10.3 and got it working with Apache? :-) Al -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 25 Oct, 2007 at 23:19:05 +0200, LLLActive@GMX.Net wrote:
Hi all,
Hi Al ;)
I just installed nagios on OpenSUSE 10.3. Nagios Network Monitor 2.9-48 NagiosGrapher 1.6.1RC3-58 Nagios Remote Plug-in Executor 2.8.1-50 Nagios Service Check Accelerator & Client 2.7.2-11 Nagios Plug-Ins 1.4.9-19 Nagios Plug-Ins Extra 1.4.9-19 Nagios Network Monitor 2.9-48
These are all rpms, right?
I went through the installation docs on http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html
It may not matter a whole lot, wrt installation, but the above link is for Nagios version 3.x
The installation is for OpenSUSE 10.2. I noticed that the config files are quite somewhere else in 10.3.
Most likely the differences you're seeing aren't related to the version of the OS, but rather the fact that the installation instructions are written for an 'install from source' aka 'configure, make, make install' -type of install. That translates to 'everything goes somewhere under /usr/local/' - more or less. What you've (hopefully) got is an rpm-based install: The packages that come with the distribution have all the parts relocated to their 'proper' LSB locations - which means 'config files go under /etc/nagios/' 'binaries go under /usr/sbin/' etcetc. By all means, stay with the rpms ;)
Up to point 7 the installation with YaST works.
The above is what makes me *assume* that you've installed the rpms.
In the documentation, I tried and even got a test run done successfully with:
nagios -v /etc/nagios/nagios.cfg
Total Warnings: 0 Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
Good. Everything ok with the config then.
I started nagios as in point 7 with: service nagios start
It went OK: # service nagios start Starting nagios done
There's also the 'suse-method' of; rcnagios start - but that's besides the point.
I installed autostarting of Nagios with boot:
chkconfig --add nagios chkconfig nagios on
Usually (I think) suse lets you do both of the above commands in one go; chkconfig -a nagios - again; besides the point
I want to use FireFox as described in 8: http://localhost/nagios/
Obviously ;)
There is no entry or a directory in /srv/www/htdocs for nagios
Nope. The SuSEfication doesn't extend that far (wrt to the packaging). The webpages live under /usr/share/nagios/ and the CGIs under /usr/lib/nagios/cgi/ It shouldn't matter much, though. Unless there's a packaging error, it should all be taken care of by /etc/apache2/conf.d/nagios.conf
Has anyone done an installation on 10.3 and got it working with Apache?
Not really. But I'm using it with sled10 sp1. First hunch; Did you (re)start apache? What do the logs say?
:-) Al
HTH /jon -- YMMV -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Friday 26 October 2007 22:38:17 Jon Clausen wrote:
Has anyone done an installation on 10.3 and got it working with Apache?
Not really. But I'm using it with sled10 sp1.
First hunch;
Did you (re)start apache?
What do the logs say?
:-) Al
HTH /jon
Hi Jon, Thanx for the response and the info. I've been away a while, and just noticed your mail to the list now. Yes I worked with RPM's, actually using YaST with the community repositories now standard in OpenSUSE 10.3, which includes many packages not on the standard repository and OSS DVD. I did restart apache then, but after I just tried it this morning, it works. It seems to work with OpenSUSE 10.3 as outlined in the link at nagios: http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html. Thanx, Al -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sun, 28 Oct, 2007 at 12:01:57 +0100, LLLActive@GMX.Net wrote:
On Friday 26 October 2007 22:38:17 Jon Clausen wrote:
Has anyone done an installation on 10.3 and got it working with Apache?
Not really. But I'm using it with sled10 sp1.
s/sled/sles/ - actually :P
First hunch;
Did you (re)start apache?
What do the logs say?
<snip>
Yes I worked with RPM's, actually using YaST with the community repositories now standard in OpenSUSE 10.3, which includes many packages not on the standard repository and OSS DVD.
Riight, so that's why I didn't any of packages besides the 'main' nagios rpm, on the DVD...
I did restart apache then, but after I just tried it this morning, it works.
Good. It *should* work out of the box, for 'localhost'.
It seems to work with OpenSUSE 10.3 as outlined in the link at nagios: http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html.
Like I said; That link is for configure- make- make install -ing Nagios 3.x on 10.2... Just for the record (well - the archive... really)
Thanx,
NP /jon -- YMMV -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Jon Clausen
-
LLLActive@GMX.Net