hi all<br><br>i have nagios 2.10 on centos 5 , i'm trying to install check_apache.pl but give me a error 127 .<br><br>check_apache.pl is locate in /usr/lib64/nagios/plugins/contrib/<br><br>in /etc/nagios/localhost.cfg i have add this lines :<br>
<br>define service{<br>       use                              local-service         ; Name of service template to use<br>       host_name                        localhost<br>       service_description              Check apache<br>
       check_command                    check_apache.pl<br>       }<br><br><br>and in /etc/nagios/command.cfg this lines:<br><br># 'check_apache.pl' command definition<br>define command{<br>        command_name    check_apache.pl<br>
        command_line    $USER1$/check_apache.pl -H $HOSTADDRESS$<br>        }<br><br><br>the plugin check-apache come with a standard rpm for centos , and perl language is installed because i use awstats...<br><br>thanks all :)<br>
<br><br><br>