1. ProTop Knowledge Base
  2. ProTop Alerts Dashboard

How can I set up alerts on a specific Pro2 queue?

I have a particular queue I am interested in getting alerts for at a specific threshold. How do I do that with ProTop's Pro2 monitoring?

ProTop alerting already exists for all Pro2 queues.  These are the alert definitions in the default etc/alert.cfg for rq_Depth:

rq_Depth       num   >    100000  ""  "hourly" "&1 &2 &3" alert
rq_Depth       num   >   1000000  ""  "hourly" "&1 &2 &3" alarm

Here's an example using alert filtering:


How do you set a 1,000,000 threshold on rq_qNum=1 and a 100,000 threshold on rq_qNum=2?


1. Log in as your ProTop user and cd to your ProTop installation directory.

2. cd to etc.

3. if you do not already have a localized alert configuration file, create one by copying alert.cfg to say alert.[your custid].cfg

4. Edit your localized version of alert.*.cfg.

5. Find the existing alert definition for rq_Depth.

6. Add these two lines below it:

rq_Depth       num   >    100000  ""  "hourly" "&1 &2 &3" alert
rq_Depth       num   >   1000000  ""  "hourly" "&1 &2 &3" alarm

rq_Depth       num   >   1000000  ""  "hourly" "&1 &2 &3" alarm tt_pro2q.rq_qNum = 1
rq_Depth       num   >   100000   ""  "hourly" "&1 &2 &3" alarm tt_pro2q.rq_qNum = 2


NOTE: As these queues are of particular interest, we have set the "action" to alarm instead of just "alert" as seen in the default definition.  You can set the action to whatever suits your situation.