So this is working now but I'm not sure why. I deleted the objects.cache file and restarted and got a host down alert as soon as nagios came up. <br><br><br>On a whim I deleted the cache file and restarted nagios and it sent out a host down alert. I didn't change anything else.<br>
<br><br><div class="gmail_quote">On Tue, Oct 6, 2009 at 2:22 PM, Noel Platzke <span dir="ltr"><<a href="mailto:neufpas@gmail.com">neufpas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I included the template because the actual host definitions only include the server specific information. I'm not overriding anything. For example...<br><br>define host{<br> use standard-host<br> host_name server1<br>
hostgroups +servers<br> alias server1<br> address <a href="http://server1.domain.com" target="_blank">server1.domain.com</a><br> }<br><br><br>The same goes for contacts everything else. <br>
<div><div></div><div class="h5">
<br><br><div class="gmail_quote">On Tue, Oct 6, 2009 at 1:53 PM, Marc Powell <span dir="ltr"><<a href="mailto:marc@ena.com" target="_blank">marc@ena.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br>
On Oct 6, 2009, at 12:21 PM, Noel Platzke wrote:<br>
<br>
> My host, service and contacts are defined with the following<br>
> templates:<br>
><br>
> define host{<br>
> name standard-host<br>
> max_check_attempts 3<br>
> check_interval 15<br>
> retry_interval 5<br>
> check_command check-host-alive<br>
> check_period 24x7<br>
> notifications_enabled 1<br>
> retain_status_information 1<br>
> retain_nonstatus_information 1<br>
> contacts ops<br>
> notification_interval 15<br>
> notification_period 24x7<br>
> check_freshness 1<br>
> freshness_threshold 300<br>
> register 0<br>
> }<br>
<br>
</div>Hello,<br>
<br>
This is just a template and not a complete host definition. In fact,<br>
they were all just templates and missing critical pieces of<br>
information or may have parts that are overridden in the full<br>
definition. You should post the entire definition for the host,<br>
contact group and contact as found in objects.cache. At first glance,<br>
you don't specify any notification_options for the host. With<br>
Nagios-3, this will mean that all states will result in a notification<br>
but under 2.x I believe that behavior is different. I'd go ahead and<br>
specify the specific states to you want to receive notifications for.<br>
<br>
--<br>
Marc<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Come build with us! The BlackBerry® Developer Conference in SF, CA<br>
is the only developer event you need to attend this year. Jumpstart your<br>
developing skills, take BlackBerry mobile applications to market and stay<br>
ahead of the curve. Join us from November 9-12, 2009. Register now!<br>
<a href="http://p.sf.net/sfu/devconf" target="_blank">http://p.sf.net/sfu/devconf</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">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>
</blockquote></div><br>
</div></div></blockquote></div><br>