Hi Marc,<br><br>I found it.<br>The time between reload and start writing that config file was almost nothing, so after reloading - nagios had problems already reading this file. It probably was by then already empty. So I inserted a sleep 1 between reload & rewriting that config file and .....<br>
..... no PENDING state anymore.<br><br>Even If you didn't find it, you helped me by getting things clear and thus being myself able to recheck better.<br><br>Thanks. Have nice weekend.<br>Uwe<br><br><div class="gmail_quote">
2009/2/13 Marc Powell <span dir="ltr"><<a href="mailto:marc@ena.com">marc@ena.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Please always reply on list so that others may learn from your<br>
experience or offer insight. More below...<br>
<div class="Ih2E3d"><br>
On Feb 13, 2009, at 7:44 AM, Uwe Bartels wrote:<br>
<br>
> Hi Marc,<br>
><br>
> thanks for your answer.<br>
> retain_status_information is set per default to 1 in the template<br>
> generic-service.<br>
> setting this parameter explicitely in the service definition of the<br>
> monitor which looses its state did not help either.<br>
><br>
> - I set the parameter 'retain_status_information 1'<br>
> - reloaded<br>
> - and run my config procedure<br>
> -> state is again pending.<br>
<br>
</div>Well, I've been doing the same thing as you under netsaint/nagios<br>
every hour for almost 8 years now and haven't experienced this. I'd be<br>
surprised if a new issue appeared with nagios-3 so I'm leaning more<br>
toward some config issue. Does retain_status_information appear in the<br>
service definition in objects.cache? Are you sure that the hostname/<br>
service_description are exactly the same between reloads? How about<br>
retain_nonstatus_information? Try enabling that. I'm not 100% certain<br>
which each controls but I use both.<br>
<br>
Also, just because it commonly causes strangeness, be sure you don't<br>
have multiple nagios daemons running at the same time.<br>
<div><div></div><div class="Wj3C7c"><br>
--<br>
Marc<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA<br>
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise<br>
-Strategies to boost innovation and cut costs with open source participation<br>
-Receive a $600 discount off the registration fee with the source code: SFAD<br>
<a href="http://p.sf.net/sfu/XcvMzF8H" target="_blank">http://p.sf.net/sfu/XcvMzF8H</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Uwe Bartels<br>Systemarchitect - Freelancer<br>mailto: <a href="mailto:uwe.bartels@gmail.com">uwe.bartels@gmail.com</a><br>tel: +49 172 3899006<br>