[Nagiosplug-help] check queue depth
soujanya vadali
svadali at gmail.com
Wed Nov 7 00:02:15 CET 2007
Hi Jason
Here is an example, it works well when I use this :
./queue_depth QTPCAOD2 1414 mydb OACM.SVRCONN QL. EDMSI.VERR -w 5 c 10
OUTPUT : - CRITICAL: depth=6633
QTPCAOD2 - Queue Manager
1414 - port
mydb - host
OACM.SVRCONN - SVRCONN
QL.EDMSI.VERR - Queue
So, if I use the above sequence it will display the queue depth without any errors.
But if I change the sequence something like this :
./queue_depth,s QTPCAOD2 mydb QL.EDMSI.VERR 1414 OACM.SVRCONN -w 5 -c 10
OUTPUT :- Exception in thread "main" java.lang.NumberFormatException: For input string: "mydb"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:468)
at java.lang.Integer.parseInt(Integer.java:518)
at com.traiana.utils.mq.MQDepth.main(MQDepth.java:31)
Thanks for the reply though. Let me know if you need anything else. Your help in this is appreciated !!
- soujanya vadali (siladav)
-----------------------
This thread is located in the archive at this URL:
http://www.nagiosexchange.org/nagiosplug-help.32.0.html?&tx_maillisttofaq_pi1[showUid]=6229
More information about the Help
mailing list