Re: [PATCH] Update FMN monitoring scripts for the new queues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/03/2017 07:28 AM, Jeremy Cline wrote:
> The worker queue has been renamed to "fmn.tasks.unprocessed_messages"
> both for clarity and because the message format has changed. The
> "backends" queue is no more and has been replaced by one queue per
> delivery medium. Right now that means there is "fmn.backends.irc" and
> "fmn.backends.email".
> 
> Signed-off-by: Jeremy Cline <jeremy@xxxxxxxxxx>
> ---
>  roles/nagios_client/templates/check_fmn.cfg.j2 | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/roles/nagios_client/templates/check_fmn.cfg.j2 b/roles/nagios_client/templates/check_fmn.cfg.j2
> index 05111bdb2..8052eea8f 100644
> --- a/roles/nagios_client/templates/check_fmn.cfg.j2
> +++ b/roles/nagios_client/templates/check_fmn.cfg.j2
> @@ -1,2 +1,3 @@
> -command[check_fmn_worker_queue]={{ libdir }}/nagios/plugins/check_rabbitmq_size workers 200 1000
> -command[check_fmn_backend_queue]={{ libdir }}/nagios/plugins/check_rabbitmq_size backends 100 200
> +command[check_fmn_worker_queue]={{ libdir }}/nagios/plugins/check_rabbitmq_size fmn.tasks.unprocessed_messages 200 1000
> +command[check_fmn_backend_irc_queue]={{ libdir }}/nagios/plugins/check_rabbitmq_size fmn.backends.irc 100 200
> +command[check_fmn_backend_email_queue]={{ libdir }}/nagios/plugins/check_rabbitmq_size fmn.backends.email 100 200

Looks good to me. Of course only needs to be applied if we push the new
FMN in... +1

kevin



Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux