Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change semantics of -w and -c flags #14

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Expand Up @@ -88,11 +88,12 @@ All checks return UNKNOWN if the broker isn't reachable on the network.
- Check if there are new messages in a DLQ (Dead Letter Queue).
- Additional parameters:
- ```--prefix PREFIX``` - specify DLQ prefix, all queues with a matching prefix will be checked (default 'ActiveMQ.DLQ.')
- ```--cachedir CACHEDIR``` - specify base directory for state file (default '~/.cache')
- Returns Unknown if no Queues with the specified PREFIX were found.
- Returns Critical if one of the Queues with a matching prefix contains more messages
since the last check.
- This mode saves it's state in the file
``$HOME/.cache/activemq-nagios-plugin/dlq-cache.json``
``CACHEDIR/activemq-nagios-plugin/dlq-cache.json``
- When you want to use this check, it is recommended that you invoke the
plugin rather often from Nagios (e.g. every minute or every 30 seconds)
to have a better coverage of your ActiveMQ's state.
Expand Down