Nagios check_queue probe should report unknown instead of critical when the data file is not populated

Bug #1521887 reported by Chris Glass
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack RabbitMQ Server Charm
Fix Released
Medium
Chris Glass
rabbitmq-server (Juju Charms Collection)
Invalid
Medium
Chris Glass

Bug Description

The check_queue nagios check reports "Critical" when the data file it uses to check on queue lenght is not yet populated (it's a race condition - it sometimes takes a few minutes until the file is populated).

Note that the file is present in this case, just doesn't contain any information yet, triggering the condition at https://bazaar.launchpad.net/~charmers/charms/precise/rabbitmq-server/trunk/view/head:/scripts/check_rabbitmq_queues.py#L52

Nagios documentation specifies that absence of low-level information should trigger a (soft) alert as unknown, since that will automatically recover when the information is made available (or escalate to a hard alert once the user-defined threshold is reached) https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/statetypes.html

Tags: landscape
Chris Glass (tribaal)
Changed in rabbitmq-server (Juju Charms Collection):
assignee: nobody → Chris Glass (tribaal)
status: New → In Progress
importance: Undecided → Medium
tags: added: landscape
Chris Glass (tribaal)
Changed in rabbitmq-server (Juju Charms Collection):
status: In Progress → Fix Committed
James Page (james-page)
Changed in charm-rabbitmq-server:
assignee: nobody → Chris Glass (tribaal)
importance: Undecided → Medium
status: New → Fix Committed
Changed in rabbitmq-server (Juju Charms Collection):
status: Fix Committed → Invalid
James Page (james-page)
Changed in charm-rabbitmq-server:
milestone: none → 17.02
James Page (james-page)
Changed in charm-rabbitmq-server:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.