Herramientas de usuario

Herramientas del sitio


unattended_installations:check_squid.pl

¡Esta es una revisión vieja del documento!


Download 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 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.1427842941.txt.gz · Última modificación: 2022/11/02 17:58 (editor externo)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki