matteocorti / nagios_plugins

18 stars 7 forks source link

Problem with check_rbl #102

Closed matteocorti closed 9 years ago

matteocorti commented 9 years ago

Original reporter: lync

Hi, I have problem with check_rbl. I have nagios version 3.2 on debian squeeze and check_rbl version is 1.3.0. When I used manually check_rbl example check_rbl -H -s everything is OK I have status correctly (,CHECK_RBL OK - BLACKLISTED on 0 servers of 1 | servers=0;0;0 time=0s;;) but when nagios doing this in nagios log file i have "No output returned from plugin" status check is UNKNOWN and doesn’t work correctly.

matteocorti commented 9 years ago

Original reporter: matteo@corti.li

Hi,

are you using embedded Perl? Nagios can work both with embedded Perl or by executing the plugins as separated processes.

This information would help to narrow down a possible problem.

[Martijn] this problem only seems to occur when using embedded Perl mode.

matteocorti commented 9 years ago

Original reporter: alasdair.robertson@escrivo.com

Hi I had the same issue when trying to add this plugin to my server. You can get around it in Nagios 3 and up by adding [[BR]]# nagios: -epn[[BR]] in the first 10 lines of the script so nagios knows not to run it in embedded mode.

matteocorti commented 9 years ago

Original reporter: matteo@corti.li

I just updated the plugin with a minor release disabling ePN.