Assistance with how to use Perl plugins in nagios core 4

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
id19
Posts: 1
Joined: Tue Nov 17, 2015 1:38 pm

Assistance with how to use Perl plugins in nagios core 4

Post by id19 »

Hi All,

I know that this question was asked many times: HOW TO RUN PERL PLUGINS WITH NAGIOS SO I CAN MONITOR DIFFERENT TYPES OF DEVICES (ESXI, SWITCHES ETC.)?

Trust me i tried every possible way but there is so much googeling that can be done on a topic. nobody seems to have the answer.

I should mention that im not the biggest expert in Nagios but i know how to work with Linux and especially Centos distro

My nagios server is Centos 7 x64 with the latest nagios core and nagios core plugins as of 11-17-2015

Ive tried things like:

1) people recommended to just download the .pl file and remove the .pl and place it in the /usr/local/nagios/libexec folder - DID NOT WORK

2) I also installed CPAN and all the required modules for nagios - DID NOT WORK

3) i tried so many plugins from nagios exchange followed the instructions of each plugin - DID NOT WORK

4) SNMP walk of all version (1,2,3) works great if i do it from the nagios machine towards the machine i want to monitor. but there is only so much that can be done with SNMP


I already have George Costanza hair style so if you are familier with him you would know i am not interested in loosing the rest of my hairs.

Any help would be appreciated!
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Assistance with how to use Perl plugins in nagios core 4

Post by rkennedy »

Here's a quick run through -
- Download .pl from the exchange
- Place it in the /usr/local/nagios/libexec/ directory
- chmod +x filename.pl (<--this might be the step you missed?)

If this isn't the issue, what errors are you receiving?
Former Nagios Employee
Locked