Nagios::Plugin and Nagios Embedded perl interpretor

Marc-André Doll mad at b-care.net
Tue Feb 8 12:16:49 CET 2011


Hi list,

I'm developing some Nagios plugin with the Nagios::Plugin perl module
and it's saving me a great amount of time.

However, I encountered a little problem when I tried to activate the
embedded perl interpretor in Nagios: all checks returned an UNKNOWN
state with an error from the ePN saying that an error occurred in the
Getopt::Long perl module about the use of an uninitialized value line
459.

I suppose the problem come from my usage of the add_arg() function but I
don't know how to correct it.

Does somebody have already encountered that kind of behaviour or have an
idea on how to debug a perl script when it's launched by the ePN?

For information, I'm running on Nagios 3.6.2.

Thanks

Marc-André


------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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