Google Plus

How to Install and configure Pandora Flexible Monitoring System in ubuntu and other debian based systems

Written by Mel Kham on . Posted in Linux tutorials

Pandora FMS (for Pandora Flexible Monitoring System) is software solution for monitoring. Pandora FMS allows monitoring in a visual way 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 has remote monitoring (WMI, SNMP, TCP. UDP, ICMP, HTTP…) and using agents. An agent is available for each platform. It can also monitor hardware systems with a TCP/IP stack, 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 plugin server who makes complex user-defined network tests, an advanced export server to replicate data between different sites of Pandora FMS, a network discovery server and a SNMP Trap console.

the most important points for Pandora are:

- SQL backend.
- Native centralized Web User interface to manage all monitoring.
- Distributed monitoring.
- Very poweful agent monitoring, specially on Windows.
- Stateful monitoring AND performance monitoring.
- Nice reporting and graphs.
- HA ready
- Support for all OSes

Today we will show you how to install Pandora in Ubuntu and other Debian based systems

To  install   Pandora FMS for   Ubuntu  or  debian your   need  some  extra  dependencies

sudo apt-get install snmp snmpd libtime-format-perl libxml-simple-perl libnetaddr-ip-perl libdbi-perl  libxml-simple-perl libnetaddr-ip-perl 
libhtml-parser-perl wmi-client xprobe2 nmap libmail-sendmail-perl traceroute libio-socket-multicast-perl libapache2-mod-php5 apache2
 mysql-server php5-gd php5-mysql php-pear php5-snmp php-db php-gettext graphviz php-pear php5-gettext mysql-client php-db php-xmlrpc
 

 

Now go to pandora website and download the debian package for ubuntu or for debian depend wher you want to install pandora

Now cd the directory where you downloaded the debian packages. in my case :

root@pirat9-laptop:/home/pirat9/Downloads# ls

pandorafms.agent_3.0.0.deb    pandorafms.server_3.0.0.deb

pandorafms.console_3.0.0.deb


