BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} Warn rule not working
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I since gave this a whack and it worked. Actually arrived at this
solution from reading bbwarnrules.cfg and seeing time listed as
0000-2359. I'm just doing a little more testing to be sure.
Funny, because I could have sworn someone had a non-wrap time and they
got corrected. Perhaps that was on my other mailing list for a different
piece of software.
Thanks for the confirmation!
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | |Ryan Novosielski - User Support Spec. III
|$&| |__| | | |__/ | \| _| |novosirj@umdnj.edu - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
Philip Clark wrote:
> On Mon, 2006-04-24 at 20:55, Ryan Novosielski wrote:
>> Can anyone tell me if there's something wrong with this? There was a
>> problem on Saturday morning and I was not paged. Am I confused about
>> syntax in some way? You CAN have wraparound times, correct?
>>
>> ###
>> # On-call paging for the unfortunate soul of the week
>> ###
>> hg-campus;;conn disk ssh volchk;;1-5;1700-0900;ep-oncall-email
>> ep-oncall-pager:~10-10
>> hg-campus;;conn disk ssh volchk;;6-0;*;ep-oncall-email
>> ep-oncall-pager:~10-10
>>
>> Appreciate any help from the masters. :)
>>
>> (obviously the hg-campus group is defined -- and the only thing in BBOUT
>> is a bunch of random instances of partial messages received)
>
> The range specification of time and days of the week need to be in
> ascending order. In other words, the start time (or day) needs to be
> lower than the end and will not "wrap round".
>
> To work as you want, I would rewrite those rules as:
>
> hg-campus;;conn disk ssh volchk;;1-5;0000-0900 1700-2359;
> ep-oncall-email ep-oncall-pager:~10-10
> hg-campus;;conn disk ssh volchk;;0 6;*;ep-oncall-email
> ep-oncall-pager:~10-10
>
> In the first rule, the time is broken into two ranges. In the second,
> the days of the week are given as two values (Sunday and Saturday)
> instead of a range.
>
> Cheers, Phil.
>
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)
iD8DBQFETUjjmb+gadEcsb4RAiKoAJwO6X5u1aWrhebtajjlUHBvRDu+lACg0Jxo
dpxcqNl6gApLVEzZrqlVFyI=
=S+IV
-----END PGP SIGNATURE-----
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index