Alarm relay ouput

Hi
I’m needing to have a relay output if there is an network outage.
Can this be done in Librenms and or do I need a thrid party app.
I have a network controller relay by smnp to activate and be the relay.