Service Alerts - CPNV-ES-MAS3-X/Pandora-Containerization GitHub Wiki
! Make a version more clean !
Download script : https://pandorafms.com/library/apache-performance-plugin/
Copy with scp or copy paste on the Agent folder
cd /etc/pandora/plugins
Add execution permissions
chmod 755 apache_plugin.sh
Edit the config file
/etc/apache2/apache2.conf
Next wesudo nano /etc/apache2/apache2.conf
and add the following
ExtendedStatus on
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 10.0.3.11
</Location>
Test it with this command
sudo /etc/pandora/plugins/apache_plugin.sh http://10.0.3.11/server-status
Output :
Add to the agent.conf file in /etc/pandora/pandora_agent.conf
module_plugin /etc/pandora/plugins/apache_plugin.sh http://10.0.3.11/server-status
Restart agent daemon as root
/etc/init.d/pandora_agent_daemon restart
Output in Pandora FMS Web UI
If apache2 status stoped
Output in modules
Script added to /etc/pandora/plugins/apache_restart.sh
Not found a way to make pandora fms execute it, alert created with content but not working
Workaround : Restart Agent fully ?
NetLogon monitored by PandoraFMS but service can't start on the Windows Machine