hi all

i have nagios 2.10 on centos 5 , i'm trying to install check_apache.pl but
give me a error 127 .

check_apache.pl is locate in /usr/lib64/nagios/plugins/contrib/

in /etc/nagios/localhost.cfg i have add this lines :

define service{
       use                              local-service         ; Name of
service template to use
       host_name                        localhost
       service_description              Check apache
       check_command                    check_apache.pl
       }


and in /etc/nagios/command.cfg this lines:

# 'check_apache.pl' command definition
define command{
        command_name    check_apache.pl
        command_line    $USER1$/check_apache.pl -H $HOSTADDRESS$
        }


the plugin check-apache come with a standard rpm for centos , and perl
language is installed because i use awstats...

thanks all :)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
[email protected]
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

Reply via email to