Monitorr/Monitorr

Run scripts/commands

maverick1105 asked for this feature almost 2 years ago — 4 comments

maverick1105 commented almost 2 years ago

Would be useful to be able to run commands from within monitorr. Also s command to be run when a service shoes as offline

seanvree commented almost 2 years ago Admin

@maverick1105

A bit confused with this one. You talking PHP scripts or OS shell scripts? "S command"?

| maverick1105 commented almost 2 years ago

Sorry that was the fat fingers on the keypad. rewritten correctly below:

Would be useful to be able to run commands from within monitorr. Also a command to be run when a service shows as offline.

I have currently written a php and shell script that is setup on a webserver. I have the link to the PHP as the 'Link URL' in monitorr so when the service goes offline i can click on the link to restart the service. Would be good to have something that could be integrated a little easier. Maybe able to simply put the terminal command, ie service abc123 restart so can be run against the service with a simple click

seanvree commented almost 2 years ago Admin

@maverick1105 What's the PHP script you have to restart a service?! That's pretty cool. Would you mind hitting me up on Discord? https://discord.gg/YKbRXtt

Join the discussion!

Sign-in with GitHub to comment