Run Python Script after alert


#1

Hello everyone,

Is there a way to have LibreNMS run a Python script when an alert occurs?

What I want to have happen, is that LibreNMS will alert on a device being down, and then execute a python script to attempt to repower the device using ssh into the poe switch the device is plugged into. I have the python script already written and tested, just wondering if there is a way to get LibreNMS to execute it.

Regards,

Peter