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.

Is App running on a remote server

I want to know if it's possible to run the "Is App Running" test on another server not the host server where Simon resides?
Thank you

David Sinclair's picture

Re: Is App running on a remote server

You can add a similar service to that by writing a script. You could SSH into another machine, then use ps or another tool to check for the app.

I tried to create a Script-based service with the following script:

ssh {Machine Name} << EOF
{Password}
ps ax | grep -v grep | grep {Application}
EOF

But it fails with the error:

Pseudo-terminal will not be allocated because stdin is not a terminal.

This happens if I do the equivalent in the Terminal, too, so it isn't a Simon-specific issue.

Perhaps someone else can clarify a way to send actions to SSH?