<div dir="ltr"><div><div>Hi everyone,<br><br></div>I'm running Xymon 4.3.12 under GNU/Linux Debian Wheezy 7.4 Kernel 3.2.51-1 x86_64 GNU/Linux.<br><br></div> <span id="result_box" class="" lang="en"><span title="Quiero monitorear la base de datos PostgreSQL utilizando los hobbit-plugins, he instalado la dependencia requerida para poder graficar las consultas por el PostgreSQL "libdbd-pg-perl".
">I want to monitor the PostgreSQL database using hobbit -plugins , I
installed the required dependency graph to query for PostgreSQL " libdbd
-pg- perl" .<br><br></span><span title="Corriendo el script (desde el cliente) que se encuentra en la path "/usr/lib/hobbit/client/ext" pude notar que si ejecuta bien las consultas, pude notar que dentro del script postgres dicen:
">Running the script ( from the client ) that is in the path "/usr/lib/hobbit/client/ext" I noticed that if you run queries fine, I
noticed that within the script postgres say :<br><br>You must also activate Postgresql statistics. See <a href="http://www.postgresql.org/docs/8.1/interactive/monitoring-locks.html">http://www.postgresql.org/docs/8.1/interactive/monitoring-locks.html</a> for how to enable this. Specifically, the following lines must exist in your postgresql.conf:<br>
<br>stats_start_collector = true<br>stats_block_level = true<br><br></span></span><br><span id="result_box" class="" lang="en"><span title="Corriendo el script (desde el cliente) que se encuentra en la path "/usr/lib/hobbit/client/ext" pude notar que si ejecuta bien las consultas, pude notar que dentro del script postgres dicen:
"><span id="result_box" class="" lang="en"><span title="Pero, resulta que eso aplica para PostgreSQL 8.1 a 8.3, revisé en la página oficial de PostgreSQL y cambiaron la forma de obtener los graficos por los siguientes:
">But is that true for PostgreSQL 8.1 to 8.3 , I checked on the official
website of PostgreSQL and I changed the way to get the graphics for the
following :<br><br></span><span title="track_activities = on
">track_activities = on<br></span><span title="track_counts = on
">track_counts = on<br></span><span title="track_functions = all
">track_functions = all<br><br></span><span title="Ya modifiqué "/etc/hobbit/clientlaunch.d/postgres.cfg" quedando:
">Now I modified "/etc/hobbit/clientlaunch.d/postgres.cfg" being :<br><br> </span><span title="[postgres]
">[ postgres ]<br> </span><span title="#DISABLED
"># DISABLED<br> </span><span title="ENVFILE /etc/hobbit/hobbitclient.cfg
">ENVFILE / etc / hobbit / hobbitclient.cfg<br> </span><span title="CMD $HOBBITCLIENTHOME/ext/postgres
">CMD $ HOBBITCLIENTHOME / ext / postgres<br> </span><span title="LOGFILE /var/log/hobbit/hobbitclient.log
">LOGFILE /var/log/xymon/hobbitclient.log<br> </span><span title="INTERVAL 5m
">INTERVAL 5m<br><br></span><span title="A pesar que los enciendo no grafica nada.
">Although the graphics do not turn on anything.<br><br></span><span title="Espero que me puedan ayudar.">Hope you can help me .</span></span><br><br></span></span><div><div>-- <br>-- <br>Dernier Rondón<br>Linux Counter reg# 473239<br>
Machine's counter reg# 381205
</div></div></div>