setup check_apache.pl

Carlo Alberto Bedogni cabedogni at gmail.com
Sat Mar 15 10:57:24 CET 2008


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 :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080315/9b4d6f43/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
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/
-------------- next part --------------
_______________________________________________
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