BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} Customize paging: send ONLY custom scripts results to specific users



On Tue, 2005-08-23 at 16:46, David Mundfrom wrote:
> Hi,
> 
> I wrote a custom script to connect to an oracle database and check whether certain user
> accounts are locked.  We use BB pro 3.10 on HP-UNIX.  My colleagues who support the
> applications need to be notified, but they don't need all the other stuff like cpu,
> tablespaces, extents.  They are already getting disk an processes messages, here's my
> warnrules.cfg:
> 
> *;;*;;*;*; dba1@abc.com dba2@abc.com
> #send disk and procs messages only to application support team
> TDCGPDS;;disk procs;;*;*;app-support@abc.com
> 
> Is there a way to also notify them for a specific custom script, without sending
> everything else?

You should only need to add your test to the third clause of the rule.
For example, if your test is called dblock, the line would then be:

  TDCGPDS;;dblock disk procs;;*;*;app-support@abc.com

Cheers, Phil.



-- 
Van Roy's Law: An unbreakable toy is useful for breaking other toys.

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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