Skip to content

Instantly share code, notes, and snippets.

Created July 11, 2017 14:26
Show Gist options
  • Save anonymous/d9b9a6661b2420bccd65f4c926afb25d to your computer and use it in GitHub Desktop.
Save anonymous/d9b9a6661b2420bccd65f4c926afb25d to your computer and use it in GitHub Desktop.
Nagios utils pm




File: Download Nagios utils pm



can't locate nagios/plugin.pm in @inc
can't locate utils.pm in @inc (@inc contains
nrpe unable to read output
nagios-plugins-perl
add path to @inc
shinken "can't locate utils.pm in @inc"
can't locate sys/statistics/linux.pm in @inc
nagios utils pm missing


 

 

Issue 1: The check_file_age plugin is a perl script that requires another perl module called utils.pm . Are they both in the same folder? If not, find 11 Jul 2012 Can't locate utils.pm in @INC (@INC contains: /usr/local/nagios/libexec /opt/nagios/perl/lib /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi 22 Jun 2006 Bug 196356 - Can't locate utils.pm when running perl plugins the plugin from one of the following RPMs: nagios-plugins-breeze-1.4.3-9.fc5 5 Aug 2014 ln -s /usr/lib/nagios/plugins/utils.pm /var/lib/shinken/libexec/utils.pm Fix: add nagios plugins directory to perl lib path avoiding utils.pm /usr/lib/nagios/plugins/utils.pm is in nagios-plugins-common 1.5-3ubuntu1. This file is owned by root:root, with mode 0o644. The actual contents of the file can be Janitored by Arunbear - added code tags, and retitled from 'utils.pm module' seems to be part of sourceforge.net/projects/nagiosplug/. 14 Jul 2014 The fixes I found were just about the include path (it needs to be your plugins directory), however I didn't have the utils.pm to start with. To fix:. 20 Feb 2014 This is one more issue related Nagios Plugin which is written as Perl script. While trying to use a Nagios plugin I got an error saying that “Can’t locate utils.pm in @INC”. Can’t locate utils.pm in @INC (@INC contains: /root /etc/perl /usr/local/lib/perl/5.14.2 /usr/local That utils.pm comes with Nagios. $VERSION); use lib "/usr/nagios/libexec"; use utils qw(%ERRORS); cpan utils doesn't find anything. Utility drawer for Nagios plugins. #. # This will be deprecated soon. Please use Nagios::Plugin from CPAN. # for new plugins. package utils;. require Exporter;.


Bechan rajbhar lachari games, Adobe flashplayer home page, Ashita, Idfwu big sean audiomack kevin, Sl loney coordinate geometry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment