I’ve been wanting to use Nagios for monitoring services that run in the network.
What services are these?
These are http, https httpd among others.
That’s why I installed Nagios first on a linux box running on Centos 5.3. Unfortunately, I had to reformat that box for something else.
So when I finally had a machine that can handle my needs for multiple virtual machines, I started playing around with more distributions.
One of them is OpenSuse 11.1.
And now, how to install Nagios eh?
Run terminal
type in:
zypper install nagios nagios-www
That’s all!
All you need to do is to check if apache is already installed. If not:
zypper install apache2
Then start nagios:
rcnagios start && insserv nagios
and start apache:
rcapache2 start
lastly, to access nagios via browser, we have to add user and password by:
htpasswd2 -c /etc/nagios/htpasswd.users nagiosadmin
You should be able to navigate nagios via http://yourhost/nagios
