Getting Started

This howto is a draft

 

This is a quick guide to the basics of FAN, written from a new user’s perspective. We don’t talking about advanced concepts for Nagios, Centreon, or Nagvis. Visit the project websites that provide complete documentation.

Step One

Before using FAN, you’ll need to know the fundamentals of Nagios and Linux commands. I recommend you read the Nagios Core documentation available here.

First you need install FAN, 2 installations are possibles :

Step Two

After installation, you will notice that FAN is a minimalist system that does not have a graphical interface. The main tasks will be remotely with a browser.

Connect to applications

  • Use root and your password to connect FAN by ssh or TTY
  • Use nagiosadmin / nagiosadmin for web application (centreon, nagios, nagvis)

Application access

  • Nagios : http://@_IP_FAN_SERVER/nagios/
  • Centreon : http://@_IP_FAN_SERVER/centreon/
  • Nagvis : http://@_IP_FAN_SERVER/nagvis/

Configure the monitoring

there are 2 ways :

  1. Manualy, you can edit nagios config files. Not recommanded because you need to use an editor in text mode (vi, nano…) and will not have all the FAN features (reporting, graphs)
  2. Use Centreon, it’s the web tool to configure and manage nagios.

Centreon is a powerfull tool, the principals features :

  • Real time system monitoring, it’s a view who can replace Nagios cgi
  • System Management : you can add/edit hosts and services nagios object
  • Dashboards : you can display graph and reporting by time range

Step Three

How to monitore remote device or services ? Several way are possibles according to the host type’s.

  • Linux host (debian like, Centos…) : install SNMP agent or NRPE
  • Windows Host : install snmp or nsclient++
  • Network Host (switch, router, firewall) : enable SNMP
  • Network services (http, ftp, smtp, pop…) : Many plugins are availables in /usr/lib/nagios/plugins