Hi Assaf,<br><br>it's possible to use another command to check host alive like check_http. It works, however, why in old nagios it was not necessary and I didn't nothing different.<br>if just one service is up, nagios have to assume the machine is up.<br>
I could'nt make it works yet :(<br><br>I fount a topic in nagios manual that reported the nagios do it without extra configurations.<br><br>
<br><br><div class="gmail_quote">On Fri, Oct 19, 2012 at 8:05 AM, Assaf Flatto <span dir="ltr"><<a href="mailto:nagios@flatto.net" target="_blank">nagios@flatto.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div bgcolor="#ffffff" text="#000000">
You can use the same command defined for the service to be the
check_command for the server.<br>
<br>
version 3 has changes significlly from version 3 and also has some
of the configuration directives.<br>
<br>
you should read the updated docs on the changes and on the new
configuration.<div><div class="h5"><br>
<br>
<br>
<br>
On 18/10/12 20:42, Leonardo Bacha Abrantes wrote:
</div></div><blockquote type="cite"><div><div class="h5">Hey guys!<br>
<br>
I'm monitoring my external dns server with these configuration in
nagios with these configuration:<br>
<br>
define host{ <br>
host_name myserver<br>
notes External primary DNS<br>
notifications_enabled 0<br>
notification_interval 0<br>
max_check_attempts 5<br>
<b><span style="color:rgb(255,0,0)"> ####
initial_state o =====> It doesn't worked</span></b><br>
contact_groups xxxxx<br>
}<br>
<br>
<br>
define service{<br>
use generic-service<br>
service_description Response Test<br>
max_check_attempts 3<br>
normal_check_interval 7<br>
retry_check_interval 2<br>
contact_groups xxxxxx<br>
check_command check_external_dns!<a href="http://www.mysite.com" target="_blank">www.mysite.com</a>!xxx.xxx.xxx.xxx!yyy.yyy.yyy.yyy<br>
host_name myserver<br>
}<br>
<br>
<br>
it's working, however, nagios is not assuming the host is up. How
can I configure nagios to assume an host is up when the services
of it are up ? <br>
PS: The same configuration worked on nagios versions 2.9 and 1.4.<br>
<br>
nagios: 3.4.1<br>
<br>
can anyone help me please ?<br>
</div></div><pre><fieldset></fieldset>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
<a href="http://p.sf.net/sfu/appdyn_sfd2d_oct" target="_blank">http://p.sf.net/sfu/appdyn_sfd2d_oct</a></pre>
<pre><fieldset></fieldset>
_______________________________________________
Nagios-users mailing list
<a href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
<br>
</div>
<br>------------------------------------------------------------------------------<br>
Everyone hates slow websites. So do we.<br>
Make your web apps faster with AppDynamics<br>
Download AppDynamics Lite for free today:<br>
<a href="http://p.sf.net/sfu/appdyn_sfd2d_oct" target="_blank">http://p.sf.net/sfu/appdyn_sfd2d_oct</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></blockquote></div><br>