Install Nagios 3.5 on openSUSE 12

0

Nagios is the most widely used open source monitoring tools which help us to monitor the services and application that run’s on Windows,Linux,Routers and other network devices. With the help of Nagios you can monitor basic services and attributes. We can access the Nagios using web interface coming with the bundle and configuration need to be done on the file level.

Services List:

This Tutorial describes how can you monitor “private” services and attributes of Linux/UNIX servers, such as:

Attributes:

  • CPU load
  • Memory usage
  • Disk usage
  • Logged in users
  • Running processes
  • etc.

Private Services:

  • HTTP
  • FTP
  • SSH
  • SMTP
  • etc

Install Nagios:

Nagios3 is available on openSUSE repository, just issue the command to install

zypper install nagios

Configure Nagios:

Username and password must be entered to access web interface, authentication file can be found under /etc/nagios directory. Add admin (nagiosadmin) password to that file.

htpasswd2 -c /etc/nagios/htpasswd.users nagiosadmin

Access Web Interface:

Restart Nagios and Apache web server.

/etc/init.d/nagios restart && /etc/init.d/apache2 restart

Now access the Nagios web interface using the following URL. You’ll be prompted for the username (nagiosadmin) and password you specified earlier.

http://localhost/nagios/

You will redirect to the home page, Click on the Services to view Status of Hosts.

That’s All.

You might also like