From Mageia wiki
Jump to: navigation, search

Info from $ urpmq -i nagios

Name        : nagios
Version     : 3.2.3
Release     : 2.1.mga1
Group       : Networking/Other
Size        : 943555                       Architecture: x86_64
Source RPM  : nagios-3.2.3-2.1.mga1.src.rpm
URL         : http://www.nagios.org/
Summary     : Host/service/network monitoring program
Description :
Nagios is a program that will monitor hosts and services on your
network. It has the ability to email or page you when a problem
arises and when a problem is resolved. Nagios is written in C and
is designed to run under Linux (and some other *NIX variants) as a
background process, intermittently running checks on various
services that you specify.

The actual service checks are performed by separate "plugin"
programs which return the status of the checks to Nagios.

This package provide core programs for nagios. The web interface,
documentation, and development files are built as separate
packages


To install nagios with the web interface, install nagios and nagios-www

TIP: Install apache-mpm-prefork when Mageia Control Center asks for dependencies. Do not install apache-mpm-itk, it just doesnt work right now.

The web interface can be found at localhost/nagios

Many options require authentication, this can be disabled in /etc/nagios/cgi.cfg by changing the line use_authentication=1 to use_authentication=0

Once you've done so then use # service nagios start to start the monitoring service


For testing just ensure you can view correct looking information on all the tabs and create basic graphs in the Trends section. The graphs will be empty unless it has been monitoring for a few days but just check it can create them.


Uninstall with:

  • # service nagios stop
  • # urpme -a nagios
  • # userdel nagios
  • # groupdel nagios

Services always tend to leave their user and group behind when removed.



Return to the QA portal