Subject: montrap, a command line client To: mon@linux.kernel.org I suspect I'm not the first to write something like this, but I don't recall anyone posting it to the mon list. This is a simple command line client for sending mon traps. montrap [-p port] [-r retval] -o opstatus -s summary [-d detail] host group:service host - Mon host to send trap to opstatus - one of "fail", "ok", "coldstart", "warmstart", etc. The original plan was to have a Mon watch for every critical cron job, have those critical cron jobs run montrap at the end of every successful run to indicate that they were OK, and have Mon page if the trap isn't received in the specified interval. I haven't put this together yet, but I'm sure someone can think of other interesting uses for it. Note that it doesn't support passwords - I'd rather run with no password than specify it on the command line, but it's easy enough to hard-code it or read from a file if someone wants. -- Ed