Ho to install Pandorafms on RHEL,CentOS & Sientific Linux

Pandora FMS (for Pandora Flexible Monitoring System) is software solution for monitoring computer networks. Pandora FMS allows monitoring in a visual pandora-fmsway the status and performance of several parameters from different operating systems, servers, applications and hardware systems such as firewalls, proxies, databases, web servers or routers.

Pandora FMS can be deployed in almost any operating system. It features remote monitoring (WMI, SNMP, TCP. UDP, ICMP, HTTP…) and it can also use agents. An agent isavailable for each platform. It can also monitor hardware systems with a TCP/IP stack, such as load balancers, routers, network switches, printers or firewalls.

 

Pandora FMS has several servers that process and get information from different sources, using WMI for gathering remote Windows information, a predictive server, a plug-in server which makes complex user-defined network tests, an advanced export server to replicate data between different sites of Pandora FMS, a network discovery server, and an SNMP Trap console.

 

 

Before to begin  installing  PandoraFMS is required to install Lamp first.

To  Install  lamp follow the instructions in this  LINK

Now  lets start with Pandora  Console:

Download the  RPM  pages  from  the  Pandroafms.org  website

[pirat9@Scientific-Linux Downloads]$ ls  -altr  pandorafms_*
-rw-rw-r-- 1 pirat9 pirat9 7005911 May 23 21:36 pandorafms_console-3.2-1.noarch.rpm
-rw-rw-r-- 1 pirat9 pirat9  247712 May 23 21:36 pandorafms_server-3.2-2.noarch.rpm
[pirat9@Scientific-Linux Downloads]$

Now  before  to  install  pandora  Console  you  need to install some  extra  packages: php-snmp  php-pear php-ldap  php-pear-DB xorg-x11-fonts-75dpi  graphvi,  as root enter the following commad:

yum  install php-snmp  php-pear php-ldap  php-pear-DB xorg-x11-fonts-75dpi  graphvi

 

I-install  the  pandora  console

Now we will install the pandora console

[root@Scientific-Linux Downloads]# rpm -ivh   pandorafms_console-3.2-1.noarch.rpm 
Preparing...                ########################################### [100%]
 1:pandorafms_console     ########################################### [100%]
Please, now, point your browser to http://your_IP_address/pandora_console/install.php and follow all the steps described on it.
[root@Scientific-Linux Downloads]# 
 

Now before to  begin  the  Gui  install via  the  browser, we need to restart apache  to  activate   php_ldap   and  php_snmp

– Change the  ownership of incluse directory  to 777

chmod -R 777 include

– Service httpd  restart

– Now  lets  begin the  installation  via the    browser

Open your favorite  browser  and  point your it to http://your_IP_address/pandora_console/

– Click  Next  and  accept  the  licence  terms

– Check if  everything  is  green

– Enter the  root  password  of mysql admin

– The Server  will  create the  database  Pandora  with  generated  password  bellow,  this  password  you  need  it  to  star  the pandora  Server

next

Now  the  pandora_console is installed ,  move or  remove  install.php  and  open http://ip/pandora_console

then login with  admin:pandora

 

II- Install Pandora Server  RPM

Before  install  the  rpm  package  you  need  to install some  dependencies first:

yum  install  perl-XML-Simple perl-XML-SAX perl-NetAddr-IP nmap  wmic

if you  have  issue  with   wmic package  please  download   manually wmic-4.0.0SVN-2.1.el5.centos.noarch.rpm  and  install with rpm -ivh

install now  the  pandora  server  rpm package

# rpm -ivh pandorafms_server-3.2-2.noarch.rpm

 

Note : Don’t forget to start Tentacle Server daemon if you want to receive  data using tentacle

Before to  start  the pandora  Server .  add  the  generateed  password in the console  installation to /etc/pandora/pandora_server.conf

# dbpass: Database password

dbpass pandora

Change  pandora  with  your  generated  passowrd   (wdnywysi)

 

– Start the server

# /etc/init.d/pandora_server start

– Start tentacle server

# /etc/init.d/tentacle_serverd  start

 


III- Install Pandora_Agent

Pandora agent can be Worstation/laptop/Windows/Unix/Firewall /Android

 

Just install the agent and add it to config the Ip adress of pandora Server

 

 
# rpm -ivh pandorafms_agent_unix-3.2-1.noarch.rpm

 

 

Configure the agaent on the file /etc/pandora/pandora_agent.conf

and make the pandora Server ip

 

########################################
server_ip  192.168.1.131
server_path     /var/spool/pandora/data_in
temporal /tmp
logfile /var/log/pandora/pandora_agent.log

###################################

Start The agent

 

[root@localhost Downloads]# /etc/init.d/pandora_agent_daemon  start
Pandora FMS Agent is now running with PID 3479
[root@localhost Downloads]#

Now back the Server restart the Daemon and check the consol, in My case Fedora 15 is the Agent Server is Scientific Linux 6

The Server Data

The Agent Data

If you have any question or remarks, please comment the current post or post your questions on the forum. Thanks

{module user9-footer}