<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2248108842907368244</id><updated>2024-11-08T07:03:33.428-08:00</updated><category term="Nagios"/><category term="firewall"/><category term="Cacti"/><category term="SOLR"/><category term="Varnish"/><title type='text'>Un poquito de Linux...on Centos</title><subtitle type='html'>Firewall cluster, iptables, heartbeart, Conntrak-tolls, Squid, Cacti, Nagios...</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2248108842907368244.post-8209999419885459246</id><published>2011-05-03T08:58:00.000-07:00</published><updated>2011-05-03T09:02:37.082-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Nagios"/><title type='text'>Nagios Varnish_check</title><content type='html'>&lt;span style=&quot;font-family: Calibri;&quot;&gt;Nagios Varnish_check_health&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBonim_gIVfjiXiQRZIQOjKesPPqdqOsHM4VmqU-k2PsoSkE87XeDhoYXlAlSsjEQ97OG6pp4z9DAacVQT4udLJlOfppocmJceaLsj97RUAJWvvWPo8stXqOkc-O-bEAG2ehMBoRp6qeg/s1600/nagios.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;12&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBonim_gIVfjiXiQRZIQOjKesPPqdqOsHM4VmqU-k2PsoSkE87XeDhoYXlAlSsjEQ97OG6pp4z9DAacVQT4udLJlOfppocmJceaLsj97RUAJWvvWPo8stXqOkc-O-bEAG2ehMBoRp6qeg/s640/nagios.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Vamos configurara el puglin de nagios para Varnish, con este monitor nos monitorizara que la conexión al backend funciona correctamente. Acordaros que en la configuración del &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;myconfig.vcl &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;tenemos los backends monitorizados.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#] vi /etv/varnish/myconfig.vcl&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;## Backend definition.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# set default backend if no server cluster specified&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;backend backend_default {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.host = &quot;img01&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.port = &quot;81&quot;; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;.probe = {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.url = &quot;/test.jpg&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.interval = 10s;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.timeout = 5 s;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.window = 5;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;.threshold = 3;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Si tenemos varios backends definidos, este monitor solo nos informara del primero.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Descargamos el plugin desde:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=2249&amp;amp;cf_id=24&quot;&gt;&lt;span style=&quot;color: blue; font-family: Calibri;&quot;&gt;http://exchange.nagios.org/components/com_mtree/attachment.php?link_id=2249&amp;amp;cf_id=24&lt;/span&gt;&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Copiamos el plugin en el servidor &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#] cp check_varnish_health /usr/local/nagios/libexec/&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos que realizar una modificación sobre el plugin, hay que añadir la clave secreta, está la crearemos en otro lugar que no sea el fichero que viene con &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;la instalación por defecto (instalación del Varnish) ya que esta clave solo será para que el usuario &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;cacti &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;tenga acceso al Varnish.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#] vi &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=50000 lumo=50000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 128;&quot;&gt;/usr/local/nagios/libexec/secret&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#] vi /usr/local/nagios/libexec/check_varnish_health&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=50000 lumo=50000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 128;&quot;&gt;COMMAND=`varnishadm -S /usr/local/nagios/libexec/secret -T $IP\:$PORT debug.health&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;2&amp;gt;&amp;amp;1 | head -1 | cut -d&#39; &#39; -f4`&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=50000 lumo=50000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 128;&quot;&gt;OUTPUT=`varnishadm -S /usr/local/nagios/libexec/secret -T $IP\:$PORT debug.health&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;2&amp;gt;&amp;amp;1 | head -1`&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Cambiamos los permisos del fichero &lt;/span&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=50000 lumo=50000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 128;&quot;&gt;secret &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;para que solo tenga acceso el usuario &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;cacti &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;y cambiamos los accesos al plugin para que se pueda ejecutar.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#] chown -R nagios:nagios /usr/local/nagios/libexec/secret&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#] chmod -R 777 /usr/local/nagios/libexec/check_varnish_health &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Modificamos el fichero de configuración del &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;nrpe &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;añadiendo el servidor y puerto de acceso por remoto del Varnish.&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#] vi /usr/local/nagios/etc/nrpe.cfg&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; tab-stops: 64.5pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;command[check_varnish_health]=/usr/local/nagios/libexec/check_varnish_health -i xx.xx.xx.xx -p 6082&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Añadimos el comando en el server Nagios.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; tab-stops: 64.5pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#] vi /usr/local/nagios/etc/objects/commands.cfg&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# &#39;check_varnish_health&#39; command definition&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;define command{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;command_name&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;check_varnish_health&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;command_line&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;$USER1$/check_varnish_health&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;}&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Y definimos el servicio &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#] vi /usr/local/nagios/etc/objects/server_proxy.cfg&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; tab-stops: 64.5pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;define service{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;use&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Standard-Service&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;host_name&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;ip-Server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;servicegroups&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Sys-Services&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;service_description varnish Health&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;check_command&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;check_nrpe_linux!check_varnish_health&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Cuidado con el &lt;/span&gt;&lt;span style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;check_nrpe_linux&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; yo lo tengo porque monitorizamos server Windows y tenemos un check_nrpe para Windows y otro para Linux (es la única manera que encontramos de solucionar el tema del número de argumento $arg1$ $arg2$ $arg3$...)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/8209999419885459246/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2248108842907368244/8209999419885459246?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/8209999419885459246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/8209999419885459246'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/2011/05/nagios-varnishcheckhealth.html' title='Nagios Varnish_check'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBonim_gIVfjiXiQRZIQOjKesPPqdqOsHM4VmqU-k2PsoSkE87XeDhoYXlAlSsjEQ97OG6pp4z9DAacVQT4udLJlOfppocmJceaLsj97RUAJWvvWPo8stXqOkc-O-bEAG2ehMBoRp6qeg/s72-c/nagios.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248108842907368244.post-2415237547007993501</id><published>2011-05-02T08:38:00.001-07:00</published><updated>2011-05-03T00:57:27.036-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Varnish"/><title type='text'>Varnish on Centos</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Varnish on CentOs&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Que es Varnish??? Si quieres instalarlo seguro que ya sabes lo que es y para que sirve…&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Nosotros vamos a utilizar Varnish como proxy inverso (reverse-proxy) de contenido estático, pero este “Open Source”&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;está diseñado &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;como acelerador de contenidos, ya sea estático o dinámico. De momento solo vamos a utilizarlo como cache de imágenes, de nuestro portal. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;La instalación es sencilla, pero tendremos que familiarizarnos con su propio lenguaje de VCL &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;a href=&quot;http://www.varnish-cache.org/trac/wiki/VCL&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;http://www.varnish-cache.org/trac/wiki/VCL&lt;/span&gt;&lt;/a&gt;, luego explicare el fichero de configuración que tenemos aplicado en nuestro sistema.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;La estructura, tenemos dos servidores Varnish, que atienden por el puerto 80 (estos dos server están balanceado) a su vez tenemos dos backend que contienen los repositorios de imágenes, que responden al puerto 81 con un LighttpD sobre Windows.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Desglose técnico:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Varnish Server:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;PROXY01 -&amp;gt; CentOs 5.6 kernel 2.6.18-238.9.1.el5 x64 – 12 GB RAM – 136 GB disco.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;PROXY02 -&amp;gt; CentOs 5.6 kernel 2.6.18-238.9.1.el5 x64 – 12 GB RAM – 136 GB disco.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Backend Server:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;IMG01 -&amp;gt; Windows 2008 Enterprise R2 x64 – 9 GB RAM – 1.5 TB imágenes (1 TB ocupado)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;IMG02 -&amp;gt; Windows 2008 Enterprise R2 x64 – 9 GB RAM – 1.5 TB imágenes (1 TB ocupado)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Storage System:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Cabina de disco HP EVA 4400 (fibra SCSI), conexión por fibra a los &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;backend.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8iYEBTCadCUmWTse3iFVaze3jVQSXBipreMA-lNXsC-qV4rL4edZ5eM46Q1tNMjsroF3NyqBCHXR0Vo-IcHqxBu6Iq7prGVff1RSxPUd0BvIZrPHB2EtoXfazShp6a7r2J_MVKXx2Aak/s1600/Varnish.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;204&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8iYEBTCadCUmWTse3iFVaze3jVQSXBipreMA-lNXsC-qV4rL4edZ5eM46Q1tNMjsroF3NyqBCHXR0Vo-IcHqxBu6Iq7prGVff1RSxPUd0BvIZrPHB2EtoXfazShp6a7r2J_MVKXx2Aak/s320/Varnish.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Una vez ya sabemos cómo tenemos construido el sistema, vamos a proseguir con la instalación y configuración del sistema.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Instalación, tenemos que isntalar el repositorio de varnish para poder realizer un yum install.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;rpm --nosignature -i http://repo.varnish-cache.org/redhat/el5/noarch/varnish-release-2.1-2.noarch.rpm&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#] yum install varnish&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Ya tenemos la instalación de Varnish, dejamos activado el autoarranque del servidor y de los sistemas de LOG.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;chkconfig varnish on&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;chkconfig varnishlog on&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;chkconfig varnishncsa on&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Los tiene dos servicios de log los cuales se guardan en &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;/var/log/varnish/ &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;tenemos&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;el &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;varnishlog &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;es el propio sistema de log, con formato Varnish, nos muestra el flujo de las peticiones, lo podemos utilizar en consola.&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;varnishlog &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;16 TxHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b Accept-Encoding: gzip, deflate&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;16 TxHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b Host: images.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;16 TxHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b X-Varnish: 705369720&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;16 RxProtocol&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b HTTP/1.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;16 RxStatus&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b 200&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;16 RxResponse&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b OK&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;16 RxHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b Content-Type: image/jpeg&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;16 RxHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b Accept-Ranges: bytes&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;16 RxHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b ETag: &quot;2884099485&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;16 RxHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b Last-Modified: Sun, 01 May 2011 10:52:54 GMT&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;16 RxHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b Content-Length: 1901&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;16 RxHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b Connection: close&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;16 RxHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b Date: Mon, 02 May 2011 10:21:53 GMT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;16 RxHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;b Server: LightTPD/1.4.28 (Win32)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;18 TTL&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;c 705369720 RFC 120 1304331713 0 0 0 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;18 VCL_call&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;c fetch&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;18 TTL&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;c 705369720 VCL 604800 1304331713&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;18 VCL_return&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;c deliver&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;18 ObjProtocol&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;c HTTP/1.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;18 ObjStatus&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;c 200&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;18 ObjResponse&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;c OK&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;18 ObjHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;c Content-Type: image/jpeg&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;18 ObjHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;c ETag: &quot;2884099485&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;18 ObjHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;c Last-Modified: Sun, 01 May 2011 10:52:54 GMT&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;18 ObjHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;c Date: Mon, 02 May 2011 10:21:53 GMT&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;18 ObjHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;c Server: (Win32)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;18 ObjHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;c X-Cacheable: YES&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;18 ObjHeader&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;c cache-control: max-age = 2592000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Y el &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;varnishncsa&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; sistema de log con formato web, lo podemos comprobar mediante &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;tail –f /var/log/Varnish/Varnishncsa.log&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;172.xx.xx.xx - - [02/May/2011:12:30:38 +0200] &quot;GET /test.jpg &quot; 400 349 &quot;-&quot; &quot;-&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Es recomendable modificar la configuración del &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;logrotate&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;para que cambien los log a diario &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;vi /etc/logrotate.conf &lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;vi /etc/logrotate.conf &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# see &quot;man logrotate&quot; for details&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# rotate log files weekly&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;daily&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# keep 4 weeks worth of backlogs&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;rotate 7&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; tab-stops: 64.5pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Almacenamiento de Varnish.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos dos opciones para almacenar en cache los objetos, uno es utilizar la memoria RAM, este tiene la ventaja que trabaja más rápido que el disco y la desventaja &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;necesitamos mucha memoria RAM si queremos tener una gran numero de objetos cacheados. La otra opción es utilizar disco físico como almacenamiento, esta opción está muy bien pensada porque por lo contrario de otros sistemas reverse-proxy, Varnish utiliza un único fichero con la capacidad que le indiquemos y lo gestiona de una manera óptima e indexada.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;En la configuración explicare como utilizar una opción o la otra, todo dependerá de nuestros requisitos, nosotros hemos utilizado la opción de &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;disco&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;con particiones &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ext4&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; porque este formato de disco optimiza los fichero de gran tamaño. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;En CentOs, a partir de la versión 5.6 es totalmente compatible el formato &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ext4 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;una vez tenemos instalado la versión correcta, instalamos la herramienta de para dar formato a nuestra partición.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt; tab-stops: 64.5pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;yum -y install e4fsprogs&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Como no tenemos la posibilidad de tener dos disco en RAID-1 para el servidor, hemos realizado dos particiones sobre el RAID-1 de 136 GB, &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;la partición /&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;cache_disk&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;la utilizaremos solo para almacén de objetos.&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;df -h&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;Filesystem&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Size&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Used Avail Use% Mounted on&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;/dev/cciss/c0d0p1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;21G&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;2.5G&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;17G&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;13% /&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;/dev/cciss/c0d0p2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;98G&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;2.3G&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;91G&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3% /cache_disk&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;tmpfs&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Vamos a desmontar &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;c0d0p2.&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;umount /dev/cciss/c0d0p2&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Le damos formato a la partición.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;tune4fs -O extents,uninit_bg,dir_index /dev/cciss/c0d0p2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Optimización de la partición.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;e4fsck -fDC0 /dev/cciss/c0d0p2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos que configurar el fichero &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;fstab &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;para dejar los cambios en el inicio.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;vi /etc/fstab&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos que realizar la siguientes modificaciones, quitar &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;LABEL=/cache_disk &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;y ponemos &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;/dev/cciss/c0d0p2, &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;cambiar &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ext3&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;por &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;ext4 &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;y para el Varnish poner las opciones &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;noatime,nodiratime &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;la configuración nos quedaría de la siguiente manera.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;/dev/cciss/c0d0p2 /cache_disk &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;ext4 &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;defaults,noatime,nodiratime&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;1 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Volvemos a montar la unidad y reiniciamos para comprobar que todo funciona OK.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;mount /dev/cciss/c0d0p2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Configuración Varnish&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Ya tenemos instalado Varnish y preparado el servidor para realizar la configuración, lo primero que tenemos que conocer son los tres ficheros de configuración de Varnish.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Fichero de configuración del servidor Varnish&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;vi /etc/sysconfig/varnish&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;----------------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# Configuration file for varnish&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# /etc/init.d/varnish expects the variable $DAEMON_OPTS to be set from this&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# shell script fragment.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# Maximum number of open files (for ulimit -n)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;NFILES=131072&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# Locked shared memory (for ulimit -l)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# Default log size is 82MB + header&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;MEMLOCK=82000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # Main configuration file. You probably want to change it :)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_VCL_CONF=/etc/varnish/myconfig.vcl&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # Default address and port to bind to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # Blank address means all IPv4 and IPv6 interfaces, otherwise specify&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # a host name, an IPv4 dotted quad, or an IPv6 address in brackets.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# VARNISH_LISTEN_ADDRESS=&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_LISTEN_PORT=80&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # Telnet admin interface listen address and port&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_ADMIN_LISTEN_ADDRESS=127.0.0.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_ADMIN_LISTEN_PORT=6082&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # Shared secret file for admin interface&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_SECRET_FILE=/etc/varnish/secret&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # The minimum number of worker threads to start&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_MIN_THREADS=1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # The Maximum number of worker threads to start&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_MAX_THREADS=1000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # Idle timeout for worker threads&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_THREAD_TIMEOUT=120&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # Cache file location&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_STORAGE_FILE=/cache_disk/varnish_storage.bin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # Cache file size: in bytes, optionally using k / M / G / T suffix,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # or in percentage of available disk space using the % suffix.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_STORAGE_SIZE=90G&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # Cache memory size: same that Storage_file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_MEMORY_SIZE=10G&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # Backend storage specification&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_STORAGE=&quot;file,${VARNISH_STORAGE_FILE},${VARNISH_STORAGE_SIZE}&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # Default TTL used when the backend does not specify one&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_TTL=120&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # DAEMON_OPTS is used by the init script.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;If you add or remove options, make&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# # sure you update this section, too.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;DAEMON_OPTS=&quot;-a ${VARNISH_LISTEN_ADDRESS}:${VARNISH_LISTEN_PORT} \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-f ${VARNISH_VCL_CONF} \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-T ${VARNISH_ADMIN_LISTEN_ADDRESS}:${VARNISH_ADMIN_LISTEN_PORT} \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-t ${VARNISH_TTL} \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-w ${VARNISH_MIN_THREADS},${VARNISH_MAX_THREADS},${VARNISH_THREAD_TIMEOUT} \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-u varnish -g varnish \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-S ${VARNISH_SECRET_FILE} \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-s ${VARNISH_STORAGE} \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# -s malloc,${VARNISH_MEMORY_SIZE} \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p obj_workspace=4096 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p sess_workSpace=262144 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p listen_depth=4096 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p overflow_max=2000 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p ping_interval=2 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p log_hashstring=off \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-h classic,5000009 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p thread_pool_max=4000 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p lru_interval=20 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p esi_syntax=0x00000003 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p sess_timeout=2 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p thread_pools=4 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p thread_pool_min=400 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p shm_workspace=32768 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p srcadd_ttl=0 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p thread_pool_add_delay=2&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Que hemos configurado,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_VCL_CONF=/etc/varnish/myconfig.vcl&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Que fichero vamos a utilizar para la configuración &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;del proxy, este fichero lo explicaremos más adelante.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_STORAGE_FILE=/cache_disk/varnish_storage.bin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Donde vamos a ubicar el fichero de cache, este fichero lo ubicamos en la partición ext4 que hemos creado anteriormente, el acceso y rendimiento es óptimo.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_STORAGE_SIZE=90G&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;El espacio disponible que damos al Varnish para que almacene objetos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;VARNISH_MEMORY_SIZE=10G&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Si utilizamos la memoria como almacén de objetos, esta será la memoria que utilizara, en nuestro caso no lo utilizamos, esto lo indicamos.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-s ${VARNISH_STORAGE} \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# -s malloc,${VARNISH_MEMORY_SIZE} \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Ahora vamos a ver la configuración del daemon&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;DAEMON_OPTS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p obj_workspace=4096 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p sess_workSpace=262144 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p listen_depth=4096 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p overflow_max=2000 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p ping_interval=2 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p log_hashstring=off \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-h classic,5000009 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p thread_pool_max=4000 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p lru_interval=20 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p esi_syntax=0x00000003 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p sess_timeout=2 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p thread_pools=4 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p thread_pool_min=400 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p shm_workspace=32768 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p srcadd_ttl=0 \&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;-p thread_pool_add_delay=2&quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Esta optimizada la configuración para el servidor con 2 Procesadores Intel DualCore x64.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;thread_pool_add_delay=2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;thread_pools = &amp;lt;Number of cpu cores&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;thread_pool_min = &amp;lt;800/number of cpu cores&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;thread_pool_max = 4000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Ya tenemos configurado el servidor, ahora tenemos que configurar el servicio, aquí entra en juego el lenguaje propio del Varnish VCL, nuestra configuración es muy sencilla solo reverse-proxy de imágenes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Configuración VLC&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#] vi /etc/Varnish/inmesp.vcl&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;## This is a basic VCL configuration file for varnish.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;## Backend definition.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# set default backend if no server cluster specified&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;backend inmesp_default {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;.host = &quot;img01&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.port = &quot;81&quot;; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.probe = {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.url = &quot;/test.jpg&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.interval = 10s;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.timeout = 5 s;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.window = 5;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.threshold = 3;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# create a round-robin director: &quot;images_cluster&quot; uses server1 and server2 as backend servers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;director inmesp_cluster round-robin {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;{ .backend = { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.host = &quot;img01&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.port = &quot;81&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.probe = {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.url = &quot;/test.jpg&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.interval = 5s;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.timeout = 1 s;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.window = 5;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.threshold = 3;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;} &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;{ .backend = { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;.host = &quot;img02&quot;; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.port = &quot;81&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.probe = {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.url = &quot;/test.jpg&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.interval = 5s;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.timeout = 1 s;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.window = 5;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;.threshold = 3;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;} &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;## Only permit cluster to purge files from cache&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;acl purge {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&quot;proxy01&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&quot;proxy02&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;## vcl_recv is called whenever a request is received &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;sub vcl_recv {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# This uses the ACL action called &quot;purge&quot;. Basically if a request to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# PURGE the cache comes from anywhere other than localhost, ignore it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if (req.request == &quot;PURGE&quot;) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{if (!client.ip ~ purge)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{error 405 &quot;Not allowed.&quot;;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;return (lookup);}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# Serve objects up to 2 minutes past their expiry if the backend&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# is slow to respond.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;set req.grace = 120s;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# Use our round-robin &quot;inmesp_cluster&quot; cluster for the backend.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# Use &quot;inmesp_default&quot; for one only backend &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if (req.http.host ~ &quot;^images.domain.com$&quot;) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{set req.backend = inmesp_default;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{set req.backend = inmesp_cluster;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;## Cache based on file path - if it&#39;s in /images/, it probably &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;## doesn&#39;t change much.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if (req.request == &quot;GET&quot; &amp;amp;&amp;amp; req.url ~ &quot;^/PATH1|/PATH2&quot;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;unset req.http.cookie;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;return (lookup);}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;else{return (pass);}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;## If your app has a less predictable layout - you can instead&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;## cache based on file extension - be sure to update vcl_fetch&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;## if you use this method.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#if (req.request == &quot;GET&quot; &amp;amp;&amp;amp; req.url~ &quot;\.(gif|jpg|jpeg|png|tiff|tif|ico)$&quot;) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;unset req.http.cookie;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;return (lookup);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;#}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;return (lookup);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# Called if the cache has a copy of the page.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;sub vcl_hit {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if (req.request == &quot;PURGE&quot;) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{purge_url(req.url);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;error 200 &quot;Purged&quot;;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# Called if the cache does not have a copy of the page.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;sub vcl_miss {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if (req.request == &quot;PURGE&quot;) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{error 200 &quot;Not in cache&quot;;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# Called after a document has been successfully retrieved from the backend.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;sub vcl_fetch {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# set minimum timeouts to auto-discard stored objects&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;set beresp.grace = 120s;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if (req.request == &quot;GET&quot; &amp;amp;&amp;amp; req.url ~ &quot;^/inmogeo|/inmesp&quot; ) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;unset beresp.http.Set-cookie;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;set beresp.http.X-Cacheable = &quot;YES&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;set beresp.cacheable = true;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;## How to cache things longer on Varnish than on the client&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if (beresp.cacheable) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# Remove Expires from backend, it&#39;s not long enough&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;unset beresp.http.expires; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# Set the clients TTL on this object&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;set beresp.http.cache-control = &quot;max-age = 2592000&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# Set how long Varnish will kepp it&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;set beresp.ttl = 1w;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# marker for vcl_deliver to reset Age:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;set beresp.http.magicmarker = &quot;1&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;return (deliver);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;#if (req.request == &quot;GET&quot; &amp;amp;&amp;amp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;#&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;req.url ~ &quot;\.(gif|jpg|jpeg|png|tiff|tif|ico)$&quot; ) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;#&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;unset beresp.http.set-cookie;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;#&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;set beresp.http.X-Cacheable = &quot;YES&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;#&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;set beresp.cacheable = true;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;#&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;return (deliver);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;#&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;## Don&#39;t cache anything that is not a 20x response.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;We don&#39;t want &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;## to cache errors.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;If you want to cache redirects, you &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;## can set this to be higher than 300 (temporary redirects are 302)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if (beresp.status &amp;gt;= 300) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;return (pass);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;## if varnish thinks it&#39;s not cachable, don&#39;t cache it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if (!beresp.cacheable) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;return (pass);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;return (pass);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;sub vcl_deliver {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;## Add cache hit data&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if (obj.hits &amp;gt; 0) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;#if hit add hit count&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;set resp.http.X-Cache = &quot;HIT&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;set resp.http.X-Cache-Hits = obj.hits;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;set resp.http.X-Cache = &quot;MISS&quot;;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;## How to cache things longer on Varnish than on the client&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if (resp.http.magicmarker) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# Remove the magic marker&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;unset resp.http.magicmarker;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# By definition we have a fresh object&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;set resp.http.age = &quot;0&quot;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;set resp.http.X-Age = resp.http.Age;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;unset resp.http.Age;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;unset resp.http.Server;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;unset resp.http.X-Served-By;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;set resp.http.X-Served-By = &quot;proxy01&quot;;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# Called if the cache has a copy of the page.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;sub vcl_hit {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if (req.request == &quot;PURGE&quot;) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;{purge_url(req.url);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;error 200 &quot;Purged&quot;;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if (!obj.cacheable) {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;return(pass);}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;En otro momento explicare que significa cada configuración que hemos realizado, aunque no tiene mucha complicación. ()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt; text-align: justify; text-justify: inter-ideograph;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Fichero &lt;/span&gt;&lt;span style=&quot;color: #595959; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #595959; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=65000 lumo=35000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 166;&quot;&gt;secret, &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;en este fichero tenemos que poner la contraseña para poder acceder al Varnish desde consola &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;vi /etc/Varnish/secret&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tuning Varnish&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Vamos a realizar unas modificaciones para el Varnish.&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;vi /etc/sysctl.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.ipv4.ip_local_port_range = 1024 65536&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.core.rmem_max=16777216&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.core.wmem_max=16777216&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.ipv4.tcp_rmem=4096 87380 16777216&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.ipv4.tcp_wmem=4096 65536 16777216&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.ipv4.tcp_fin_timeout = 3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.ipv4.tcp_tw_recycle = 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.core.netdev_max_backlog = 30000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.ipv4.tcp_no_metrics_save=1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.core.somaxconn = 262144&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.ipv4.tcp_syncookies = 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.ipv4.tcp_max_orphans = 262144&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.ipv4.tcp_max_syn_backlog = 262144&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.ipv4.tcp_synack_retries = 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.ipv4.tcp_syn_retries = 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;fs.file-max = 131072&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;vm.swappiness = 0&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;# Keep Alive&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.ipv4.tcp_keepalive_time = 300&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.ipv4.tcp_keepalive_intvl = 10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;net.ipv4.tcp_keepalive_probes = 5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Hay que añadir estos límites para el usuario &lt;/span&gt;&lt;span style=&quot;color: #595959; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #595959; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=65000 lumo=35000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 166;&quot;&gt;Varnish&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;[#]&amp;nbsp;/etc/security/limits.conf&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;@varnish&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;soft&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;nofile&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;131072&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;@varnish&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;hard&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;nofile&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;131072&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;@varnish&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;soft&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;memlock&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;400000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 0pt;&quot;&gt;&lt;span style=&quot;color: #7f7f7f; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #7F7F7F; mso-style-textfill-fill-themecolor: background1; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;@varnish&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;hard&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;memlock&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;400000&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Como ya habíamos modificado, la partición para la cache de objetos la tenemos en &lt;/span&gt;&lt;span style=&quot;color: #595959; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #595959; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=65000 lumo=35000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 166;&quot;&gt;ext4&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; y &lt;/span&gt;&lt;span style=&quot;color: #595959; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #595959; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=65000 lumo=35000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 166;&quot;&gt;noatime &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;y&lt;/span&gt;&lt;span style=&quot;color: #595959; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-style-textfill-fill-alpha: 100.0%; mso-style-textfill-fill-color: #595959; mso-style-textfill-fill-colortransforms: &amp;quot;lumm=65000 lumo=35000&amp;quot;; mso-style-textfill-fill-themecolor: text1; mso-themecolor: text1; mso-themetint: 166;&quot;&gt; nodiratime.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/2415237547007993501/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2248108842907368244/2415237547007993501?isPopup=true' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/2415237547007993501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/2415237547007993501'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/2011/05/varnish-on-centos.html' title='Varnish on Centos'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8iYEBTCadCUmWTse3iFVaze3jVQSXBipreMA-lNXsC-qV4rL4edZ5eM46Q1tNMjsroF3NyqBCHXR0Vo-IcHqxBu6Iq7prGVff1RSxPUd0BvIZrPHB2EtoXfazShp6a7r2J_MVKXx2Aak/s72-c/Varnish.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248108842907368244.post-6939414809638362212</id><published>2011-03-03T06:56:00.000-08:00</published><updated>2011-03-03T06:56:05.964-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Nagios"/><title type='text'>Añadir servidor on Nagios</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Añadir servidor Linux&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Una vez instalado el paquete NRPE en nuestro server Linux, tenemos que añadirlo al nuestro entorno de monitorización Nagios. Si has leído el artículo &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Nagios on Centos &lt;/b&gt;podrás seguir este.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Vamos a añadir un servidor SQUID (reverse proxy cache) en nuestra estructura, lo primero que tenemos que hacer es añadir un nuevo grupo de server&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /usr/local/nagios/etc/objects/sys-files/grupos-hosts.cfg&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;#############################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;define hostgroup{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;hostgroup_name&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;SQUID-Servers&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;alias&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Servidores De Cache Imagenes&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;#############################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos que añadir un nuevo servidor al entorno Nagios&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /usr/local/nagios/etc/objects/hosts.cfg&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;######################################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;define host{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;use&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Standard-Linux&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;host_name&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;SQUID01&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;; The name we&#39;re giving to this switch&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;alias&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;SQUID01&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;; A longer name associated with the switch&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;address&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;xx.xx.xx.xx&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;; IP address of the switch&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;hostgroups &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;SQUID-Servers&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;###################################################################### &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Añadimos el fichero de configuración del nuevo servidor.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /usr/local/nagios/etc/objects/server-files/SQUID01.cfg&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# Create a service to PING to server&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;define service {&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;use&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Standard-Service&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 7pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;; Inherit values from a template&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;host_name&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;SQUIDD01&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 7pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;; The name of the host the service is associated with&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;servicegroups&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;SYS-Networks&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 7pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;; Grupo al que pertenece el servicio&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;service_description&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;PING&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 7pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;; The service description&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;check_command&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;check_ping!200.0,20%!600.0,60%&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 7pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;; The command used to monitor the service&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;normal_check_interval&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 8pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;5&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 7pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;; Check the service every 5 minutes under normal conditions&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 8pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;retry_check_interval&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;1 &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 8pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 7pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;;Re-check the service every minute until its final/hard state&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 8pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt; is determined&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;…&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos que ir añadiendo los servicios que queremos monitorizar, solo el puesto el del PING.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Solo nos queda recargar la configuración de Nagios y comprobar que funciona todo los servicios que hemos puesto.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; service nagios reload&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Si nos da un error podemos mirar en que nos hemos equivocado &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt;/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/6939414809638362212/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2248108842907368244/6939414809638362212?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/6939414809638362212'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/6939414809638362212'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/2011/03/anadir-servidor-on-nagios.html' title='Añadir servidor on Nagios'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248108842907368244.post-2311463135632761195</id><published>2011-03-03T06:52:00.001-08:00</published><updated>2011-03-29T12:42:13.263-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Nagios"/><title type='text'>Nagios Chek_hp</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Nagios Chek_hp&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Iré poniendo los servicios que tenemos monitorizados en nuestro entorno. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Para monitorizar los agentes de HP, tenemos que tener instalado el &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;net-snmp &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;la configuración del snmp la realizaremos con la instalación del pulgin&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;check_hp&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; yum install net-snmp&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;======================================================================&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Package&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Arch&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Version&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Repository&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Size&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;======================================================================&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;Installing:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;net-snmp&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;x86_64&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1:5.3.2.2-9.el5_5.1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;updates&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;702 k&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;Installing for dependencies:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;lm_sensors&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;x86_64&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;2.10.7-9.el5&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;base&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;525 k&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;net-snmp-libs&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;x86_64&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;1:5.3.2.2-9.el5_5.1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;updates&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;1.3 M&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Nos tenemos que acordar que arranque el servicio en el inicio del server&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; &lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;chkconfig snmpd on&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos que instalar el plugins&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;https://www.monitoringexchange.org/attachment/download/Check-Plugins/Hardware/Server-%2528Manufacturer%2529/HP-%2528Compaq%2529/check_hp-/check_hp-2.5.tar-gz&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;check_hp-2.5.tar.gz&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt; copiando el &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;check_hp &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 10pt; line-height: 115%;&quot;&gt;en la carpeta de los plugins.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;/usr/local/nagios/libexec/check_hp &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Darle permisos para que lo acceda el usuario &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;nagios &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; chown nagios.nagios /usr/local/nagios/libexec&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; chmod –R 777 /usr/local/nagios/libexec&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Para que funcione el plugin es requisito tener instalado &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;NET:SNMP &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;lo instalaremos con la herramienta &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;cpan &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;si no lo tenemos configurado el &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;cpan&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; la primera vez que lo utilicemos lo tendremos que configurar, es muy intuitivo.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cpan&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Lanzamos la instalación de &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;NET:SNMP&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cpan&amp;gt; install Net::SNMP&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Nos pedirá que instalemos las dependencias, aceptaremos.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;Warning: prerequisite Crypt::DES 2.03 not found.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;Warning: prerequisite Digest::HMAC 1.00 not found.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;Warning: prerequisite Digest::SHA1 1.02 not found.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;Writing Makefile for Net::SNMP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;---- Unsatisfied dependencies detected during [D/DT/DTOWN/Net-SNMP-v6.0.1.tar.gz] -----&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Digest::HMAC&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Crypt::DES&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Digest::SHA1&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;Shall I follow them and prepend them to the queue&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;of modules we are processing right now? [yes]&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Ahora tenemos que instalar el componente que se comunica con los agentes HP lo podemos encontrar en la web de hp &lt;/span&gt;&lt;a href=&quot;http://bizsupport1.austin.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?swItem=MTX-14584a8c3cf34526bff7c844f6&amp;amp;swLang=8&amp;amp;swEnvOID=4004&amp;amp;prodNameId=3288150&amp;amp;lang=en&amp;amp;cc=us&amp;amp;idx=1&amp;amp;mode=4&amp;amp;&quot;&gt;&lt;span style=&quot;font-size: 7pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;http://bizsupport1.austin.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?swItem=MTX-14584a8c3cf34526bff7c844f6&amp;amp;swLang=8&amp;amp;swEnvOID=4004&amp;amp;prodNameId=3288150&amp;amp;lang=en&amp;amp;cc=us&amp;amp;idx=1&amp;amp;mode=4&amp;amp;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Nos descargamos el&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;paquete &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;hpasm-7.9.0-116.rhel5.x86_64.rpm &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; rpm -ivh hpasm-7.9.0-116.rhel5.x86_64.rpm&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Como vemos la instalación es correcta pero nos pide que lancemos la configuración&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; /etc/init.d/hpasm configure&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;La configuración es muy intuitiva, solo tenemos que tener en cuenta la configuración del &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;snmpd.conf &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;nos pregunta si queremos utilizar nuestra configuración o hacerla de nuevo, yo la configuro de nuevo.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;Do you wish to use an existing snmpd.conf (y/n) (Blank is n): n&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Si vemos como nos ha quedado &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;snmpd.conf&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /etc/snmpd/snmpd.conf&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# Following entries were added by HP Insight Management Agents at&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;#&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Tue Mar&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;1 13:06:07 CET 2011&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;dlmod cmaX /usr/lib64/libcmaX64.so&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;rocommunity public 127.0.0.1&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;rocommunity&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;public xxx.xxx.xxx.xxx&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;sysname server_name.dominio.local&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;## Informacion Contacto del Sistema&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;syslocation SERVER_NAME - CPD Timofónica (bastidor 1111) - Madrid&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;syscontact Sistemas (correo@correo.com)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# ---------------------- END --------------------&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Solo nos queda arrancar el servicio&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; service snmpd start&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 64.5pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Es importare que pongamos el&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt; hpasm &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;servicio en el inicio&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; &lt;/span&gt;&lt;code&gt;&lt;span style=&quot;font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt;chkconfig &lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;hpasm &lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&lt;code&gt;&lt;span style=&quot;font-size: 10pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;on&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/2311463135632761195/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2248108842907368244/2311463135632761195?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/2311463135632761195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/2311463135632761195'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/2011/03/blog-post.html' title='Nagios Chek_hp'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248108842907368244.post-8089329569749846764</id><published>2011-03-03T06:48:00.001-08:00</published><updated>2011-03-03T06:49:03.085-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Nagios"/><title type='text'>Nagios Chek_disk</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Nagios Chek_disk&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Iré poniendo los servicios que tenemos monitorizados en nuestro entorno. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Para monitorizar los discos, tenemos que modificar&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;la configuración de &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;nrpe.cfg &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;para que monitorice los diferentes volúmenes.&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /usr/local/nagios/etc/nrpe.cfg &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;command[check_dev]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/cciss/c0d0p2&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Para ver los diferentes volúmenes que queremos monitorizar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; df –h&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;Filesystem&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Size&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Used Avail Use% Mounted on&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;/dev/cciss/c0d0p2&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;30G &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;2.3G&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;26G&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;9% /&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;/dev/cciss/c0d0p5&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;89G&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;188M&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;85G&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1% /squid_disk&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;/dev/cciss/c0d0p1&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;97M&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;18M&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;74M&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;20% /boot&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;tmpfs&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;5.9G&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;5.9G&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0% /dev/shm&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Pondremos las líneas que necesitemos.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;command[check_c0d0p2]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/cciss/c0d0p2&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;command[check_c0d0p5]=/usr/local/nagios/libexec/check_disk -w 20% -c 10% -p /dev/cciss/c0d0p5&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos que modificar el servicio que tenemos en el fichero de configuración del server, para que nos monitorice los volúmenes que hemos añadido.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;/usr/local/nagios/etc/objects/server-files/SERVER.cfg&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;###################################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;define service{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;use&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Standard-Service&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;host_name&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;SERVER&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;servicegroups&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Sys-Services&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;service_description&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Free Disk Space /root&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;check_command&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;check_nrpe_linux!check_check_c0d0p2&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;define service{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;use&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Standard-Service&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;host_name&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;SERVER&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;servicegroups&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Sys-Services&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;service_description&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Free Disk Space /squid&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;check_command&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;check_nrpe_linux!check_check_c0d0p5&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;###################################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/8089329569749846764/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2248108842907368244/8089329569749846764?isPopup=true' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/8089329569749846764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/8089329569749846764'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/2011/03/nagios-chekdisk.html' title='Nagios Chek_disk'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248108842907368244.post-1543908238900776573</id><published>2011-03-03T06:47:00.001-08:00</published><updated>2011-03-29T12:41:48.305-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Nagios"/><title type='text'>Nagios Chek_mem</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Nagios Chek_mem&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Iré poniendo los servicios que tenemos monitorizados en nuestro entorno. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Para monitorizar la memoria, tenemos que añadir el plugin &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;check_mem &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;/usr/local/nagios/libexec/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Darle permisos para que lo acceda el usuario &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;nagios &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; chown nagios.nagios /usr/local/nagios/libexec&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; chmod –R 777 /usr/local/nagios/libexec&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Modificamos el fichero de configuración y añadimos la siguiente línea.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /usr/local/nagios/etc/nrpe.cfg&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;command[check_mem]=/usr/local/nagios/libexec/check_mem -w 80 -c 90&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Ahora tendremos que definir el servicio &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;/usr/local/nagios/etc/objects/server-files/SERVER.cfg&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;###################################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;define service{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;use&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Standard-Service&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;host_name&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;SERVER&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;servicegroups&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Sys-Services&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;service_description&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Memory Usage&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;check_command&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;check_nrpe_linux!check_mem&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;###################################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/1543908238900776573/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2248108842907368244/1543908238900776573?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/1543908238900776573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/1543908238900776573'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/2011/03/nagios-chekmen.html' title='Nagios Chek_mem'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248108842907368244.post-4677012925908612642</id><published>2011-02-25T05:36:00.000-08:00</published><updated>2011-02-25T05:36:53.482-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Nagios"/><title type='text'>Nagios on Centos</title><content type='html'>No tardare mucho en subir el manual...</content><link rel='replies' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/4677012925908612642/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2248108842907368244/4677012925908612642?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/4677012925908612642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/4677012925908612642'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/2011/02/nagios-on-centos.html' title='Nagios on Centos'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248108842907368244.post-6184390250838154661</id><published>2011-02-25T03:49:00.000-08:00</published><updated>2011-03-03T06:46:31.964-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Nagios"/><title type='text'>Instalar NPRE</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Instalar NPRE&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Nagios.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Lo primero que tenemos que hacer es crear la cuenta de usuario que utilizara Nagios para monitorizar remotamente este servidor. Este usuario es el mismo que utilizamos en el servidor que tiene el Nagios.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; useradd nagios&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; passwd nagios&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Instalar los “Plugins de Nagios” (Nagios Plugins)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Miramos la última versión estable que tengamos disponible &lt;/span&gt;&lt;a href=&quot;http://www.nagios.org/download/plugins&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;http://www.nagios.org/download/plugins&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; wget &lt;/span&gt;&lt;a href=&quot;http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.15.tar.gz&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;http://prdownloads.sourceforge.net/sourceforge/nagiosplug/nagios-plugins-1.4.15.tar.gz&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;En la carpeta que lo hemos descargado&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; tar xzf nagios-plugins-1.4.15.tar.gz&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cd nagios-plugins-1.4.15&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Si no tenemos instalado el paquete &lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;openssl-devel &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;tenemos que instalarlo, &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;yum&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;-y&lt;/b&gt; para instalar todas las dependencias&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;del paquete.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; yum –y install openssl-devel&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Intalar Nagios Plugins&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; ./configure –-with-nagios-user=nagios –with-nagios-gorup=nagios&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; make&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; make install&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Cambiamos los permisos de la carpeta donde hemos instalado los plugins, para que los pueda utilizar &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;nagios &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;este paso lo tendremos que hacer cada vez que instalemos un plugin nuevo.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; chown nagios.nagios /usr/local/nagios/libexec&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; chmod –R 777 /usr/local/nagios/libexec&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Ahora tenemos dos posibilidades de configuración para la conexión del server con Nagios y el cliente con NRPE.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Instalar el paquete &lt;span style=&quot;color: #333333;&quot;&gt;xinetd &lt;/span&gt;que se utilizar para asegurar conexión entre servidores.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; yum install xinetd&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;O configurar los parámetros necesarios para la conexión en el fichero &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;nrpe.cfg &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;que instalaremos más adelante.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /usr/local/nagios/etc/nrpe.cfg&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Instalar NRPE Daemon&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Nos descargamos el&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;paquete &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; wget &lt;/span&gt;&lt;a href=&quot;http://prdownloads.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;h&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt;&quot;&gt;ttp://prdownloads.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: grey; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-themecolor: background1; mso-themeshade: 128;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Descomprimir&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; tar –xzf nrpe-2.12.tar.gz&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cd nrpe-2.12&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; ./configure&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;Nos tiene que devolver el siguiente resultado&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;General Options:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;----------------------------&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;NPRE port: &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;5666&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;NPRE user: &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;nagios&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;NPRE group: &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;nagios&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;Nagios user: &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;nagios&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;Nagios group: &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;nagios&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; make all&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; make install-plugin&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; make install-daemon&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; make install-daemon-config&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; make install-xinetd &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;(si no utilizamos xnited no es necesario)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Configurar Xinetd&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Si utilizamos el paquete &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;xinetd &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;tenemos que configurarlo&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /etc/xinetd.d/nrpe&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;only_from = 127.0.0.1 &amp;lt;IP del servidor Nagios&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Modificar el fichero de configuración &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;services&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /etc/services&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;nrpe &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;5666/tcp&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;#NRPE&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Hay que incluirlo en el inicio&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; chkconfig xinetd on&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; service xinetd start&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Probar la instalación&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Para probar la instalación del paquete NRPE, tenemos que ir al servidor donde tengamos el Nagios instalado&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; /usr/local/nagios/libexec/check_nrpe –H &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&amp;lt;nombre_server&amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;La respuesta tiene que ser&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;NRPE v2.12&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;strong&gt;Troubleshooting&lt;/strong&gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Argumentos&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;para PLUGINS&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos que configurar el&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;nrpe.cfg&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; para que pueda ejecutar argumentos de los plugins&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /usr/local/nagios/etc/nrpe.cfg&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;dont_blame_nrpe=1&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Define command &lt;/b&gt;(Windows – Linux) &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Como no hemos encontrado otra manera de solucionar el problema que tenemos con el NRPE con los servicios en Windows y Linux, hemos creado dos definiciones&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;de comando uno para cada sistema, el problema nos surge cuando le pasamos más argumentos que los que hemos definidos en el&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;command.cfg&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /usr/local/nagios/etc/objects/sys-files/commands.cfg&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Linux &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;define command{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;command_name check_nrpe_linux&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Windows&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;define command{&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;command_name check_nrpe&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/6184390250838154661/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2248108842907368244/6184390250838154661?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/6184390250838154661'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/6184390250838154661'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/2011/02/instalar-npre.html' title='Instalar NPRE'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248108842907368244.post-526010785349752855</id><published>2011-02-16T07:59:00.000-08:00</published><updated>2011-02-16T08:15:58.699-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="firewall"/><title type='text'>firewall cluster on Centos</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;Este sera el resultado final de nuestro linux-firewall en clúster mediante heartbeat administrado con fwbuilder y sincronizado entre los nodos con conntrack-tools. &lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;left&quot; class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-U2CHlMXC_iyOXpSKm6VpCIUlIz6052T-wuSRe-73JQNdzw3HLF5Xw5Y-uipbu1Ef3Nx5cgewH_iJdSpho-jPC9FEAK8CS1prG-k5lHpCDM5CJ1DnV_1lfErO7ACZxU0CeUGGT50FUBA/s1600/fw_inmesp.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;609&quot; j6=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-U2CHlMXC_iyOXpSKm6VpCIUlIz6052T-wuSRe-73JQNdzw3HLF5Xw5Y-uipbu1Ef3Nx5cgewH_iJdSpho-jPC9FEAK8CS1prG-k5lHpCDM5CJ1DnV_1lfErO7ACZxU0CeUGGT50FUBA/s640/fw_inmesp.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/526010785349752855/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2248108842907368244/526010785349752855?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/526010785349752855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/526010785349752855'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/2011/02/firewall-cluster-con-heartbeat-on.html' title='firewall cluster on Centos'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-U2CHlMXC_iyOXpSKm6VpCIUlIz6052T-wuSRe-73JQNdzw3HLF5Xw5Y-uipbu1Ef3Nx5cgewH_iJdSpho-jPC9FEAK8CS1prG-k5lHpCDM5CJ1DnV_1lfErO7ACZxU0CeUGGT50FUBA/s72-c/fw_inmesp.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248108842907368244.post-1281167850134610966</id><published>2011-02-16T07:40:00.000-08:00</published><updated>2011-02-16T07:41:32.368-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="firewall"/><title type='text'>daemon conntrack-tools</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Para configurar el &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;daemon&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt; &lt;/span&gt;de &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;conntrackd&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;, tenemos que crear la carpeta del trabajo para dicho &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;daemon&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;, en nuestro caso&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; mkdir /etc/conntrackd/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos que copiar el fichero de configuración &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cp /root/conntrack/conntrack-tools-0.9.15/doc/sync/ftfw/conntrackd.conf /etc/conntrackd/conntrackd.conf&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Podemos mira el fichero de configuración &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;conntrackd.conf &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;es bastante extenso y tiene muchas configuraciones posibles, en nuestro caso vamos a modificar dos conceptos:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;*Sincronización utilizando el protocolo &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;unicast &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;sobre el puerto &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;UDP&lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;*&lt;/b&gt; Las IP que no tiene que controlar&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;UDP {&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;IPv4_address 10.10.10.102&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;IPv4_Destination_Address 10.10.10.101&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Port 3780&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Interface eth5&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;...&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;Address Ignore {&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;IPv4_address 127.0.0.1 &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# loopback&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;IPv4_address 192.168.0.100 &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;# virtual IP&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-tab-count: 3;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;IPv4_address 192.168.0.102 &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;# dedicated link ip&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Nota:&lt;/span&gt; La configuración que estamos realizando está enfocada a la instalación del firewall en clúster, la herramienta de &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;conntrack &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;se utilizara para la sincronización de nodos.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos que informar al &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;conntrackd&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt; &lt;/span&gt;que su fichero de configuración lo tenemos en la nueva ruta, para que cuando iniciemos el &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;daemon&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt; &lt;/span&gt;cargué nuestra configuración.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; /usr/sbin/conntrackd -C /etc/conntrackd/conntrackd.conf&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Para iniciar el &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;conntrackd &lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;como &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;daemon&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt; &lt;/span&gt;lo tenemos que colocar en fichero de inicio &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;rc.local&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /etc/rc.local&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;/usr/sbin/conntrackd -d&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 93.75pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Si queries profundizar en las diferentes configuraciones y performance de &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;conntrackd&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 93.75pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;a href=&quot;http://conntrack-tools.netfilter.org/manual.html&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;http://conntrack-tools.netfilter.org/manual.html&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 93.75pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 93.75pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Para comprobar el correcto funcionamiento &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; conntrackd -s &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;cache internal:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;current active connections:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;1080&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;connections created:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;11139550&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;failed:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;connections updated:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;54968784&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;failed:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;connections destroyed:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;11138470&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;failed:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;cache external:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;current active connections:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;connections created:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;229&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;failed:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;connections updated:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;214&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;failed:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;connections destroyed:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;229&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;failed:&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;traffic processed:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;413407919159 Bytes&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;561047669 Pckts&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;UDP traffic (active device=eth5):&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;5224373872 Bytes sent&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;28555428 Bytes recv&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;75270453 Pckts sent&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1780491 Pckts recv&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;5 Error send&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0 Error recv&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;message tracking:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;0 Malformed msgs&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;3 Lost msgs&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 93.75pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/1281167850134610966/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2248108842907368244/1281167850134610966?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/1281167850134610966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/1281167850134610966'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/2011/02/daemon-conntrack-tools.html' title='daemon conntrack-tools'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248108842907368244.post-55014573120186063</id><published>2011-02-15T14:53:00.000-08:00</published><updated>2011-02-16T05:01:20.820-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="firewall"/><title type='text'>conntrack-tools on Centos</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;En un firewall de alta disponibilidad es necesario tener instalado el paquete &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;conntrack-tools&lt;/b&gt; esta herramienta nos servirá para sincronizar la tablas de conexiones de nuestro nodo&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;MASTER al nodo ESCLAVO cuando este primero este caído, esta herramienta sincronizara la tabla &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Netfilter/Iptables&lt;/b&gt; de un nodo a otro.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Para la instalación tenemos que revisar la versión del kernel que estamos utilizando&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; uname -a&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Es necesario tener una versión igual o superior &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;2.6.18&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Requisitos previos &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;*Conexión del sistema de seguimiento&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;CONFIG_NF_CONNTRACK=m&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;CONFIG_NF_CONNTRACK_IPV4=m&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;CONFIG_NF_CONNTRACK_IPV6=m (Si utilizes IPv6)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;*nfnetlink: La interface genérica de mensajería de Netfilter.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;CONFIG_NETFILTER_NETLINK=m&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;*nf_conntrack_netlink: La interface de mensajería de seguimiento de conexiones de sistema.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;CONFIG_NF_CT_NETLINK=m&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;connection tracking event notification API: La interface de notificacion de eventos basados en el flujo.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;CONFIG_NF_CONNTRACK_EVENTS=y&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Para instalar &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;conntrak-tools &lt;/b&gt;necesitamos tener instalado las librerias &lt;/span&gt;&lt;a href=&quot;http://www.netfilter.org/&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;color: #0080ff; font-family: Calibri;&quot;&gt;libnetfilter_conntrack&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;, &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://www.netfilter.org/&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;color: #0080ff; font-family: Calibri;&quot;&gt;libnfnetlink&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; y que el kernel este peraparo para utiliza el subsistema netnetlink_conntrack (kernel &amp;gt;= 2.6.18)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;color: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;Necesitamos tener el &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;gcc &lt;/b&gt;instalado&lt;/span&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; yum install gcc&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Hemos descargado los &lt;/span&gt;&lt;a href=&quot;http://www.netfilter.org/projects/libnfnetlink/files/libnfnetlink-1.0.0.tar.bz2&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;color: #0080ff; font-family: Calibri;&quot;&gt;libnfnetlink&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; $ tar xvfj libnfnetlink-1.0.0.tar.bz2&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cd libnfnetlink-1.0.0/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; ./configure --prefix=/usr&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; make&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; make instal&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Si la compilar nos da un error de…&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;*** Error: No suitable pkg-config found. ***&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Please install the &#39;pkg-config&#39; package.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; yum install pkg&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Hemos descargado &lt;/span&gt;&lt;a href=&quot;http://www.netfilter.org/projects/libnetfilter_conntrack/files/libnetfilter_conntrack-0.9.0.tar.bz2&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;color: #0080ff; font-family: Calibri;&quot;&gt;libnetfilter_conntrack&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: white; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; tar xvfj libnetfilter_conntrack-0.0.102.tar.bz2 &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cd libnetfilter_conntrack-0.0.102/&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt;./configure --prefix=/usr&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; make&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; make install&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Si la compilar nos da un error de…&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;checking for LIBNFNETLINK... no&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;configure: error: Cannot find libnfnetlink &amp;gt;= 1.0.0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos que configurar la variable, y lanzamos de Nuevo el configure.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; PKG_CONFIG_PATH=/usr/lib/pkgconfig; export PKG_CONFIG_PATH&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;tab-stops: 50.25pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: white; font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Hemos descargado &lt;/span&gt;&lt;a href=&quot;http://www.netfilter.org/projects/conntrack-tools/files/conntrack-tools-0.9.15.tar.bz2&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;color: #0080ff;&quot;&gt;conntrack-tools&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: white; font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; tar xvfj conntrack-tools-0.9.15.tar.bz2 &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;cd conntrack-tools-0.9.15&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;./configure --prefix=/usr&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;make &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;make install&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Si la compilar nos da un error de…&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;*** Error: No suitable bison/yacc found. ***&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Please install the &#39;bison&#39; package.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Instalamos&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; yum install pkg&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Si la compilar nos da un error de…&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;*** Error: No suitable flex/lex found. ***&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Please install the &#39;flex&#39; package.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Instalamos&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; yum install flex&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Ya tenemos instalado la herramienta &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;conntrack-tools &lt;/b&gt;ahora vamos a probar su funcionamiento, lo primero que tenemos que hacer es generar tráfico (IN/OUT)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; conntrack -E&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Si nos da un error de…&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;conntrack: error while loading shared libraries: libnetfilter_conntrack.so.3: cannot open shared object file: No such file or directory&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tendremos que configurar &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 115%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;ld.so.conf&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /etc/ld.so.conf&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Añadir la línea&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;/usr/lib&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Y ejecutamos el comando&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; ldconfig&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal; margin: auto 0cm;&quot;&gt;Vuelve a probar!!! Ya lo tenemos la herramienta funcionando, ahora tiene que hacer lo mismo en el otro nodo &lt;span style=&quot;font-family: Wingdings; mso-ascii-font-family: Calibri; mso-ascii-theme-font: minor-latin; mso-char-type: symbol; mso-hansi-font-family: Calibri; mso-hansi-theme-font: minor-latin; mso-symbol-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Wingdings;&quot;&gt;J&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; solo falta realizar la configuración del daemon conntrackd &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; mira el siguiente post &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: Wingdings; font-size: 10pt; mso-ascii-font-family: &amp;quot;Courier New&amp;quot;; mso-bidi-font-family: &amp;quot;Courier New&amp;quot;; mso-bidi-font-size: 11.0pt; mso-char-type: symbol; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES; mso-hansi-font-family: &amp;quot;Courier New&amp;quot;; mso-symbol-font-family: Wingdings;&quot;&gt;&lt;span style=&quot;mso-char-type: symbol; mso-symbol-font-family: Wingdings;&quot;&gt;J&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal; margin: auto 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/55014573120186063/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2248108842907368244/55014573120186063?isPopup=true' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/55014573120186063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/55014573120186063'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/2011/02/instalar-conntrack-tools.html' title='conntrack-tools on Centos'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248108842907368244.post-9094219276595918793</id><published>2011-02-14T13:54:00.000-08:00</published><updated>2011-02-16T07:52:17.618-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="firewall"/><title type='text'>heartbeat on Centos</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos que tener configurado los ficheros &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;hosts &lt;/b&gt;de los servidores que forman parte del clúster, todos los servidores se tienen que conocer, esto es muy importante para en buen funcionamiento de los servicios de clúster.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /etc/hosts&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;127.0.0.1 &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;localhost.localdomain localhost&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;192.168.0.101&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;fw01.dominio.local&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;fw01&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;192.168.0.102&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;fw02.dominio.local&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;fw02&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Instalamos heartbeat&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; yum install heartbeat&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 8pt; mso-ansi-language: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;==========================================================================================================&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 8pt; mso-ansi-language: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Package Arch Version Repository Size&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 8pt; mso-ansi-language: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;==========================================================================================================&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 8pt; mso-ansi-language: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Installing: heartbeat x86_64 2.1.3-3.el5.centos extras 1.8 M&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Installing for dependencies: PyXML x86_64 0.8.4-4.el5_4.2 base 1.0 M &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 8pt; mso-ansi-language: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;heartbeat-pils x86_64 2.1.3-3.el5.centos extras 220 k &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: black; font-size: 8pt; mso-ansi-language: EN-US; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;heartbeat-stonith x86_64 2.1.3-3.el5.centos extras 348 k&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Puede que nos de un error de en la instalación, tendríamos que volver a lanzar el yum install.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; yum install hearbeat&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos que ponerlo en el inicio&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; chkconfig –add hearbeat&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Para configurar y poner en marcha el heartbeat necesitamos tres ficheros, estos están en la carpeta de la instalación, los copiamos en la carpeta de trabajo.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cp /usr/share/doc/heartbeat-2.1.3/authkeys /etc/ha.d/&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cp /usr/share/doc/heartbeat-2.1.3/ha.cf /etc/ha.d/&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cp /usr/share/doc/heartbeat-2.1.3/haresource /etc/ha.d/&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Eso tres ficheros son lo que tenemos que configurar para que funcione correctamente nuestro clúster, hay te tenernos exactamente IDENTICOS en los nodos. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cd /etc/ha.d&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Este fichero donde pondremos una palabra clave, esta sirve para la autentificación entre los nodos del clúster, nosotros utilizaremos “md5”&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi authkeys&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;auth 3&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;#1 crc&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;#2 sha1 HI!&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;3 md5 xxxxxxx (contraseña)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Ahora configuraremos el heartbeat, podemos renombrar el fichero ha.cf por si queremos tener el original y leerlo para conocer todos los valores que se le pueden asignar.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /etc/ha.d/ha.cf&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;###### log Heartbeat&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;logfile /var/log/ha-log&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: xx-small; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# donde queremos que guarde el log&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;logfacility local0 &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;font-size: x-small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: xx-small; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# escribe logs del sistema heartbeat&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;###### config Heartbeat&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 7pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;keepalive 2&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 7pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# cuantos segundos verifica que esta vivo&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;deadtime 10 &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;# &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 7pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;cuantos segundos espera hasta que lo considera muerto&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;warntime 5 &lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 7pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# cuantos segundos espera para lanzar una alerta&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;initdead 120 &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 7pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# este calor es para que no inicien los dos juntos&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;###### sync Heartbeat&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;ucast eth5 10.10.10.102 &lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 7pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# comunicación del latido (IP del otro nodo)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;bcast eth0&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 7pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# tarjeta de red por la que verifica el estado del otro nodo.&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;bcast eth1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 7pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# tarjeta de red por la que verifica el estado del otro nodo.&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;udpport 694&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 7pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# puerto UDP por el que se envía el latido&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;auto_failback on&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 7pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# cuando se recupera el master, vuelve los recursos&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;node fw1&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 7pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# nodo que participa en el clúster&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;node fw2&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 7pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# nodo que participa en el clúster&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;tab-stops: 50.25pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Tenemos que configurar permisos para &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;el fichero “authtkeys” solo el root puede tener acceso.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; chmod 600 authkeys&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Solo nos queda configurar los recursos que tendrá nuestro clúster, como nosotros estamos montado un firewall de dos nodos solo necesitaremos configurar las IP flotantes.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Como todos los ficheros, asegurémonos que es IDENTICO en los nodos.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Es muy importante asegurarnos que el &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;hostname&lt;/b&gt; de los nodos esta correcto en el fichero hosts que hemos modificado al principio del documento. &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; uname -n&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Solo nos queda configurar las IP flotantes&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /etc/ha.d/haresources&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;######################################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# IP flotante EXTERNA&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;######################################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# IP externa fw-cluster&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;fw01.dominio.local 192.168.1.100/27/eth1/192.168.1.224&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# descripcion_2…&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;fw01.dominio.local 192.168.1.111/27/eth1/192.168.1.224&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# descripcion_3…&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;fw01.dominio.local 192.168.1.112/27/eth1/192.168.1.224&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;######################################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# IP flotante INTERNA&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;######################################################################&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;# IP interna fw-cluster (GW)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;fw01.dominio.local 192.168.0.100/24/eth0/192.168.0.255&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Solo nos queda probar la configuración que hemos realizado, si hemos seguido los pasos anteriores no tenemos que tener ningún problema, para realizar las pruebas en el nodo ESCLAVO:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; tail –f /var/log/ha-log&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Puede &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;que como no hemos iniciado el servicio nos de un error de fichero log,&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;en ese caso iniciamos el servicio en el nodo ESCLAVO&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; service heartbeat start&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; tail –f /var/log/ha-log&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal; margin: auto 0cm;&quot;&gt;En el nodo MASTER iniciamos el servicio &lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal; margin: auto 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; service heartbeat start&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal; margin: auto 0cm;&quot;&gt;Podemos ver la secuencia en el nodo ESCAVO, vemos como levanta el servicio y asigna los recursos al nodo MASTER. &lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal; margin: auto 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal; margin: auto 0cm;&quot;&gt;Ahora podemos ver comprobar que la IP flotantes esta en el nodo MASTER&lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal; margin: auto 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal; margin: auto 0cm;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; ip addr&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;1: eth0: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc pfifo_fast qlen 1000&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;link/ether 1x:1x:1x:1x:1x:1x brd ff:ff:ff:ff:ff:ff&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;inet 192.168.0.101/24 brd 192.168.0.255 scope global eth0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;inet 192.168.0.100/24 brd 192.168.0.255 scope global secondary eth0:0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;2: eth1: &amp;lt;BROADCAST,MULTICAST,UP,LOWER_UP&amp;gt; mtu 1500 qdisc pfifo_fast qlen 1000&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;link/ether 2x:2x:2x:2x:2x:2x brd ff:ff:ff:ff:ff:ff&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;inet 192.168.1.101/27 brd 192.168.1.127 scope global eth1&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;inet 192.168.1.110/27 brd 192.168.1.127 scope global secondary eth1:0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;inet 192.168.1.111/27 brd 192.168.1.127 scope global secondary eth1:1&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;inet 192.168.1.112/27 brd 192.168.1.127 scope global secondary eth1:2&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-bidi-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;Ahora podemos hacer las pruebas de cambio de nodo MASTER, para comprar lo que sucede cuando cambiamos de nodo podemos comprarlo mediante el comando que hemos utilizado anteriormente.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; tail –f /var/log/ha-log&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Podemos realizar una parada de una de las tarjetas del nodo MASTER&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; ifdown eth0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Veremos como los recursos pasa al nodo ESCLAVO y este queda como MASTER, cuando levantemos el nodo caído&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; ifup eth0&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Veremos como el MASTER recupera los recursos y el ESCLAVO se queda a la espera.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/9094219276595918793/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2248108842907368244/9094219276595918793?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/9094219276595918793'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/9094219276595918793'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/2011/02/heartbeat-on-centos.html' title='heartbeat on Centos'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248108842907368244.post-383896212277785346</id><published>2011-02-10T14:23:00.000-08:00</published><updated>2011-02-23T02:26:47.425-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cacti"/><title type='text'>cacti on Centos</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 170%; margin: 0cm 0cm 14.4pt 35.4pt; text-indent: -35.4pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;Primero tenemos que instalar todos los&lt;/span&gt;&lt;span lang=&quot;ES-AR&quot; style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: ES-AR; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt; componentes&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt; que vamos a necesitar.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 170%; margin: 0cm 0cm 14.4pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;1. Instalar &lt;/span&gt;&lt;b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;net-snmp&lt;/span&gt;&lt;/b&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt; : &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; yum install net-snmp net-snmp-utils &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 170%;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%;&quot;&gt;2. Instalar &lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;;&quot;&gt;RRDTool:&lt;/span&gt;&lt;/strong&gt; Para poder instalar este paquete, es necesario crear un archivo de repositorio para este paquete.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 170%;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%;&quot;&gt;2.1 Crear un fichero &lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;;&quot;&gt;dag.repo&lt;/span&gt;&lt;/strong&gt; dentro de &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;;&quot;&gt;/etc/yum.repos.d&lt;/span&gt;&lt;/strong&gt; : &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; vi /etc/yum.repos.d/dag.repo&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 170%;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%;&quot;&gt;2.2 Copia el&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;códido y guardalo:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;[dag]&lt;/span&gt;&lt;/code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US;&quot;&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;name=Dag RPM Repository for Red Hat Enterprise Linux&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;gpgcheck=1&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;gpgkey=http://dag.wieers.com/rpm/packages/RPM-GPG-KEY.dag.txt&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;span style=&quot;mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;enabled=1&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 170%;&quot;&gt;&lt;br /&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US;&quot;&gt;2.3 Instalar &lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;;&quot;&gt;RRDTool:&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; yum install perl-rrdtool rrdtool&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 170%;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US;&quot;&gt;3. Instalar &lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;;&quot;&gt;RPHP y HTTP:&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; yum install php httpd &lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div style=&quot;line-height: 170%;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US;&quot;&gt;4. Instalar &lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;;&quot;&gt;MYSQL:&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; &lt;/span&gt;&lt;/code&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.5pt; line-height: 170%; mso-ansi-language: EN-GB;&quot;&gt;yum install mysql mysql-server php-mysql php-snmp&lt;/span&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.5pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: Verdana; font-size: x-small;&quot;&gt;5.&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Instalar componente para el &lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi;&quot;&gt;CRONTAB:&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.5pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; &lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.5pt; line-height: 170%;&quot;&gt;yum install vixie-cron&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Una vez instalados todos los componentes que vamos a necesitar para que funcione el CACTI, pasamos a configurar los componentes.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&amp;nbsp; &lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Tenemos que configurar en los servicios que arranquen automaticamente los componentes instalados: &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;-&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;http&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;-&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;mysql&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;-&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;ntpd&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;margin: 0cm 0cm 0pt 36pt; mso-list: l0 level1 lfo1; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;-&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;snmpd&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;margin: 0cm 0cm 10pt 36pt; mso-list: l0 level1 lfo1; text-indent: -18pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%; mso-bidi-font-family: Verdana; mso-fareast-font-family: Verdana;&quot;&gt;&lt;span style=&quot;mso-list: Ignore;&quot;&gt;-&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; setup&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;6. Configurar &lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi;&quot;&gt;MYSQL:&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Como la Base de Datos solo es accesible desde local, hay que modificar el config.&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.5pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.5pt; line-height: 170%;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; vi /etc/my.cnf&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Copiar el código:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;[mysqld]&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;bind-address=localhost&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Crear y configurar la Base de Datos&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Iniciar el servidor de Base de Datos:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; /etc/init.d/mysqld start&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Cambiar asignar el password de usuario “root” de mysql, que no es el mismo que el “root” del sistema:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; mysqladmin –u root password &#39;la_pass_que_quieras&#39;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Accedemos al mysql para configurar el CACTI:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; mysql -u root –p&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;Enter password:*******&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Creamos la BD de CACTI y le damos permisos a los usuarios “root” y “cactiuser”, este último será el usuario que configuraremos para utilizar CACTI, también la asignaremos una contraseña.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;mysql &amp;gt; create database cacti;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;mysql&amp;gt; grant all on cacti.* to root;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;mysql&amp;gt; grant all on cacti.* to root@localhost;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;mysql&amp;gt; grant all on cacti.* to cactiuser; &lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;mysql&amp;gt; grant all on cacti.* to cactiuser@localhost;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;mysql&amp;gt; set password for &#39;&lt;a href=&quot;mailto:&#39;cactiuser&#39;@&#39;localhost&#39;=%20password(‘xxxxxx’&quot;&gt;cactiuser&#39;@&#39;localhost&#39;= password(‘&lt;span style=&quot;color: red;&quot;&gt;xxxxxx&lt;/span&gt;’&lt;/a&gt;);&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;mysql&amp;gt; flush privileges;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;mysql&amp;gt; exit&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Ya tenemos configurado el mysql para CACTI, solo falta lanzar un “stored” que lo tenemos en la instalación de CACTI.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos dos manera de isntalar el CACTI mediante el &quot;yum install&quot; que nos instalara la versión publicada por Cacti o la instalar la versión que nosostros necesitemos, en nuestro caso la version que instalaremos es la 0.8.7e&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; yum install cacti&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;La version publicada es la &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;7. Configurar &lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi;&quot;&gt;CACTI:&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Para la instalación de CACTI, nos descargaremos la última versión, nosotros utilizaremos la 0.8.7e, Para poder descargarnos el paquete, tendremos que instalar “wget” &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; yum install wget&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Luego podemos descarganos el paquete directamente desde&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;a href=&quot;http://www.cacti.ne/&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href=&quot;http://www.cacti.net/&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;www.cacti.ne&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;t&lt;/span&gt;&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;, la instalación del paquete “wget” es necesario para poder instalar los parches posteriores de CACTI.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Lo descargaremos desde la carpeta /root&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; cd /root&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;descargamos el paquete:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; wget http://www.cacti.net/downloads/cacti-0.8.7e.tar.gz&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Extraemos el paquete:&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; tar xzvf cacti-0.8.7e.tar.gz&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Copiamos el contenido en la /var/www/cacti esta sera el destino donde estar la aplicación CACTI. &lt;/span&gt;&lt;span style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; mv cacti-0.8.7e /var/www/cacti &lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Podemos crear un usuario dedicado para usar CACTI, pero nosotros utilizaremos el propio “root” para usar CACTI. Ahora tenemos que asignar el propietario al “root” sobre las carpetas /rra y /log.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; cd /var/www/cacti&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; chown -R root rra log &lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Y damos permisos de “total” a las dos carpetas&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; chmod -R 777 rra&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; chmod -R 777 log&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Ahora tenemos que lanzar el “stored” que nos va a configurar la Base de Datos de CACTI, este “stored” lo tenemos en la carpeta de la aplicación /var/www/cacti.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; cd /var/www/cacti&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;lanzamos el comando mysql&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; mysql --user=root --password=&lt;span style=&quot;color: red;&quot;&gt;xxxxxx&lt;/span&gt; cacti &amp;lt; cacti.sql&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Ya tenemos configurado el&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;mysql para utilizar CACTI, ahora tenemos que configurar CACTI para que utilicé mysql, modificamos el fichero de configuración /var/www/cacti/config.php&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; vi /var/www/cacti/include/config.php&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Y modificamos el código&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;$database_type = &quot;mysql&quot;;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;$database_default = &quot;cacti&quot;;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;$database_hostname = &quot;localhost&quot;;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;$database_username = &quot;cactiuser&quot;;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;$database_password = &quot;&lt;span style=&quot;color: red;&quot;&gt;xxxxx&lt;/span&gt;&quot;;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;$database_port = &quot;3306&quot;;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;8. Configurar &lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi;&quot;&gt;HTTP:&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Tenemos que dar permisos al “apache” para que podamos acceder a CACTI &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;vía http. Hay que&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;crear el fichero “cacti.conf” en el directorio “/etc/httpd/conf.d”&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; vi /etc/httpd/conf.d/cacti.conf&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;hay que copiar el código siguiente:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;Alias /cacti/ /var/www/cacti/&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;directory cacti=&quot;&quot; var=&quot;&quot; www=&quot;&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;DirectoryIndex index.php&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Options -Indexes&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;AllowOverride all&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;order deny,allow&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;allow from all&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;AddType application/x-httpd-php .php&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;php_flag magic_quotes_gpc on&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;php_flag track_vars on&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;&lt;/directory&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Una vez guardado el código ya podemos iniciar el servidor CACTI, &lt;/span&gt;&lt;a href=&quot;http://server/cacti/&quot;&gt;&lt;span style=&quot;color: blue; font-family: Calibri;&quot;&gt;http://server/cacti/&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt; y configurar CACTI.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;9. Configurar &lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi;&quot;&gt;SNMP:&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Para poder hacer gráficas del propio servidor de CACTI, tenemos que podificar el fichero de configuracion /etc/snmp/snmpd.conf&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; vi /etc/snmp/snmpd.conf&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Añadimos el siguiente código&lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi;&quot;&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;rocommunity public&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;10. Configurar &lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi;&quot;&gt;CACTI&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Ya podemos configurar la aplicación de CACTI, tenemos que ir al navegador y acceder a la dirección del servidor que hemos configurado, &lt;/span&gt;&lt;a href=&quot;http://cactiserver/cacti/&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;http://cactiserver/cacti/&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt; hay que serguir los pasos:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoqtLUimFrdVBg9X0id0f8JHtces4JMGWFYXW6bGvzN-Pk5mHOgJ07Q2XZxlMID6jH2RxVzRUirBv-N6lQXfif4JmPxvW1Izd73PQsWrzrisrtbkOsegcm1fX9QBFFTQ48XTNVcAbnMtc/s1600/5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; h5=&quot;true&quot; height=&quot;168&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoqtLUimFrdVBg9X0id0f8JHtces4JMGWFYXW6bGvzN-Pk5mHOgJ07Q2XZxlMID6jH2RxVzRUirBv-N6lQXfif4JmPxvW1Izd73PQsWrzrisrtbkOsegcm1fX9QBFFTQ48XTNVcAbnMtc/s320/5.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none; margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKKqpd8oH5tCFtDlXfjBrxnzunyuMu57GFNKTUUZvW4KQ_QP8Su5dP1GOlUumHivIIjXBR_la-kt36cOEkTWGotkVFQ_OXR0ke9ZCGCxzDSD4cHFApPMD8TkG8jmQxNdm5bCdB9G9VVF8/s1600/4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; h5=&quot;true&quot; height=&quot;111&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKKqpd8oH5tCFtDlXfjBrxnzunyuMu57GFNKTUUZvW4KQ_QP8Su5dP1GOlUumHivIIjXBR_la-kt36cOEkTWGotkVFQ_OXR0ke9ZCGCxzDSD4cHFApPMD8TkG8jmQxNdm5bCdB9G9VVF8/s320/4.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%; mso-fareast-language: ES; mso-no-proof: yes;&quot;&gt;&lt;shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;&lt;stroke joinstyle=&quot;miter&quot;&gt;&lt;/stroke&gt;&lt;formulas&gt;&lt;f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @0 1 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum 0 0 @1&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @2 1 2&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @0 0 1&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @6 1 2&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @8 21600 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @10 21600 0&quot;&gt;&lt;/f&gt;&lt;/formulas&gt;&lt;path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;&lt;/path&gt;&lt;lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;&lt;/lock&gt;&lt;/shapetype&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%; mso-fareast-language: ES; mso-no-proof: yes;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Tenemos que tener todas las opciónes en&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #00b050; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;[OK:FILE FOUND] &lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;y comprobar las versiones que utilizaremos para “SNMP Utility” y “RRDTool”&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimb5fJhCxmCYbtcOur0AesrJR52VC1rTa4C1nl8bm4eXIOgrsGGskU0fujUQcGO5MAZU79KBFfLUDEcwYAaepp9QH8xEIXloBbMFvPEEIh1w8K5DOkspB_PSUqdGGu20q7w83-OrkKe3U/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; h5=&quot;true&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimb5fJhCxmCYbtcOur0AesrJR52VC1rTa4C1nl8bm4eXIOgrsGGskU0fujUQcGO5MAZU79KBFfLUDEcwYAaepp9QH8xEIXloBbMFvPEEIh1w8K5DOkspB_PSUqdGGu20q7w83-OrkKe3U/s400/3.jpg&quot; width=&quot;326&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%; mso-fareast-language: ES; mso-no-proof: yes;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Ya hemos terminado la instalación de CACTI, el nombre de usuario y la contraseña de seriel de CACTI&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;admin &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;admin&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXse8tNutNvWBrbNEn_tuk2nFINVzEmZXVRwkpGrythbGAOHYwlap_8szpts5znapucGKTrBihYfE081_8D4gV7nr7w-dzxRH9B6xNjAi6Pqh8Lx_uvnxilowsCuRDacoObERCsP45EqA/s1600/2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; h5=&quot;true&quot; height=&quot;191&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXse8tNutNvWBrbNEn_tuk2nFINVzEmZXVRwkpGrythbGAOHYwlap_8szpts5znapucGKTrBihYfE081_8D4gV7nr7w-dzxRH9B6xNjAi6Pqh8Lx_uvnxilowsCuRDacoObERCsP45EqA/s320/2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Tenemos que cambiar la contraseña&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1Sm-6rreafiflj3W-4DH2i4nAQIcSlfsTw_VTs4LqXoI0vT_-2nZ8_gMaTjwbLcX7A17zE8RCUJ8xSCmx31q8lx81eW0qu_gWfoGW2vBc-zdrMZM_41zNwGpI0qVvGp3EnT12RR1MPWI/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; h5=&quot;true&quot; height=&quot;216&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1Sm-6rreafiflj3W-4DH2i4nAQIcSlfsTw_VTs4LqXoI0vT_-2nZ8_gMaTjwbLcX7A17zE8RCUJ8xSCmx31q8lx81eW0qu_gWfoGW2vBc-zdrMZM_41zNwGpI0qVvGp3EnT12RR1MPWI/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;border-bottom: medium none; border-left: medium none; border-right: medium none; border-top: medium none;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%; mso-fareast-language: ES; mso-no-proof: yes;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;11. Configurar &lt;strong&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi;&quot;&gt;Shceduler CACTI&lt;/span&gt;&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Solo nos queda configurar el “scheduled” de recogidad de datos, en Linux tenemos que añadir un “crond”, como ya habíamos realizado la instalación de “&lt;/span&gt;&lt;span lang=&quot;EN-GB&quot; style=&quot;color: black; font-family: &amp;quot;Courier New&amp;quot;; font-size: 9.5pt; line-height: 115%; mso-ansi-language: EN-GB;&quot;&gt;vixie-cron”&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Hay que modificar:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; vi /etc/cron.d/cacti&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;y añadir el siguiente código:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;*/5****/usr/bin/php/var/www/cacti/poller.php &amp;gt; /dev/null 2&amp;gt;%1&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt; tab-stops: 49.5pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Ya que hemos modificado el “crontab”, hay que añadir la línea de sincronización de la “fecha-hora”&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;50 3 * * * root /usr/sbin/ntpdate –u hora.uv.es&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 115%;&quot;&gt;Tenemos que reiniciar el servicio “crond”&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;&lt;code&gt;&lt;span style=&quot;color: #494949; font-size: 10pt; line-height: 170%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;&quot;&gt;shell&amp;gt; /etc/init.d/crond restart&lt;/span&gt;&lt;/code&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%;&quot;&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/383896212277785346/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2248108842907368244/383896212277785346?isPopup=true' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/383896212277785346'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/383896212277785346'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/2011/02/cacti-on-centos-55.html' title='cacti on Centos'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoqtLUimFrdVBg9X0id0f8JHtces4JMGWFYXW6bGvzN-Pk5mHOgJ07Q2XZxlMID6jH2RxVzRUirBv-N6lQXfif4JmPxvW1Izd73PQsWrzrisrtbkOsegcm1fX9QBFFTQ48XTNVcAbnMtc/s72-c/5.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248108842907368244.post-5796158597748852977</id><published>2011-02-10T14:10:00.001-08:00</published><updated>2011-02-14T14:02:38.925-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Cacti"/><title type='text'>cacti Architecture Plugins</title><content type='html'>&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Para poder instalar los &quot;plugins&quot; de CACTI, necesitmos instalar primero el componete &quot;Cacti Architecture Plugins&quot; para instalarlo, desde la consola:&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; wget http://mirror.cactiusers.org/downloads/plugins/cacti-plugin-0.8.7e-PA-v2.6.zip&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Verdana&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 9pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; unzip cacti-plugin-0.8.7e-PA-v2.6.zip&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cd cacti-plugin-arch&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cp –R cacti-plugin-0.8.7e-PA-v2.6.diff /var/www/cacti&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;font-family: Calibri;&quot;&gt;Instalar el parche para CACTI&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cd /var/www/cacti&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; patch –p1 –N &amp;lt; cacti-plugin-0.8.7e-PA-v2.6.diff&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Hay que modificar el fichero de configuración “config.php” &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /var/www/cacti/include/config.php&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;Copiar el código:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;/* Do not edit this line */&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;$config = array();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;$config[&#39;url_path&#39;] = &#39;/cacti/&#39;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Calibri;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Ahora ya podemos instralar los plugins&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;a href=&quot;http://docs.cacti.net/plugins&quot;&gt;http://docs.cacti.net/plugins&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;a href=&quot;http://cactiusers.org/downloads/&quot;&gt;http://cactiusers.org/downloads/&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;Referencia:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;a href=&quot;http://docs.cacti.net/manual:087:1_installation.9_pia#installing_plugins&quot;&gt;http://docs.cacti.net/manual:087:1_installation.9_pia#installing_plugins&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/5796158597748852977/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2248108842907368244/5796158597748852977?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/5796158597748852977'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/5796158597748852977'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/2011/02/cacti-architecture-plugins.html' title='cacti Architecture Plugins'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2248108842907368244.post-1167644414700944932</id><published>2011-02-10T13:37:00.000-08:00</published><updated>2011-02-11T14:19:40.489-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SOLR"/><title type='text'>SOLR en Centos</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;, &amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%; mso-ansi-language: ES; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
1.- Crear estructura de directorio:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;1.1.-&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;APPS&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cd /&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; mkdir solr&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cd solr&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; mkdir apps&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; mkdir tu_apps&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;1.2.- INDEX&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cd solr&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; mkdir index&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; mkdir index/tu_apps&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
Siempre en “minúsculas” que el amigo Linux es Key-Sensity&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
Tenemos que modificar los permisos de las carpetas, pero lo haremos más &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
2.- Copiar la aplicación:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
Con el SSH, copiamos la aplicación...aqui necesitas los conocimientos de algún programador que tenga desarrollado la aplicacion de solr. Puesdes encontrar mas información &lt;a href=&quot;http://lucene.apache.org/solr/&quot;&gt;http://lucene.apache.org/solr/&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
3.- Modificar los ficheros de configuración adecuándola a nuestra estructura de ficheros.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
Los ficheros que tenemos que configurar están en la carpeta:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
Configurarnos la carpeta de destino del índice&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; solr/conf/advert/conf/solrconfig.xml&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
Configuramos los puertos de escuha y la memoria a utilizar por el WS:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; solr/apps/&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;tu_apps&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;/jetty.xml&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
El fichero jettyReindx.xml se configura el puerto del reindexador.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
4.- Creamos el usuario que ejecutara el “solr” tiene que ser en nuestro caso el usuario de Windows “&lt;span style=&quot;color: red;&quot;&gt;usuario&lt;/span&gt;” (tiene que ser el mismo usuario generar el índice en Windows, de momento no tenemos la posibilidad de generar el índice en Linux)&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; groupadd &lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;usuario&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; useradd –n –g migrupo miusuario&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 10pt;&quot;&gt;
Le ponemos la misma contraseña que Windows: H8&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; passwd usrsvrc&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
5.- Cambiamos los permisos de la carpeta “solr” para que sea este usuario el propietario de dicha carpeta, también le damos permisos de escritura/lectura sobre la carpeta y subcarpetas.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
Desde la raid /&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; chown –R &lt;/span&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;usuario&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;:&lt;/span&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;usuario&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt; /solr&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin: 0cm 0cm 0pt; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; chmod –R 777 /solr&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
6.- Instalamos SAMBA, para poder copiar los índices desde Windows.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; yum install samba&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
Configuramos el fichero de configuración, adecuándolo a nuestras necesidades:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /etc/samba/smb.conf&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
Si&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;queréis tener una copiar del fichero original, podemos hacer:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; mv /etc/samba/smb.conf /etc/samba/smb.old&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
Y creamos un smb.conf nuevo:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
#======================= Global Settings =====================================&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;[global]&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;workgroup = &lt;span style=&quot;color: red;&quot;&gt;DOMINO&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;server string = SOLR&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;netbios name = &lt;span style=&quot;color: red;&quot;&gt;SERVER_NAME&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;interfaces = lo eth1 eth0 192.168.100.0/24 &lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;hosts allow = 127. &lt;/span&gt;192.168.100. &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
# --------------------------- Logging Options -----------------------------&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;# logs split per machine&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;log file = /var/log/samba/%m.log&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;# max 50KB per log file, then rotate&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;max log size = 50&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;# ----------------------- Standalone Server Options ------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;security = user&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;passdb backend = tdbsam&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;#============================ Share Definitions ==============================&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;[solr]&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;comment = Directorio SOLR&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;path = /solr&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;browseable = yes&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;writable = yes&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
valid users = &lt;span style=&quot;color: red;&quot;&gt;DOMINIO\usuario DOMINIO\usurio1 &lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;root&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;admin users = root&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
#======================================================================&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
Hay que darle una contraseña en SAMBA para poder acceder a los recursos, esta contraseña tiene que ser la misma que la de Windows.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; smbpasswd –a &lt;/span&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;usuario&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
Hay que hacerlo votable en el inicio, mediante el &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;setup &lt;/b&gt;y arrancar el servicio:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; /etc/init.d/smb start&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
Hay que activar el servicio para que sea “botable” en el menú del &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;setup&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;mso-fareast-language: ES; mso-no-proof: yes;&quot;&gt;&lt;shapetype coordsize=&quot;21600,21600&quot; filled=&quot;f&quot; id=&quot;_x0000_t75&quot; o:preferrelative=&quot;t&quot; o:spt=&quot;75&quot; path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; stroked=&quot;f&quot;&gt;&lt;stroke joinstyle=&quot;miter&quot;&gt;&lt;/stroke&gt;&lt;formulas&gt;&lt;f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @0 1 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum 0 0 @1&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @2 1 2&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @3 21600 pixelWidth&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @3 21600 pixelHeight&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @0 0 1&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @6 1 2&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @7 21600 pixelWidth&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @8 21600 0&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;prod @7 21600 pixelHeight&quot;&gt;&lt;/f&gt;&lt;f eqn=&quot;sum @10 21600 0&quot;&gt;&lt;/f&gt;&lt;/formulas&gt;&lt;path gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot; o:extrusionok=&quot;f&quot;&gt;&lt;/path&gt;&lt;lock aspectratio=&quot;t&quot; v:ext=&quot;edit&quot;&gt;&lt;/lock&gt;&lt;/shapetype&gt;&lt;shape id=&quot;Imagen_x0020_1&quot; o:spid=&quot;_x0000_i1026&quot; style=&quot;height: 15.75pt; mso-wrap-style: square; visibility: visible; width: 117.75pt;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\Users\Israel\AppData\Local\Temp\msohtmlclip1\01\clip_image001.png&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
7.- Instalamos la herramienta “start-stop-daemon”, la utilizamos a la hora de crear el daemon del SOLR.&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
Necesitaríamos la utilidad &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;gcc&lt;/b&gt;, si no la tenemos instalada -&amp;gt; &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;yum install gcc&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
Descomprimir el fichero de instalación, el fichero lo&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;podemos descargar:&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
&lt;a href=&quot;http://developer.axis.com/download/distribution/&quot;&gt;http://developer.axis.com/download/distribution/&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; tar zxvf apps-sys-utils-start-stop-daemon-IR1_9_18-2.tar.tar&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cd apps&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cd sys-utils/&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cd start-stop-daemon-IR1_9_18-2/&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; gcc start-stop-daemon.c -o start-stop-daemon&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
Una vez hecho esto, tenemos que copiar la aplicación copilada en el path &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; mv start-stop-daemon /usr/sbin/&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
8.- Tenemos que configurar el &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;daemon&lt;/b&gt; de SOLR, para que sea un servicio. &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
Tenemos que crear el script del daemon en la carpeta /etc/init.d/&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
Hay que darle permisos &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;755&lt;/b&gt; sobre eso script&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /etc/init.d/&lt;/span&gt;&lt;span style=&quot;color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;solr_tu_apps&lt;/span&gt;&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0cm 0cm 10pt;&quot;&gt;
El código es este:&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;#####################################################################&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;#! /bin/sh&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;# Solr init script, copied from red5 one from G. Giunta. 2007.11.29&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;# red5&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;red5 initscript&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;# Author:&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp; &lt;/span&gt;Simon Eisenmann &amp;lt;simon@struktur.de&amp;gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;# chkconfig: 345 20 80&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;# description&lt;span style=&quot;color: red;&quot;&gt;: Solr Indexer Server&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;set -e&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;DESC=&quot;&lt;span style=&quot;color: red;&quot;&gt;Solr TU_APPS&lt;/span&gt;&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;NAME=solr_&lt;span style=&quot;color: red;&quot;&gt;tu_apps&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;SOLR_HOME=/solr/apps&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;DAEMON=$SOLR_HOME/$NAME.sh&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;PIDFILE=/solr/apps/$NAME.pid&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;SCRIPTNAME=/etc/init.d/$NAME&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;SOLR_USER=&lt;span style=&quot;color: red;&quot;&gt;usuario&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;# Gracefully exit if the package has been removed.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;test -x $DAEMON || exit 0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;# Read config file if it is present.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;if [ -r /etc/default/$NAME ]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;then&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;. /etc/default/$NAME&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;fi&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;#&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Function that starts the daemon/service.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;d_start() {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;cd $SOLR_HOME&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;start-stop-daemon --chuid $SOLR_USER --user $SOLR_USER --quiet --background --exec $DAEMON --start --pidfile $PIDFILE --make-pidfile&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;#&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Function that stops the daemon/service.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;#&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;d_stop() {&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;start-stop-daemon --stop --quiet --pidfile $PIDFILE \&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 2;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;--name java&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;rm -f $PIDFILE &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;case &quot;$1&quot; in&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;start)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;echo -n &quot;Starting $DESC:.....OK&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;d_start&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;echo &quot;.&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;stop)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;echo -n &quot;Stopping $DESC:.....OK&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;d_stop&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;echo &quot;.&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;restart|force-reload)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;echo -n &quot;Restarting $DESC:.....OK&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;d_stop&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;sleep 1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;d_start&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;echo &quot;.&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;*)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;echo &quot;Usage: $SCRIPTNAME {start|stop|restart|force-reload}&quot; &amp;gt;&amp;amp;2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;exit 1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;esac&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;exit 0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;#####################################################################&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman; font-size: small;&quot;&gt;Ahora tenemos que añadir el daemon al sistema&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; cd /etc/init.d/&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; chkconfig -–add solr_&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;tu_apps&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;Podemos comprobar que se arranca después de un reinicio, mirando el &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;setup&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;mso-fareast-language: ES; mso-no-proof: yes;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman; font-size: small;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;shape id=&quot;Imagen_x0020_3&quot; o:spid=&quot;_x0000_i1025&quot; style=&quot;height: 64.5pt; mso-wrap-style: square; visibility: visible; width: 96.75pt;&quot; type=&quot;#_x0000_t75&quot;&gt;&lt;imagedata o:title=&quot;&quot; src=&quot;file:///C:\Users\Israel\AppData\Local\Temp\msohtmlclip1\01\clip_image002.png&quot;&gt;&lt;/imagedata&gt;&lt;/shape&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman; font-size: small;&quot;&gt;9.- Como vemos en el script, en la carpeta de la aplicación, tenemos que tener otro script que lanza el propio WS de SOLR. Este lo hemos copiado con la aplicación pero igualmente este es el código&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; vi /solr/apps/&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;solr_tu_apps&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;.sh&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;#####################################################################&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;#!/bin/bash&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;chkconfig: 345 20 80&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;description: Solr Indexer Server&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;for JAVA in &quot;$JAVA_HOME/bin/java&quot; &quot;/usr/bin/java&quot; &quot;/usr/local/bin/java&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;do&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;if [ -x $JAVA ]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;then&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;break&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;fi&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;done&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;if [ ! -x $JAVA ]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;then&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;echo &quot;Unable to locate java. Please set JAVA_HOME environment variable.&quot;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;exit&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;fi&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;# start solr &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;cd /solr/apps/sgmbra&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;font-size: 8pt; mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;exec $JAVA -Xms1024m -Xmx1024M&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;-Dsolr.solr.home=/solr/apps/solr/conf -jar /solr/apps/start.jar&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;#####################################################################&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;10.- Instalar JAVA&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; yum install java&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman; font-size: small;&quot;&gt;11.- Solo queda comprobar que funciona todo, hay que arrancar el servicio&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;background: #eeeeee; line-height: 170%; margin: 0cm 0cm 10pt;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;shell&amp;gt; /etc/init.d/&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: red; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt;solr_&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;tu_apps&lt;/b&gt;&lt;/span&gt;&lt;span lang=&quot;EN-US&quot; style=&quot;color: #494949; font-family: &amp;quot;Courier New&amp;quot;; font-size: 10pt; line-height: 170%; mso-ansi-language: EN-US; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES;&quot;&gt; start&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;Y desde un navegador acceder a la URL&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;http://servername:8895/solr/&lt;/b&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: 8pt;&quot;&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman; font-size: small;&quot;&gt;Acordaros de general una reindexado para tener un INDICE!!!&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span style=&quot;font-family: Times New Roman; font-size: small;&quot;&gt;12.- Tenemos que añadir dos líneas en el contrab para realizar la limpieza de los LOG de SOLR&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;1 2 * * * root find /var/log/ -ctime +15|grep &#39;\.log&#39;|xargs rm -rf&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormalCxSpMiddle&quot; style=&quot;line-height: normal;&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;mso-ansi-language: EN-US;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;1 3 * * * root find /solr/apps/ -ctime +5|grep &#39;\.log&#39;|xargs rm -rf&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://firewallbox.blogspot.com/feeds/1167644414700944932/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/2248108842907368244/1167644414700944932?isPopup=true' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/1167644414700944932'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2248108842907368244/posts/default/1167644414700944932'/><link rel='alternate' type='text/html' href='http://firewallbox.blogspot.com/2011/02/solr-en-linux1.html' title='SOLR en Centos'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>