On Fri, 11 Apr 2008, aneeskA wrote: > hi all, > > is there a way to make an alert when something succeeds rather than failure > ? i was able to achieve this by reversing the return value that monitors > give back but i think thats not the proper way to do it. Any thoughts on > this ?
there is an option at the service level called "redistribute" which will call an alert every time a monitor terminates, regardless of the return status. watch abc service xyz redistribute alertname arg1 arg2 ... period wd {mon-fri} ... the alert would get the exit status from the environment variable MON_RETVAL, so, given that, your alert could decide what to do. this is a feature in mon 1.2. _______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon