PandoraFMS: Free Monitoring System

Embed Size (px)

Citation preview

Pandora FMS



http://pandora.sourceforge.net

Enrique VerdesUnix Programmer . LPIC-1 SysAdmin

What's this octupus thing?

Pandora is a monitoring tool designed to monitor either systems or applications. It will allow you to know the status of any of your systems, whether they're hardware for network communications, web applications or just an operating system. Pandora is able to monitorize whatever you want.

Architecture

Distributed architecture

High Availability and Load Balancing

Web administration

Active and pasive monitoring.

We will talk about...

A brief overview of installation.

The software agents.

The modules.

And this only for Linux.

and we are not going to talk about...

SNMP console.

Installation in deep.

About the installation...

The documentation is quite clear, but the process needs to be made more straightforward.

You need PandoraFMS_Console &PandoraFMS_Server tarballs because database configuration is packaged in the Pandora_console tarball.

You need a user called pandora and create ssh keys for the agents to send de data.

The pandora software agents

Totally customizable (easy shell language):

bash for Linux.

csh for BSD and NokiaIPSO.

ksh for Solaris & AIX.

Free Softare (GPL Licensed), so source code is available to modify and improve any one of it.

Agent Configuration

server_ip 192.168.50.100server_path /opt/pandora_server/data_inpandora_path /opt/pandora_agent/temporal /opt/pandora_agent/data_outinterval 300debug 0checksum 0#if not set uses hostname#agent_name geminon

Adding an agent in the web console

Agent's modules

Each agent can be defined a set of modules.

Modules can inform the state of the process we want to monitor, or data about services or system variables like CPU usage, memory, disk, etc.

Data gathered are transferred in an XML file to the Data Server using SSH, at customizable time intervals.

XML files are read and data is processed into de Database.

Module Example

module_beginmodule_name disk_root_freemodule_type generic_datamodule_interval 2module_exec df -kh / | tail -1 | awk '{ print 100-$5 }'module_max 100module_min 0module_description Free disk Percentage of root partitionmodule_end

Module Types

generic_data: numeric data type.

generic_data_inc: incremental numerical data type. It stores data resulting from difference between last agent data and actual data.

generic_data_proc: Boolean data type: 0 means False, and >=1 means True. Generic Proc types are also called "monitors". They Are displayed in agent view as little lamps. Red if False, Green if True.

generic_data_string: Alphanumeric data type (text string, max. 255 characters).

Network Server Module Types

remote_icmp: get network latency in miliseconds for remote system.

remote_icmp_proc: makes a "ping" to remote system. Report 0 if system is not reachable or not responding.

remote_tcp_proc and remote_ucp_proc: makes a "tcp" / "udp"ping to remote systems and reports "1" if a listing port is responding and 0 if not responding.

Adding a Module in the web console

Alerts

eMail. Sends an e-mail from Pandoras Server Internal audit.

SMS Text. Sends an SMS to a given mobile phone

SNMP Trap. Sends a SNMP Trap

Syslog. Sends an alert to the Syslog

Conclusion

Pandora is a powerfull Network Monitoring System with all the advantages of free software.

There are other solutions (Nagios, ZenOSS) but Pandora offers greater posibilities, wich pays the added complexity.

Being a Spanish development lowers the language barrier, helping those wanted to get involved.

... at the end...

any questions?

Tank you very much.Muito obrigado.Muchas gracias.

http://gallego.codigolibre.net