I have beginner question about Map.
1) Its it possible to set default map Layout Circular Markup and default Root Node?
I set in cgi.cfg defaul_statusmap_layout=5 but the default map is always Circular Ballon
2) In circular markup map:
- If all services are OK host show green on map.
- If service ping are in critical status (3/3 (HARD state)) then host show red on map
- but if service ping are OK and another service (Disk space in state Critical) the host on map are green
Its possible to set: if any service going to warning or critical state that host on map change colour to yellow (Warning) or red (Critical)?
Thx for helping ....
Host definition:
Code: Select all
define host {
use windows_host
parents pc0
host_name pc1
alias pc1
address 192.168.0.1
hostgroups servers
}
define service{
use generic-service
host_name pc1
service_description PING
check_command check_ping!200.0,20%!600.0,60%
normal_check_interval 1
retry_check_interval 3
}
define service {
use windows_service
host_name pc1
service_description CPU Utilisation
check_command check_win_cpu!80!90
}
define service {
use windows_service
host_name pc1
service_description Disk Space - All
check_command check_win_disk!.!80!90!-o 1 -3 1
}
Code: Select all
define service{
name windows_service ; The 'name' of this service template
active_checks_enabled 1 ; Active service checks are enabled
passive_checks_enabled 1 ; Passive service checks are enabled/accepted
parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems)
obsess_over_service 1 ; We should obsess over this service (if necessary)
check_freshness 0 ; Default is to NOT check service 'freshness'
notifications_enabled 1 ; Service notifications are enabled
event_handler_enabled 1 ; Service event handler is enabled
flap_detection_enabled 1 ; Flap detection is enabled
process_perf_data 1 ; Process performance data
retain_status_information 1 ; Retain status information across program restarts
retain_nonstatus_information 1 ; Retain non-status information across program restarts
is_volatile 0 ; The service is not volatile
check_period 24x7 ; The service can be checked at any time of the day
max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state
normal_check_interval 10 ; Check the service every 10 minutes under normal conditions
retry_check_interval 2 ; Re-check the service every two minutes until a hard state can be determined
contact_groups email ; Notifications get sent out to everyone in the 'admins' group
notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events
notification_interval 60 ; Re-notify about service problems every hour
notification_period 24x7 ; Notifications can be sent out at any time
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
}