I created a contact_group like the follow:
define contactgroup{
contactgroup_name saopaulo
alias Administradores de Sao Paulo
members usrsp
}
contactgroup_name saopaulo
alias Administradores de Sao Paulo
members usrsp
}
and I define the host:
define host{
use generic-host ; Name of host template to use
host_name SPAUL0436
alias SPAUL0436
address xxx.xxx.xxx.xxx
check_command check-host-alive
max_check_attempts 10
check_period 24x7
notification_interval 120
notification_period 24x7
notification_options d,r
contact_groups saopaulo,admins
}
and the service for this host:use generic-host ; Name of host template to use
host_name SPAUL0436
alias SPAUL0436
address xxx.xxx.xxx.xxx
check_command check-host-alive
max_check_attempts 10
check_period 24x7
notification_interval 120
notification_period 24x7
notification_options d,r
contact_groups saopaulo,admins
}
define service{
use generic-service ; Name of service template to use
host_name SPAUL0436
service_description CHECK PING xxx.xxx.xxx.xxx
is_volatile 0
check_period 24x7
max_check_attempts 4
normal_check_interval 5
retry_check_interval 1
contact_groups saopaulo,admins
notification_options w,u,c,r
notification_interval 960
notification_period 24x7
check_command check_ping!200.0,20%!500.0,60%
}
But when I logged in at Nagios like "usrsp", the Nagios shows me all the hosts...use generic-service ; Name of service template to use
host_name SPAUL0436
service_description CHECK PING xxx.xxx.xxx.xxx
is_volatile 0
check_period 24x7
max_check_attempts 4
normal_check_interval 5
retry_check_interval 1
contact_groups saopaulo,admins
notification_options w,u,c,r
notification_interval 960
notification_period 24x7
check_command check_ping!200.0,20%!500.0,60%
}
What is the problem??
Thanks
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Nagios-users mailing list [email protected] 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
