The Linux/SSH Command Event Monitor connects to a remote SSH server and runs a script to check on events custom to your environment. You can use the built-in code editor to create any custom monitoring action needed by your IT monitoring configuration.
Paste your command into the provided code editor, then select the level of alert you want to receive if the SSH server is unreachable.
Next, choose whether or not to include the result in the event text each time the monitor runs. If you choose to include the result, you can also choose how many lines of it will be displayed.
Choose the level of alert you want to receive if the result contains a text string that you input. Below this option, there is another text box where you can input text that will trigger an alert if it is not found in the result.
There are also options that trigger alerts if the result (a number) is greater than or less than a specified value.
Expanding the box labeled "Perform an advanced content check" reveals more options. Paste the script that will execute the advanced check in the provided box, then, under "Connection Options", choose what port to use to connect.
This tutorial taught you how to set up a Linux/SSH Command Event Monitor, a highly versatile and customizable event monitor. For more documentation, check out the Linux/SSH Command Event Monitor reference page. Keep an eye out for more tutorials on related topics coming to the Features page soon!More Tutorials