Not alerting on messages-pending?

28 views
Skip to first unread message

Matthew Tice

unread,
Dec 20, 2012, 10:43:33 AM12/20/12
to wlsa...@googlegroups.com
How can I monitor 'Pending Messages' in my JMS queue? 

For example:

# wget -q -O - 'http://localhost:9090/wlsagent/WlsAgent' --post-data='hostname=weblogic-vip06.overstock.com&port=8022&username=nagios&password=password&jms-queue=FraudNetQueue;1;1'
0|intProdMS2 is in RUNNING state, status OK|JmsQueue-FraudNetQueue-current=0 JmsQueue-FraudNetQueue-pending=87

This is returning OK even though I have 87 messages pending.  Is there something I can specifically add to the post data - or would this require source code modifications?

Matthew Tice

unread,
Jan 9, 2013, 4:26:35 PM1/9/13
to wlsa...@googlegroups.com
Never mind. Just read this part of the wiki.

The 'current' value is the current number of messages in the destination, and the 'pending' value is the pending number of messages for the destination (non committed or acknowledged messages). The 'current' value is used to raise an alert. So for the DistributedQueue0 queue, a warning alert will be raised if the current number of messages in the destination is beetween 150 and 200.
Reply all
Reply to author
Forward
0 new messages