Simon icon Simon
Flexible server monitoring

Introducing Simon 5!

Simon version 5 is now available. It is a massive update, introducing a much-requested feature: syncing the Simon data between multiple Macs, plus a Simon Status service, a Link Checker filter, improved Find filter, iMessage and Speak Error notifiers, a new app icon, and much more.

Important: please note that Simon 5 requires a minimum of macOS 10.12 (Sierra), and is a paid upgrade from Simon 4. Purchasers since September 1, 2020 automatically get a version 5 license (that also works in previous versions).

Read the Simon What's New page for details.

Using Terminal & Notifier to send a command to a remote server

This Notifier Applescript will execute a command on a remote server via Terminal. I have created a script on the remote server that will execute a restart.

I set out to write an Applescript that would launch Terminal and login via ssh then execute the command and quit. It crossed my mind that I leave Terminal open and am logged in 24/7 so all I needed was to send the command which avoids messy pauses/waits and conditionals.

This Applescript requires you to log in to Terminal and leave it open.

In Notifier double click on Apple Script and paste in the script, save. Double click the test you are running, select failure & Apple Script. Set the test frequency and timeout duration for failure under Options.

tell application "Terminal"
do script "XXXXX" in window 1
end tell

where "XXXXX" is your command to the server.