On Tue, Nov 22, 2005 at 03:08:56PM -0000, Julian Cable wrote: > I started using mon about a week ago and got very confused when I > wanted to send traps and got different answers with different versions > of mon when using the montrap contributed script. I worked out there > were a number of issues: > > 1) montrap didn't actually use the port parameter > 2) mon changed from the opstatus to the retval parameter being > "important" between the stable and development versions > 3) montrap didn't set the retval parameter properly > > The modified version below seems to fix these problems. Hope it helps > someone else.
Thanks! I didn't notice these problems because I was keying off the presence or absence of the traps rather than looking at the retval. Also, in the future, please send scripts like this as an attachment to your message rather than in the main message text - I had to undo a few changes that were introduced by mail formatting. -- Ed _______________________________________________ mon mailing list mon@linux.kernel.org http://linux.kernel.org/mailman/listinfo/mon