<font size=2 face="Verdana">Hi,</font>
<br>
<br><font size=2 face="Verdana">With nagios, it is possible to submit passive
check with ip address instead of the hostname (for process_passive_host_check
or process_passive_service_check). If I do the same thing with naemon,
I have an error (Ex. : Failed validation of service as type service (argument
0)).</font><font size=3> </font>
<br>
<br><font size=2 face="Verdana">I read the naemon source and I see that
: </font>
<br><font size=2 face="Verdana">In the function process_passive_host_check
(or process_passive_service_check) called to process the command CMD_PROCESS_HOST_CHECK_RESULT
(or CMD_PROCESS_SERVICE_CHECK_RESULT), the host is found by the function
find_host_by_name_or_address. </font>
<br><font size=2 face="Verdana">But, before this process, the function
command_parse is called to validate the arguments of the commands, and
during this validation, the host is found only by the function find_host
(see function resolve_object) and not by the function find_host_by_name_or_address.
So if I have an ip address into a command CMD_PROCESS_HOST_CHECK_RESULT,
<b>the command parse failed</b>. The same problem exists for the command
CMD_PROCESS_SERVICE_CHECK_RESULT.</font><font size=3> <br>
</font>
<br><font size=2 face="Verdana">So I believe, there is an anomaly in the
command parse function to validate arguments of the the commands CMD_PROCESS_HOST_CHECK_RESULT
and CMD_PROCESS_SERVICE_CHECK_RESULT with ip address instead of the hostname.
Unless it is the new way chosen by naemon.<br>
</font>
<br><font size=2 face="Verdana">Best regards,</font><font size=3> <br>
</font>
<table width=293 style="border-collapse:collapse;">
<tr height=8>
<td width=34 style="border-style:ridge;border-color:#000000;border-width:1px 1px 1px 1px;padding:1px 1px;"><font size=1 face="Verdana"> 
   </font>
<td width=89 style="border-style:ridge;border-color:#000000;border-width:1px 1px 1px 1px;padding:1px 1px;"><font size=1 face="Verdana"> C0
- Public</font>
<td width=34 style="border-style:ridge;border-color:#000000;border-width:1px 1px 1px 1px;padding:1px 1px;"><font size=1 face="Verdana"> 
   </font>
<td width=120 style="border-style:ridge;border-color:#000000;border-width:1px 1px 1px 1px;padding:1px 1px;"><font size=1 face="Verdana"> C2
- Restreint</font>
<tr height=8>
<td width=34 style="border-style:ridge;border-color:#000000;border-width:1px 1px 1px 1px;padding:1px 1px;"><font size=1 face="Verdana"> 
X  </font>
<td width=89 style="border-style:ridge;border-color:#000000;border-width:1px 1px 1px 1px;padding:1px 1px;"><font size=1 face="Verdana"> C1
- Interne</font>
<td width=34 style="border-style:ridge;border-color:#000000;border-width:1px 1px 1px 1px;padding:1px 1px;"><font size=1 face="Verdana"> 
   </font>
<td width=120 style="border-style:ridge;border-color:#000000;border-width:1px 1px 1px 1px;padding:1px 1px;"><font size=1 face="Verdana"> C3
- Confidentiel</font>
<tr height=8>
<td width=287 colspan=4 bgcolor=#bdbdbd style="border-style:ridge;border-color:#000000;border-width:1px 1px 1px 1px;padding:1px 1px;">
<div align=center><font size=1 face="Verdana">  C4 - Secret : indisponible</font></div></table>
<br>
<br>
<table width=600 style="border-collapse:collapse;">
<tr height=8>
<td width=598 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><img src=cid:_2_07E44B4007E44900002C9311C12580DC>
<tr valign=top height=8>
<td width=598 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=1 face="Verdana"><b>Arnaud</b>
<b>Esnault</b> <br>
<br>
Service Intégration, recette technique et services <br>
Département Intégration et gestion des changements<br>
Direction de la production informatique<br>
Société prestataire AKKA Technologies</font><font size=1 color=#5f5f5f face="Verdana"><b><br>
DIRECTION DES SYSTÈMES D’INFORMATION DE LA BANQUE ET DU RÉSEAU</b></font><font size=1 face="Verdana"><br>
10 BOULEVARD AUGUSTE PAGEOT – NANTES<br>
Tél : +33 (0) 2 40 16 40 12 <br>
arnaud.esnault-prestataire@labanquepostale.fr</font>
<tr height=8>
<td width=598 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><font size=1 face="Verdana"><i>Si
vous recevez ce courriel en dehors de vos heures de travail ou pendant
vos congés, <br>
vous n’avez pas à y répondre immédiatement, sauf en cas d'urgence exceptionnelle.
</i></font>
<tr height=8>
<td width=598 style="border-style:solid;border-color:#000000;border-width:0px 0px 0px 0px;padding:1px 1px;"><img src=cid:_1_07E4594807E456DC002C9311C12580DC><font size=1 color=#008000 face="Arial">Afin
de contribuer au respect de l'environnement, merci de n'imprimer ce mail
qu'en cas de nécessité </font></table>
<br>
<p></p>

<p></p>

<p></p>

<p>Le papier est un bien precieux, ne le gaspillez pas. N'imprimez ce document que si vous en avez vraiment besoin !</p>

<p><br>
Ce message est confidentiel.</p>

<p>Sous reserve de tout accord conclu par ecrit entre vous et La Banque Postale, son contenu ne represente en aucun cas un engagement de la part de La Banque Postale.<br>
Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee prealablement.</p>

<p>Si vous n'etes pas destinataire de ce message, merci d'en avertir immediatement l'expediteur.</p>

<p></p>