Page 1 of 1

how to install RabbitMQ plugin - Ubuntu 12.04

Posted: Tue Mar 07, 2017 8:37 pm
by stevenrhodes
I am trying to incorporate a RabbitMQ Server into our Nagios Core 3 running on Ubuntu 12.04.

My searching led me to http://www.thegeekstuff.com/2013/12/nag ... -rabbitmq/ which seemed quite informative.

When I run the ./check_rabbitmq_server I encounter an error message "Can't locate Monitoring/Plugin.pm in @INC ..." which led me to the discussion at https://github.com/monitoring-plugins/m ... l/issues/6

Where can I find the package libmonitoring-plugin-perl for Ubuntu 12.04?

Thank you.

Steven

Re: how to install RabbitMQ plugin - Ubuntu 12.04

Posted: Wed Mar 08, 2017 4:02 pm
by mcapra
You could probably install it via cpan if it's not available in the Ubuntu repositories. cpan is basically like apt/yum, except for Perl modules/packages specifically.

Code: Select all

apt-get install cpan
Then you could install the required module via cpan like so:

Code: Select all

cpan -i Monitoring::Plugin
Otherwise, you could download and build the module yourself:
http://search.cpan.org/~nierlein/Monito ... /Plugin.pm

Re: how to install RabbitMQ plugin - Ubuntu 12.04

Posted: Wed Mar 08, 2017 4:03 pm
by avandemore
We don't write or maintain that plugin, or Ubuntu package so that question is probably better directed at them.

You can find some information here:

http://packages.ubuntu.com/xenial/libmo ... lugin-perl
https://github.com/nagios-plugins-rabbi ... tmq/issues