Force host assume up when services are up

Leonardo Bacha Abrantes leonardo at lbasolutions.com
Fri Oct 19 15:06:27 CEST 2012


Hi Assaf,

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.
if just one service is up, nagios have to assume the machine is up.
I could'nt make it works yet :(

I fount a topic in nagios manual that reported the nagios do it without
extra configurations.



On Fri, Oct 19, 2012 at 8:05 AM, Assaf Flatto <nagios at flatto.net> wrote:

> **
> You can use the same command defined for the service to be the
> check_command for the server.
>
> version 3 has changes significlly from version 3 and also has some of the
> configuration directives.
>
> you should read the updated docs on the changes and on the new
> configuration.
>
>
>
>
> On 18/10/12 20:42, Leonardo Bacha Abrantes wrote:
>
> Hey guys!
>
> I'm monitoring my external dns server with these configuration in nagios
> with these configuration:
>
> define host{
>         host_name               myserver
>         notes                   External primary DNS
>         notifications_enabled   0
>         notification_interval   0
>         max_check_attempts      5
>     *   #### initial_state           o     =====> It doesn't worked*
>         contact_groups          xxxxx
>         }
>
>
> define service{
>         use                     generic-service
>         service_description     Response Test
>         max_check_attempts      3
>         normal_check_interval   7
>         retry_check_interval    2
>         contact_groups          xxxxxx
>         check_command           check_external_dns!www.mysite.com
> !xxx.xxx.xxx.xxx!yyy.yyy.yyy.yyy
>         host_name               myserver
>         }
>
>
> 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 ?
> PS: The same configuration worked on nagios versions 2.9 and 1.4.
>
> nagios: 3.4.1
>
> can anyone help me please ?
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:http://p.sf.net/sfu/appdyn_sfd2d_oct
>
>
> _______________________________________________
> Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20121019/f500a45c/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list