Nagios 3 如何安装 RabbitMQ 插件 Ubuntu 12.04

Nagios 3 如何安装 RabbitMQ 插件 Ubuntu 12.04

我正在尝试将 RabbitMQ 服务器合并到在 Ubuntu 12.04 上运行的 Nagios Core 3 中。

我的搜索让我http://www.thegeekstuff.com/2013/12/nagios-plugins-rabbitmq/这似乎很有启发。

当我运行./check_rabbitmq_server我遇到一个错误消息Can't locate Monitoring/Plugin.pm in @INC ...,这导致我讨论https://github.com/monitoring-plugins/monitoring-plugin-perl/issues/6

libmonitoring-plugin-perl在哪里可以找到适用于 Ubuntu 12.04 的软件包?

编辑:尝试运行apt-get install libmonitoring-plugin-perlUbuntu 12.04 中未找到该包。存储库中仅找到 libmonitoring-availability-perl 和 libmonitoring-livestatus-perl。

编辑#2

我尝试安装 perl 插件。命令和结果如下:

cpan[2]> install libmonitoring-plugin-perl
Warning: Cannot install libmonitoring-plugin-perl, don't know what it is.
Try the command

i /libmonitoring-plugin-perl/

to find objects with matching identifiers.

cpan[3]> i /libmonitoring-plugin-perl/
No objects found of any type for argument /libmonitoring-plugin-perl/

谢谢。

史蒂文

答案1

仔细检查结果make test并进行额外的 Google 搜索后,我发现通过 CPAN 控制台添加大量 Perl 库可以解决该问题。抱歉,我不记得我必须添加的 3 或 4 个库。请在运行 make test 命令时参考错误消息。

相关内容