|
|||||||||||
|
Re: [Nagiosplug-help] How to verify if nagios was built with embperl?
From: Thomas Guyot-Sionnest <dermoth(at)aei.ca>
Date: Mon Sep 24 2007 - 23:28:42 EDT
On 24/09/07 09:22 AM, Ralph.Grothe@itdz-berlin.de wrote:
There you have it. You can also look at the output of configure (embedded Perl is a configure option). You can skip the embedded Perl execution by calling the Perl binary within Nagios. I.e. in your command definition: command_line /usr/bin/perl $USER1$/check_stuff.pl <some_args> While this is an option it is always better to fix your Perl script as embedded Perl execution is much faster (the plugin is compiled only once and there's no forking necessary). This is a good guideline fro writing ePN plugins: http://nagiosplug.sourceforge.net/developer-guidelines.html#PERLPLUGIN You can also use Nagios::Plugins which can make your life much easier...
Thomas
iD8DBQFG+IBq6dZ+Kt5BchYRAixEAJ44nrmCSmVbWInWugPLoRnT7GHRwQCghf/F
wQHaHAawLYbkIJL+m2JexxM=
This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ Nagiosplug-help mailing list Nagiosplug-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Received on Mon Sep 24 23:28:54 2007 This archive was generated by hypermail 2.1.8 : Mon Oct 08 2007 - 18:06:12 EDT |
||||||||||
|
|||||||||||