Now let`s start with the installation ,we have to install the console, the agent and the Server :


  • Install the console :
sudo dpkg  -i  pandorafms.console_3.0.0.deb 

  • Install The Agent
sudo  dpkg  -i  pandorafms.agent_3.0.0.deb 

 

  • Install The Server
sudo dpkg  -i  pandorafms.server_3.0.0.deb 

Now, lets go to the console, open your browser and type :

Http://IP/pandora_console

 

- Go to step 2 with Next


 

- If everything is green go to next :


go next

After this you have to move install.php to  /var/www/pandora_console

Now open the browser again and login with user admin en password pandora


{loadposition user9}

Related Articles By Tags:

{loadposition user1}

For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • Piers Cilliers

    Is it OK to install this on Ubuntu 10.04? where you say:
    [quote]“To install Pandora FMS for Ubuntu or debian your need some extra dependencies..”[/quote]

    I did this and had a warning:”Unmet dependencies. Try ‘apt-get -f install’ with no packages (or specify a solution).”

    I really do not want to bugger-up my install, what should I do? I also am not really sure what to do tbh! :?:

    Thanks
    Piers

  • Zinovsky

    This tutorial is done in Ubuntu 10.04 Lucid.
    Use the command apt-get -f install to install the missing dependencies, you will have no issues with it :)

    • epin

      What is the problem of this installation?

      E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable)

  • Piers Cilliers

    Hi Zinovsky

    Thanks so much for the reply! One more thing if you do not mind! On step two I get on that is red and it tells me that this dependency is problematic …. PEAR::XML_RPC PHP Library

    I am not really to sure how to proceed from here?

    Thanks.
    Piers

  • pirat9-admin

    Piers Cilliers
    solve it like this
    sudo apt-get install pear
    sudo pear install XML_RPC

    enjoy :)

  • Piers Cilliers

    [quote=pirat9-admin]Piers Cilliers
    solve it like this
    sudo apt-get install pear
    sudo pear install XML_RPC

    enjoy :)
    [/quote]

    Thanks for the reply. when I tried the first command it said that it could not find the package “pear”??

    The second one gave me this: WARNING: “pear/XML_RPC” is deprecated in favor of “pear/XML_RPC2″

    So… moving on, the second screen all the “lights” are green but alas after the next screen, after putting in a password and going to the next screen, I get…

    [quote]There were some problems. Installation was not completed.

    Please correct failures before trying again. All database schemes created in this step have been dropped. Try to reload this page if you have a present Pandora FMS configuration.
    ERROR: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2).[/quote]

    Thanks guys

  • Pirat9

    MAKE ROOT MYSQL PASSWORD FIRST FROM TERMINAL
    WITH
    mysqladmin -u root password NEWPASSWORD

  • Piers Cilliers

    Thanks to all the folk who posted! The Mysql had not installed and once I sorted that out everything is humming away very happily.

    Now I need to learn how it works! :D I have looked at Zenoss and Nagios as well both are perhaps a little more advanced but this looks pretty neat. Also good to look at moret than one application like these.

    Once again, thanks and see you around sometime!
    Piers

  • epin

    hai Pirat9 & Zinovsky

    i have a problem to finish my pandora fms installation.
    can you help me to finish the install
    and i want to know what is the problem
    this is the problem that stuck my installation

    —————————————————-
    Creating database and default configuration file
    Connection with Database

    There were some problems. Installation was not completed.

    Please correct failures before trying again. All database schemes created in this step have been dropped. Try to reload this page if you have a present Pandora FMS configuration.
    ERROR: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2).

    ————————————————–

    • Elder

      I have exactly the same problem with installation .. I’m doing in debian 3.5 …

      I get this error

      There Were Some problems. Installation not was completed.

      Please correct Failures Before Trying again. All database created in this step Schemes Have Been dropped.
      ERROR: Can not connect to local MySQL server-through socket ‘/ var / run / mysqld / mysqld.sock’ (2).

      Can someone please help me?

      How can I fix it?

  • http://www.unixmen.com pirat9

    Epin:
    please check if your mysqld is UP and running

    • Badadger

      Using Ubuntu 10.04, I’ve done the rest of the installation and it’s all worked fine, but the agent refuses to install for me. I get this error:

      dpkg: error processing pandorafms-agent-unix (–install):
      failed in buffer_read(fd): md5hash: Is a directory

      Can anyone help?

      Cheers

      • Audido

        Same problem here on Debian 5.0.

  • Crapyboy

    Well I had some problems install PandoraFMS 3.2 on Ubuntu 10.10 64bit. Here is the list of packages that I needed before installing the deb files for Pandora.

    sudo apt-get install snmp snmpd libtime-format-perl libxml-simple-perl libnetaddr-ip-perl libdbi-perl libxml-simple-perl libnetaddr-ip-perl libhtml-parser-perl xprobe nmap libmail-sendmail-perl traceroute libio-socket-multicast-perl libapache2-mod-php5 apache2 mysql-server php5-gd php5-mysql php-pear php5-snmp php-db graphviz php-pear php-gettext mysql-client php-db php5-xmlrpc php5 php5-curl dbconfig-common libcurl3 php5-ldap unzip

    Sadly wmi-client was taken out of the repository but you can still download it here: https://launchpad.net/ubuntu/jaunty/+package/wmi-client and install it with sudo dpkg -i

    I also had a problem with php-xmlrpc, as you can see from the above command php5-xmlrpc is installed, but it doesn’t have what Pandora is looking for. So install the package from here: http://blog.pandorafms.org/wp-content/uploads/2009/04/php-xmlrpc_110-1_all.deb

    That got me up and going, and I hope it works for everyone else.

    Cheers

  • Umarzuki Mochlis

    these packages could not be found on debian squeeze:

    wmi-client
    php5-gettext
    php-xmlrpc

    • Кирилл Вахрушев

      sudo apt-get -f install

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Bjarni

|

Excellent, thanx!

Ambiton

|

Thank you very much Chris :)

Lolman

|

in cmd

Oliver

|

Do you think that it works on a Macbook Air 1,1?… ohh and, it must be installed in a different partition than Mac OS X, right?… can´t have i installed only Ubuntu on my hard drive?

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .