Config Agents - CPNV-ES-MAS3-X/Pandora-Containerization GitHub Wiki
Install Agents with bouton new “Deploy agent”
Bouton “Deploy Agents” sur la page Management > Manage Agents
#Requirements
- Internet access.
- Have powershell installed.
Enter your IP address of your Server in “Server Address” and “Workstation for the Group
It will give you the commands lines to install the agent on Windows, you have to launch a Powershell with the Admin Privileges
Copy paste your code in a Powershell console with Administrator privileges :
Invoke-WebRequest -Uri https://firefly.pandorafms.com/pandorafms/latest/Windows/Pandora%20FMS%20Windows%20Agent%20v7.0NG.x86_64.exe -OutFile ${env:tmp}\pandora-agent-windows.exe; & ${env:tmp}\pandora-agent-windows.exe /S --ip [IP Server] --group "Workstations" --remote_config 1
Once its installed, start it with :
NET START PandoraFMSAgent
#Requirements
- Internet access.
- curl
Install basic requierements :
sudo apt install curl
For the installer on linux you can do the same thing than the Window client.
If not using root account, use this to execute the command as root :
sudo su -c "export PANDORA_SERVER_IP='10.10.10.123' && \
export PANDORA_REMOTE_CONFIG=1 && \
export PANDORA_GROUP='Workstations' && \
curl -Ls https://pfms.me/agent-deploy | bash"
Restart the agent if needed :
sudo /etc/init.d/pandora_agent_daemon restart
Show CPU RAM and HDD metrics on Pandora FMS Web
Basic Metris are automatically up when deploying a new agent for the Windows client and the Linux client.
#Requirements
- Internet access.
- unzip
- wget
Install basic requirements :
sudo apt install curl unzip wget apache2
Configuration | Pandora FMS Guides
Download the zip with the script in it on your debian: https://pandorafms.com/library/wp-content/uploads/2022/11/apache_plugin-2.zip
sudo wget https://pandorafms.com/library/wp-content/uploads/2022/11/apache_plugin-2.zip
Extract it in /tmp
sudo unzip apache_plugin-2.zip -d /etc/pandora/plugins
Give it the right to be executed
sudo chmod 755 /etc/pandora/plugins/apache_plugin.sh
Next edit the config file of apache
sudo nano /etc/apache2/apache2.conf
And add the following at the end of the config file (Don't forget to modify [IP Server] with you server IP address)
ExtendedStatus on
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from [IP Server]
</Location>
Save your config file and test it with this command, change [IP Server] with your server IP once again
sudo /etc/pandora/plugins/apache_plugin.sh http://[IPserver]/server-status
Output of the command line
Edit your pandora_agent.conf and those lines in the end of the file and changes the Server IP in those lines
sudo nano /etc/pandora/pandora_agent.conf
module_plugin /etc/pandora/plugins/apache_plugin.sh http://[IP Server]/server-status
You can restart your agent
/etc/init.d/pandora_agent_daemon restart
After a few minutes, in your debian agents on your web console you can see the apache monitored