turn off epn

Chris Waters CWaters at jeld-wen.com
Wed Sep 26 22:44:34 CEST 2007


Define a user macro in your resouces for /your/path/to/perl

Then change the commands for the plugins you want to use regular perl
for.

>From resources.cfg:

$USER2$=/usr/bin/perl


Example from command.cfg:

define command{
command_name    check_snmp_winmem
command_line    $USER2$ /usr/local/nagios/libexec/check_snmp_winmem -h
$HOSTADDRESS$ -w $ARG1$ -c $ARG2$
}


Chris Waters
Technology Services - Network Group
JELD-WEN, Inc.
Information Systems
cwaters at jeld-wen.com

-----Original Message-----
From: nagios-users-bounces at lists.sourceforge.net
[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of zack
kenton
Sent: Wednesday, September 26, 2007 1:34 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] turn off epn

Hi list

i've installed nagios from an rpm package, which in turn enables epn,
whish isnt necessarily a bad thing...however, I had some scripts from my
old version of nagios that are not working now because of epn...is there
anyway to tell nagios not to use epn and use regular perl to read the
script, because it works from the command line

- zack kenton (zkenton)

-----------------------
The mailing list archive is found here:
http://www.nagiosexchange.org/nagios-users.34.0.html
				

------------------------------------------------------------------------
-
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/
_______________________________________________
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

-------------------------------------------------------------------------
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/
_______________________________________________
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