In Big Brother, there was an unmatched rule where you could send a message to anything that did not match a rule to a specified email address. How would I accomplish this in Hobbit?
On Fri, May 11, 2007 at 01:31:46PM -0400, Rick Ridgeway wrote:
In Big Brother, there was an unmatched rule where you could send a message to anything that did not match a rule to a specified email address. How would I accomplish this in Hobbit?
Put this at the end:
HOST=* MAIL someone at somewhere.org UNMATCHED
Regards, Henrik
In BB, I had two channels for messages, a status message and a page message
For a particular test I would send:
bb-> status host,domain,com.disk red Fri May 11 11:16:33 EST 2007 Disk partitions on host,domain.com OK /dev/wd0s1a 496053 25081 431288 5% / /dev/wd0s4e 1998122 1094955 743318 60% /home /dev/wd0s2e 1489830 1094928 275716 80% /usr Bleh more html Etc etc long status message
bb-> page host,domain,com.disk red Fri May 11 11:16:33 EST 2007 Disk partitions on host,domain.com OK /dev/wd0s2e 1489830 1094928 275716 80% /usr
And that's it - none of the html extras from my status message.
In hobbit, it seems to page on status messages and ignore the page channel messages
Is there a way to make this work in hobbit like it did in Big Brother?
-Sean
On Fri, May 11, 2007 at 03:15:29PM -0400, Sean R. Clark wrote:
In BB, I had two channels for messages, a status message and a page message [snip] In hobbit, it seems to page on status messages and ignore the page channel messages
Correct. Sending the same information twice is a waste of bandwidth, and it also means you have to do the data analysis on the client - which is contrary to the Hobbit design.
Is there a way to make this work in hobbit like it did in Big Brother?
No, but You can write a custom alerting script to filter the alert messages.
Regards, Henrik
participants (3)
-
henrik@hswn.dk
-
ridgeway@nyroc.rr.com
-
sclark@nyroc.rr.com