[Nagiosplug-help] check queue depth
Jason Martin
jhmartin at toger.us
Tue Nov 6 23:27:17 CET 2007
On Tue, Nov 06, 2007 at 10:30:38PM +0100, soujanya vadali wrote:
> Hi list
>
> I have a code which checks MQ queue depth. It will check the depth of the queue if we give the parameters in a particular sequence. For example if i execute it like this
> ./queue_depth.sh QUEUE_MANAGER PORT HOST QUEUE SVRCONN warning-threshold critical-threshold
>
> we will get the result. But if i change the sequence of the
> parameters it gives me error. Can someone help me write the
> script for this. Please do let me know if this post is not
> clear. Any help in this appreciated.
The script is obviously using positional arguments, so the
arguments have to be in that order for them to be processed
properly. Why do you need to change the sequence? Can you give
actual examples (and output) of working and non-working
invocations?
-Jason Martin
--
This message is PGP/MIME signed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 211 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20071106/428e3e96/attachment.sig>
More information about the Help
mailing list