Home / Linux / How To Install and Connect an Agent to Pandora FMS Server

How To Install and Connect an Agent to Pandora FMS Server

How To Install and Connect an Agent to Pandora FMS Server

A Pandora FMS Agent is an utility put in on computer systems to be monitored utilizing the Pandora FMS Monitoring System. Software brokers carry out checks on server sources (similar to CPU, RAM, storage units, and so on.) and put in functions and companies (similar to Nginx, Apache, MySQL/MariaDB, PostgreSQL, and so on.); they ship the collected knowledge to the Pandora FMS Servers in XML format utilizing one of many following protocols: SSH, FTP, NFS, Tentacle (protocol) or some other knowledge switch means.

Note: Agents are solely wanted for server and useful resource monitoring, whereas community tools monitoring is finished remotely thus no want to set up software program brokers.

This article exhibits how to set up Pandora FMS software program brokers and join them to a Pandora FMS Server occasion for monitoring. This information assumes that you have already got a working occasion of a Pandora FMS server.

Installing Pandora FMS Agents in Linux Systems

On CentOS and RHEL distributions, run the next instructions to set up the required dependencies packages, then obtain the newest model of the Pandora FMS agent RPM package deal and set up it.

# yum set up wget perl-Sys-Syslog perl-YAML-Tiny
# wget https://sourceforge.net/projects/pandora/files/Pandora%20FMS%207.0NG/743/RHEL_CentOS/pandorafms_agent_unix-7.0NG.743-1.noarch.rpm
# yum set up pandorafms_agent_unix-7.0NG.743-1.noarch.rpm

On Ubuntu and Debian distributions, problem the next instructions to obtain the newest agent DEB package deal and set up it.

$ wget https://sourceforge.net/projects/pandora/files/Pandora%20FMS%207.0NG/743/Debian_Ubuntu/pandorafms.agent_unix_7.0NG.743.deb
$ sudo dpkg -i pandorafms.agent_unix_7.0NG.743.deb
$ sudo apt-get -f set up

Configuring Pandora FMS Agents in Linux Systems

After efficiently putting in the software program agent package deal, configure it to talk with the Pandora FMS server, within the /and so on/pandora/pandora_agent.conf configuration file.

# vi /and so on/pandora/pandora_agent.conf

Look for the server configuration parameter and set its worth to the IP handle of the Pandora FMS server as proven within the following screenshot.

Configure Pandora FMS AgentConfigure Pandora FMS Agent

Configure Pandora FMS Agent

Save the file and then begin the Pandora agent daemon service, allow it to auto-start at system boot and confirm the service is up and working.

# systemctl begin pandora_agent_daemon.service
# systemctl allow pandora_agent_daemon.service
# systemctl standing pandora_agent_daemon.service

Adding New Agent to Pandora FMS Server

Next, you want to add the brand new agent through the Pandora FMS console. Go to the net browser and log into the Pandora FMS server console and then go to Resources ==> Manage Agents.

Pandora FMS Resources TabPandora FMS Resources Tab

Pandora FMS Resources Tab

From the following display, click on on Create agent to outline a brand new agent.

Create a New Agent in Pandora FMSCreate a New Agent in Pandora FMS

Create a New Agent in Pandora FMS

At the Agent Manager web page, outline a brand new agent by filling the shape as proven within the following screenshot. Once you’re executed, click on on Create.

Add Agent Details and CreateAdd Agent Details and Create

Add Agent Details and Create

After including brokers, they need to mirror within the entrance web page abstract as highlighted within the following screenshot.

Pandora FMS Agent SummaryPandora FMS Agent Summary

Pandora FMS Agent Summary

If you view the newly created agent below Agent particulars and spotlight its standing indicator, it ought to present no displays. So you want to create modules for monitoring the host the agent is working on, as defined within the subsequent part.

View Pandora FMS Agent DetailsView Pandora FMS Agent Details

View Pandora FMS Agent Details

Configuring a Module for Remote Agent Monitoring

For this information, we are going to create a module to verify if the distant host is stay (could be pinged). To create a module, go to Resource ==> Manage brokers. At the Agents outlined within the Pandora FMS display, click on on the agent title to edit it.

Open Agent to Define ModuleOpen Agent to Define Module

Open Agent to Define Module

Once it masses, click on on the Modules hyperlink as highlighted within the following screenshot.

View Agent ModulesView Agent Modules

View Agent Modules

Then choose the module kind (e.g Create a new community server module) from the following display and click on Create.

Select A Agent Module TypeSelect A Agent Module Type

Select A Agent Module Type

From the following display, choose the module element group (e.g Network Management) and its precise verify kind (e.g Host Alive). Then fill within the different fields, and be certain that the Target IP is of the host to be monitored. Then click on Create.

Agent Module CreatedAgent Module Created

Agent Module Created

Next, refresh the console and strive to view the agent below Agent particulars, and spotlight its standing indicator, it ought to present “All displays are OK”. And below modules, it ought to present that there’s one module that’s in a standard state.

Check Status of Agent in Pandora FMSCheck Status of Agent in Pandora FMS

Check Status of Agent in Pandora FMS

When you open the agent now, it ought to show some monitoring info as highlighted within the following screenshot.

Agent Monitoring OverviewAgent Monitoring Overview

Agent Monitoring Overview

To take a look at if the module is working high quality, you may shut down the distant host and reset the modules for the agent. It ought to point out a essential standing (RED colour).

Agent Critical Status AlertAgent Critical Status Alert

Agent Critical Status Alert

That’s all! The subsequent step is to find out how to use superior options of the PandoraFMS system and configure it to monitor your IT infrastructure, by creating extra servers, brokers and modules, alerts, occasions, stories, and a lot extra. For extra info, see the PandoraFMS documentation.

About Agent

Check Also

SpaceX Successfully Launches 60 More Starlink Satellites as it Continues Towards 2020 Service Debut

SpaceX Successfully Launches 60 More Starlink Satellites as it Continues Towards 2020 Service Debut SpaceX …

Leave a Reply

Your email address will not be published. Required fields are marked *