<br><font size=2><tt>op5-users-bounces@lists.op5.com wrote on 01/09/2009
13:46:07:<br>
<br>
&gt; nicolas.raspail@bnpparibas.com wrote:<br>
&gt; &gt; op5-users-bounces@lists.op5.com wrote on 31/08/2009 17:04:24:<br>
&gt; &gt; <br>
&gt; &gt;&gt; nicolas.raspail@bnpparibas.com wrote:<br>
&gt; &gt;&gt;&gt; p5-users-bounces@lists.op5.com wrote on 31/08/2009 10:38:27:<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt; <br>
&gt; &gt; &lt;snip&gt; <br>
&gt; &gt; <br>
&gt; &gt;&gt; Ok. In that case it's not a configuration error. Can you
try using the<br>
&gt; &gt;&gt; latest git snapshot (download it directly from git for simpler
updates)<br>
&gt; &gt;&gt; and see if that solves this particular problem?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; The latest core code changes can be found in v0.6.2-beta11.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Thanks for your reports. I really appreciate them :-)<br>
&gt; &gt;&gt;<br>
&gt; &gt; <br>
&gt; &gt; Hi,<br>
&gt; &gt; <br>
&gt; &gt; I have just compiled and installed the tarball from the git commit
<br>
&gt; &gt; b0703a40b91d39b57d84d52ddb81a8e34933c362. I have modified the
<br>
&gt; &gt; gen-version.sh script to add <br>
&gt; &gt; DEF_VER=v0.6.2-b0703a40b91d39b57d84d52ddb81a8e34933c362 <br>
&gt; &gt; <br>
&gt; &gt; * When I start merlind, I get the following messages<br>
&gt; &gt; <br>
&gt; &gt; [1251803549] 6: Initializing IPC socket <br>
&gt; &gt; '/bnp/apps/nagios/merlin/ipc.sock' for daemon [1251803549] 6:
<br>
&gt; &gt; dbi_conn_query_null(): Failed to run [SELECT host_name, current_state,
<br>
&gt; &gt; state_type FROM merlindb.host ORDER BY host_name]: no database
<br>
&gt; &gt; connection. Error-code is 7 [1251803549] 3: Attempting to reconnect
to <br>
&gt; &gt; database [1251803549] 6: Successfully ran the previously failed
query <br>
&gt; &gt; [1251803550] 6: Primed object states for 0 hosts and 14639 services
<br>
&gt; &gt; [1251803550] 6: Merlin daemon <br>
&gt; &gt; v0.6.2-b0703a40b91d39b57d84d52ddb81a8e34933c362 successfully
initialized <br>
&gt; &gt; [1251803550] 6: Accepting inbound connection on ipc socket <br>
&gt; &gt; <br>
&gt; &gt; * After that, a large number (41) of php importer process are
launched<br>
&gt; &gt; <br>
&gt; &gt; [1251803550] 6: Executing import command 'php <br>
&gt; &gt; /bnp/apps/nagios/merlin/import.php <br>
&gt; &gt; --nagios-cfg=/bnp/apps/nagios/etc/nagios.cfg <br>
&gt; &gt; --cache=/bnp/apps/nagios/var/objects.cache --db-name=merlindb
<br>
&gt; &gt; --db-user=merlin --db-pass=xxx --db-host=eqd-nagios-sql' <br>
&gt; &gt; &lt;40 times&gt;<br>
&gt; &gt; [1251803554] 6: Handled 86 ipc events in 4.326 seconds<br>
&gt; &gt; [1251803566] 6: Executing import command 'php <br>
&gt; &gt; /bnp/apps/nagios/merlin/import.php <br>
&gt; &gt; --nagios-cfg=/bnp/apps/nagios/etc/nagios.cfg <br>
&gt; &gt; --cache=/bnp/apps/nagios/var/objects.cache --db-name=merlindb
<br>
&gt; &gt; --db-user=merlin --db-pass=xxx --db-host=eqd-nagios-sql' <br>
&gt; &gt; [1251803566] 6: Handled 6 ipc events in 0.006 seconds<br>
&gt; &gt; [1251803566] 6: Handled 2 ipc events in 0.003 seconds<br>
&gt; &gt; [1251803566] 6: Handled 128 ipc events in 0.083 seconds<br>
&gt; &gt; [1251803566] 6: Handled 1 ipc events in 0.000 seconds<br>
&gt; &gt; <br>
&gt; &gt; I have stopped merlind because the load on the server was very
high.<br>
&gt; &gt; Several minutes after I have stopped the merlind process, I can
see php<br>
&gt; &gt; running, but they finally disappeared.<br>
&gt; &gt; <br>
&gt; &gt; I did not can test the reconnection after a failover of my mysql
server<br>
&gt; &gt; because of this new merlind behaviour :)<br>
&gt; &gt; <br>
&gt; <br>
&gt; Can you please send me the log from your eventbroker module as well<br>
&gt; (the one call neb.log in the example config file)?<br>
&gt; <br>
&gt; What I think is happening is that your config is simply so large that<br>
&gt; the import takes far too much time. I'll add a check to make sure
we<br>
&gt; aren't running one import while another one's working.<br>
&gt; <br>
</tt></font>
<br><font size=2><tt>Hi</tt></font>
<br>
<br><font size=2><tt>unfortunately, a wrong permission on the logs directory
prevent nagios</tt></font>
<br><font size=2><tt>to write the neb.log. Maybe a warning in nagios.log
from the module would</tt></font>
<br><font size=2><tt>be a nice feature :)</tt></font>
<br>
<br><font size=2><tt>But I have corrected the permission, enabled again
merlind for some</tt></font>
<br><font size=2><tt>minutes and stopped it. And I have attached the file
in this email.</tt></font>
<br>
<br><font size=2><tt>Regards</tt></font>
<br>
<br><font size=2><tt>Nicolas</tt></font>
<br>
<br><pre>



This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 
Do not print this message unless it is necessary,
consider the environment.

                ---------------------------------------------

Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.
N'imprimez ce message que si necessaire,
pensez a l'environnement.
</pre>