how to install RabbitMQ plugin - Ubuntu 12.04

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
stevenrhodes
Posts: 1
Joined: Tue Mar 07, 2017 4:22 pm

how to install RabbitMQ plugin - Ubuntu 12.04

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: how to install RabbitMQ plugin - Ubuntu 12.04

Post 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
Former Nagios employee
https://www.mcapra.com/
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: how to install RabbitMQ plugin - Ubuntu 12.04

Post 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
Previous Nagios employee
Locked