Trigger for PSUNI Alerts?

1 vote

avatar

Maybe I'm missing something, but is there a trigger that can fire for alerts in PSUNI? We've been having schedules go invalid due to some bad formatting in a query, but now that it's resolved, I'm left wondering if I can set up some notifications to external sources. I'll also look into hooking up PSUNI to Zabbix for monitoring jobs.

If we had a trigger for alerts, I could send that off to my teams script for example.

Does "health check failed" fire if psuni doesn't load the schedules and throws an error?

All Comments (6)

avatar

Hi @silentkillzr,

Would the trigger feature suffice for this? You can run scripts when certain things happen in PSU and then you could do whatever you'd like with that notification from another script.

Triggers | Devolutions PowerShell Universal | Devolutions Documentation

We often get asked for new trigger candidates so let me know if our current set doesn't meet your needs.

Adam Driscoll
PowerShell Expert and Developer at Devolutions

avatar
Hi @silentkillzr,

Would the trigger feature suffice for this? You can run scripts when certain things happen in PSU and then you could do whatever you'd like with that notification from another script.

Triggers | Devolutions PowerShell Universal | Devolutions Documentation

We often get asked for new trigger candidates so let me know if our current set doesn't meet your needs.


@Adam Driscoll

yes, the trigger function would work for this since I have notification scripts built already but I don't see any of them that look to feed in PSUNI notifications elsewhere.

avatar

@silentkillzr Ah, I see. You're looking for a trigger that runs when new notifications are added? We could then pass in the notification object into the trigger script so you could do what you like with that info.

Adam Driscoll
PowerShell Expert and Developer at Devolutions

avatar
@silentkillzr Ah, I see. You're looking for a trigger that runs when new notifications are added? We could then pass in the notification object into the trigger script so you could do what you like with that info.


@Adam Driscoll

Yes, exactly that!

avatar

@silentkillzr Perfect. I've captured this in an issue. This topic will be updated as soon as we get it released in an upcoming version.

Adam Driscoll
PowerShell Expert and Developer at Devolutions

avatar
@silentkillzr Perfect. I've captured this in an issue. This topic will be updated as soon as we get it released in an upcoming version.


@Adam Driscoll
thanks adam!