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
<http://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 list
Nagios-users@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
------------------------------------------------------------------------------
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@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