Xymon Mailing List Archive search

Splitncv and analysis.cfg

list Raunak Kothari
Thu, 23 Jul 2015 10:21:55 +0800
Message-Id: <CAKy_m0rjUiKh1hAt0rJARiCvGo83i2o=user-8ea9311eeb19@xymon.invalid>

Hi All,

I have set up a test to monitor the queue depth on several queues on an MQ
server and the output on the xymon page looks like so -

*Queue Count

TSG.DRE.AA.CUST  - prd.CustomerQueue           : 130
TSG.DRE.AA.ORDE  - prd.OrdersQueue             : 0
TSG.DRE.AA.PAYM  - prd.PaymentsQueue           : 0*

I've configured xymon to collect the data in seperate
RRDs for graphing using splitncv method.

The RRDs have names like below -

QueueCount,TSG_DRE_AA_CUST_prd_CustomerQueue.rrd

The name of the check being performed i.e the column in Xymon is - QueueCount

Now, what I want is for the QueueCount column to go red
 once the queues reach a certain threshold. So in my analysis.cfg file
I placed the below entry.


HOST=PROD_MQ
        DS QueueCount
SysopPerfCount,QueueCount,TSG_DRE_AA_CUST_prd_CustomerQueue.rrd:lambda
100 COLOR=red "TEXT=Backlogs on MQ"

Somehow this never works and the status never changes to red no matter what
is the queue count on the queues. The data collection to the RRD and the
graphs work fine. Any idea what is going wrong here. Any fundamental thing
I am missing before trying to change status of checks based on RRDs using
splitncv.

Thanks!

Regards,
Raunak