How to integrate Nagios & MRTG

Joerg Linge pitchfork at ederdrom.de
Tue Sep 5 18:37:16 CEST 2006


Am Dienstag, 5. September 2006 17:13 schrieb Blake Krone:
> That looks promising, however I get the following in my nagios log:
> *ePN failed to compile /usr/nagios/libexec/process_perfdata.pl: "Subroutine
> print_log redefined at (eval 15) line 236," at /usr/nagios/bin/p1.pl line
> 155.
>
> Any thoughts on that?

process_perfdata.pl uses the $NAGIOS_ ENV Variables.
So it is not possible to run it under controll of ePN.

Please try the following command definition.

define command{
command_name    process-service-perfdata
command_line    /bin/sh -c /usr/local/nagios/libexec/process_perfdata.pl
}

Jörg

-------------------------------------------------------------------------
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&kid=120709&bid=263057&dat=121642
_______________________________________________
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