Skip to main content

10. Server Monitoring through EndPoints

MS Windows®

The first step is to download the EndPoint installer for MS Windows®. To do this, go to the downloads section, menu Management→Downloads→EndPoints→Windows 64 bits:

pandora-fms-windows-endpoint-800-image-01.png

All available versions of the Pandora FMS ONE EndPoint can be downloaded from the following link:

https://packages.pandorafms.com/pandorafms/latest/

Once the agent is downloaded, run it by double-clicking on it (you must have administrator permissions) and the typical installation screen will appear, where you will accept all the steps:

pfms_endpoint_windows_777.10-image_010.png

pfms_endpoint_windows_777.10-image_020.png

pfms_endpoint_windows_777.10-image_030.png

pfms_endpoint_windows_777.10-image_040.png

pfms_endpoint_windows_777.10-image_050.png

On this screen, you must configure the IP address (or name) of the Pandora FMS server that will receive the agent's data and the group you want the agent to be associated with. This group must exist in Pandora FMS.

pfms_endpoint_windows_777.10-image_060.png

The option to enable remote configuration will appear. It is important to have it activated by clicking the checkbox to remotely manage this agent's configuration and avoid having to edit files manually. Additional security functions can be enabled:

pfms_endpoint_windows_777.10-image_070.png

And also configure the minimum space necessary to locally save the result of the checks before they are moved to the respective PFMS Server:

pfms_endpoint_windows_777.10-image_080.png

To finish the installation, you can start the EndPoint service at the end of the installation; in any case, it will run when MS Windows® restarts.

pfms_endpoint_windows_777.10-image_090.png

Once this process is finished, the EndPoint for MS Windows® is installed and running on the computer. In a few seconds, we should be able to see the agent reporting in our Pandora FMS console.

If you do not see the agent in the Web Console: Check that there is a connection between the agent and the IP address of the server you configured in the EndPoint.
EndPoint communication to the server uses port 41121/TCP.

Once the EndPoint for MS Windows® is started after installation, it's time to check what this agent is reporting. To do this, you must know the name under which this agent will report. By default, the agent is created with the computer name, as seen in "System Information" (in this case DESKTOP-JU0S2L5).

image-1604510876889.png

Once you know the EndPoint name, the next step is to see if it has been created in Pandora FMS. For this, you have several options. The first one is to search in agent details, within the group in which the agent was created, in this example the Servers group:

pfms_endpoint_windows_777.10-image_092.png

A faster and more efficient way to find the agent is to search directly through the Pandora FMS search bar at the top of the page, where you can enter your computer name or part of it:

pfms_endpoint_windows_777.10-image_094.png

By default, the EndPoint for MS Windows® comes with several pre-loaded local modules for basic monitoring, such as CPU load, percentage of free RAM memory, etc.:

pfms_endpoint_windows_777.10-image_096.png

If you need to add new modules to this agent, you can consult the advanced documentation for EndPoint monitoring.

You can view graphs generated with the module's historical data and a table with their history from this view by clicking on the icons marked in the following capture:

pfms_endpoint_windows_777.10-image_098.png

It is important to highlight that remote monitoring and EndPoint-based monitoring can be performed on the same agent; you can combine both types of monitoring, resulting in much more complete monitoring.

Linux®

Monitoring a GNU/Linux® server is just as simple but requires doing it from a command terminal. You can either download the package corresponding to your Linux® distribution (or the self-installing tarball). There is also the option to install via an online installer:

Online installation of the PFMS EndPoint

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

/etc/pandora/pandora_agent.conf

Once configured, you can start the service:

systemctl pandora_agent_daemon

Or if your operating system (Devuan, etc.) does not use SystemD:

/etc/init.d/pandora_agent_daemon start

For MS Windows®, there is also a file with the same name in the directory where the PFMS EndPoint was installed, and you can edit it with a standard text editor. The configuration tokens are exactly the same for the EndPoint/Linux® as for the MS Windows® agent, except for some tokens that are specific to the MS Windows® EndPoint.

These are the default modules that report data in a Linux® EndPoint:

pfms_endpoint_windows_777.10-image_099.png

Are you not achieving the results explained in the chapter? Access the help or support section.