check_megaraid fails in Nagios 2.0 on Debian 3.1

Morris, Patrick patrick.morris at hp.com
Mon May 22 19:44:18 CEST 2006


If you're using embedded Perl (and it appears you are), the requirement
for plugins in Nagios 2 are fairly stringent, and they'll fail if not
coded properly.

http://nagiosplug.sourceforge.net/developer-guidelines.html#PERLPLUGIN

This plugin probably fails requireent #4. The good news is that it's
probably an easy fix.

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Gary
Danko
Sent: Monday, May 22, 2006 10:28 AM
To: Nagios-users at lists.sourceforge.net
Subject: [Nagios-users] check_megaraid fails in Nagios 2.0 on Debian 3.1

We have two Nagios 1.3 servers that sit on Debian 3.1 machines. The
check_megaraid version we use is 0.8.2. I am trying to migrate to Nagios
2.0, but the check_megaraid plugin fails in Nagios 2.0.

root at discostu:/etc/nagios2# /usr/local/nagios/plugins/check_megaraid
-H mail-incoming -C xxxxxx
megaraid OK

But in the Nagios web console on the same server I receive this error:

**ePN 'check_megaraid' Global symbol "$runtimedir" requires explicit
package name at (eval 6) line 51.

Has anyone here successfully run the check_megaraid plugin on Nagios
2.0?


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list