Herramientas de usuario

Herramientas del sitio


unattended_installations:check_squid.pl

Diferencias

Muestra las diferencias entre dos versiones de la página.

Enlace a la vista de comparación

Próxima revisión
Revisión previa
unattended_installations:check_squid.pl [2015/03/31 22:55] – creado machounattended_installations:check_squid.pl [2022/11/02 17:58] (actual) – editor externo 127.0.0.1
Línea 1: Línea 1:
-Download check_squid{{:unattended_installations:check_squid.pl.rar|}}+Download {{:unattended_installations:check_squid.pl.rar|}}  
 + 
 +    tar -zxvf check_squid.pl.rar 
 + 
 +copy into the folder /usr/lib/nagios/plugins/ 
 + 
 +change the definition command for squid in /etc/nagios-plugins/config/http.cfg 
 +     
 +    # 'check_squid' - tries to access an URL through proxy 
 +    define command { 
 +        command_name    check_squid 
 +        command_line    $USER1$/check_squid.pl --proxy=$HOSTADDRESS$ --proxyport=$ARG1$ --proxyuser=$ARG2$ --proxypass=$ARG3$ --url=$ARG4$ --status=$ARG5$ 
 +        } 
 + 
 +Define the service into the icinga or nagios server config file 
 +  
 +     define service { 
 +        service_description             squid 
 +        use                             generic-service 
 +        host_name                       proxy 
 +        check_command                   check_squid!3128!squid!squid!http://www.google.com!200 
 +       }
unattended_installations/check_squid.pl.1427842552.txt.gz · Última modificación: 2022/11/02 17:58 (editor externo)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki