Pandora FMS community forums
Can i have pandora issue a command when a trigger fires? - Printable Version

+- Pandora FMS community forums (https://pandorafms.org/forum)
+-- Forum: Pandora FMS (https://pandorafms.org/forum/forum-3.html)
+--- Forum: General monitoring discussion (https://pandorafms.org/forum/forum-6.html)
+--- Thread: Can i have pandora issue a command when a trigger fires? (/thread-12993.html)



Can i have pandora issue a command when a trigger fires? - idic - 03-08-2019

I went through the docs and I think I might be missing something that answers this but I'd like to have a command/script run when an event occurs. Is that possible to do with Pandora FMS? I'm using the agent and have full access to the servers.


RE: Can i have pandora issue a command when a trigger fires? - eduardo.corral - 03-08-2019

[quote="idic" pid='27929' dateline='1552019356']
I went through the docs and I think I might be missing something that answers this but I'd like to have a command/script run when an event occurs. Is that possible to do with Pandora FMS? I'm using the agent and have full access to the servers.
[/quote]

Greetings, idic

Yes, you can run commands whenever an event occurs. In order to do so, you'll have to configure an alert command with the script you want to run. Then you'll be able to link that command to any alert action you want and use that action in the events you need to monitor.

You can learn more about this in Pandora FMS wiki:

https://wiki.pandorafms.com/index.php?title=Pandora:Documentation_en:Alerts

If you need anything else, please let us know.

Kind regards,

Eduardo.