Pandora FMS community forums

Full Version: Can i have pandora issue a command when a trigger fires?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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="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.