On Thu, Nov 03, 2005 at 09:12:40PM +0100, Frank Isemann wrote: > > is there anything like last_output? > > last_summary is the first line of the monitor output ... but i want more ;>
Mon 1.1 has the env var MON_LAST_OUTPUT, but I don't think my fixes that actually make it work are in CVS yet. > i found "last_detail" but that is "last_detail='\0a'" at my service that > return more than one line (without a service failure state) > > at mon.cgi: *Detail output from the most recent failure of this service* > (last_detail) > > is that only filled if the service returns a > 0 exit value? No, that should be valid regardless of exit status. Works for me with fping.monitor, where you see detailed stats of all the hosts pinged even if all of them responded properly. _______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon