Hi I have a monitor that monitors certain ports on an Ubuntu Server. When the monitor fires an action - how do I define an action to perform an action on the ubuntu host? Say i wan't to monitor TCP port 25 for my mail-server and when that fails, then I would like to restart my SMTP Server on that host. manually - i would log in using ssh, and run the "sudo service postfix restart" command - but how to do that in the form of an action Br Poul asked 17 Sep '14, 06:55 plc |
Hi Poul, Thanks for the question! We do have an Execute Script Action that you can use to run SSH commands. Click on this link to view the SSH variables. Thanks Please make sure to mark your questions accepted when you have your answer by clicking the gray check mark to the left of the answer. answered 22 Sep '14, 10:38 Quinn ♦♦ |
It sounds like you are running on a older version, try upgrading to the latest version. Thanks Please make sure to mark your questions accepted when you have your answer by clicking the gray check mark to the left of the answer. answered 23 Sep '14, 09:12 Quinn ♦♦ |