I have run across a case where the existing network tests don't work and would like to use exec as the test probe returning success or failure.
The case is a process that is an XML service processor but we don't know which port it will be on until it is configured. The request is sent as XML in the header and the response is sent back in the body. Since the XML response can have multiple possibilities of both success and failure depending on the deployment the send/expect doesn't work very well. We already have some python scripts that provide a test of the port but we want to do an active monitor with start stop actions like monit. What would be the easiest way to get exec "script" into the DSL? BTW, I like the method of allowing a service without a pid file. This service does not have one. _______________________________________________ monit-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/monit-dev
