Skip to main content

9. Server Monitoring through Software Agents

Windows

The first step is to download the Windows agent. You may download it from:

https://pandorafms.com/community/get-started/

pandora-fms-windows-software-agent-770-image-01.png

In this link you may choose either the 32-bit or 64-bit agent. Once the agent is downloaded, execute it by double-clicking on it and the usual installation screen will appear. Accept all the steps:

 

pandora-fms-windows-software-agent-770-image-02.png



Accept the license and go through the different installer steps.

image-1603295383094.png

Configure in this screen the IP address (or name) of the Pandora FMS server that will receive the agent's data and the group we wish for the agent to be associated with. This group must exist in Pandora FMS.

 

image-1603295396989.png

In the next window there is the option to enable remote configuration. It is important to activate it by clicking on the checkbox if you wish to remotely manage the agent's setup and not have to edit files manually.

The remote configuration management feature is exclusive to Pandora FMS Enterprise version

 

image-1603295419875.png

 

Decide if you wish to start the agent service at the end of the installation of Pandora FMS agent, otherwise it will have to be done manually, or it will be started when Windows is restarted again.

 

image-1603295433218.png

Once this process is finished, the Windows agent stays installed and running on the computer. In a few seconds you should be able to see the agent reporting in your Pandora FMS console.

If you do not see the agent in the console, check that there is a connection between the agent and the IP of the server you have configured in the agent. The communication from agent to server uses port 41121/TCP.

Once the Windows agent is started after its installation, it is time to check what the agent is reporting. To that end you have to know the name this agent is going to report with. By default, the agent is created with the name of the computer, as you can see in "System information" (in this case DESKTOP-JU0S2L5).

image-1604510876889.png

Once you know the name of the agent, the next step is to see if it has been created in Pandora FMS. For that there are several options. The first one is to search in agent details, inside the group where the agent has been created, in the example the group "Servers" (in this screenshot the name of the computer is DESKTOP-2GGIE80).

9-2.png

A faster and more efficient way to find the agent is by searching directly through Pandora FMS search engine, a the top bar, where you may enter the name of your machine or a part of it.

9-3.png

Here the agent will appear and by clicking on the name go to the information of what it reports.

9-4.png

The Windows agent comes with several preloaded local modules for basic monitoring by default, such as CPU Load, % of free RAM memory (FreeMemory), used space disk in %, DHCP status (DHCP Enabled) and process number.

9-5.png

If you need to add new modules to this agent, check the advanced documentation on monitoring through software agents.

You may see graphs generated with the module data history and a table with the module history from this view by clicking on the icons highlighted in the following screenshot:

9-6.png

It is important to note that on the same agent, remote monitoring and agent-based monitoring can be performed, combining them both, resulting in a much more comprehensive monitoring.

Linux

Monitoring a Linux server is just as simple, but it must be done from the console. If you are interested, you may download the package corresponding to your linux distribution (or the self-installable tarball). There is also the option to install using an online installer:

https://pandorafms.com/manual/!current/en/documentation/02_installation/01_installing#online_installation_of_pandora_fms_software_agent

The configuration needed to set up the Linux agent, can be found in the file:

/etc/pandora/pandora_agent.conf

Once configured, start the service, e.g:

/etc/init.d/pandora_agent_daemon start

In Windows, there is a file with the same name in the directory where Pandora FMS agent was installed, and you can edit it with a standard text editor. The configuration tokens are exactly the same both for the Linux agent and for the Windows agent, except for some specific Windows agent tokens.

These are the default modules that report data in a Linux software agent:

9-7.png

Did you not get the results expected for this chapter? Go to help or support

< PREVIOUS    |    NEXT >