Default menu cleanup

This commit is contained in:
Thomas Gelf 2014-03-06 10:29:32 +00:00
parent 18baf35020
commit 7a712c1f98
3 changed files with 48 additions and 29 deletions

View File

@ -4,71 +4,83 @@ priority = 20
icon = "img/icons/error.png"
[Problems.Unhandled Hosts]
icon = "img/icons/host.png"
priority = 50
priority = 40
url = "monitoring/list/hosts?host_problem=1&host_handled=0"
[Problems.Unhandled Services]
icon = "img/icons/service.png"
priority = 40
url = "monitoring/list/services?service_problem=1&service_handled=0&sort=service_severity"
[Problems.Host Problems]
priority = 50
url = "monitoring/list/services?service_problem=1&service_handled=0"
url = "monitoring/list/hosts?host_problem=1&sort=host_severity"
[Problems.Service Problems]
priority = 50
url = "monitoring/list/services?service_problem=1&sort=service_severity&dir=desc"
[Problems.Current Downtimes]
url = "monitoring/list/downtimes?downtime_is_in_effect=1"
icon = "img/icons/down.png"
[Overview]
priority = 30
icon = "img/icons/hostgroup.png"
[Overview.Tactical Overview]
title = "Tactical Overview"
url = "monitoring/tactical"
priority = 40
[Overview.Hosts]
title = "Hosts"
url = "monitoring/list/hosts"
icon = "img/icons/host.png"
priority = 50
[Overview.Services]
title = "Services"
url = "monitoring/list/services"
icon = "img/icons/service.png"
priority = 50
[Overview.Servicegroups]
title = "Servicegroups"
url = "monitoring/list/servicegroups"
icon = "img/icons/servicegroup.png"
priority = 60
[Overview.Hostgroups]
title = "Hostgroups"
url = "monitoring/list/hostgroups"
icon = "img/icons/hostgroup.png"
priority = 60
[Overview.Contactgroups]
title = "Contactgroups"
url = "monitoring/list/contactgroups"
priority = 61
[Overview.Downtimes]
title = "Downtimes"
url = "monitoring/list/downtimes"
icon = "img/icons/down.png"
priority = 70
[Overview.Comments]
title = "Comments"
url = "monitoring/list/comments"
icon = "img/icons/comment.png"
priority = 70
[History]
icon = "img/icons/history.png"
[History.Host History]
title = "Host Overview"
url = "monitoring/list/statehistorysummary"
priority = 50
[History.Notifications]
title = "Notifications"
url = "monitoring/list/notifications"
icon = "img/icons/notification.png"
[History.Events]
title = "All Events"
url = "monitoring/list/eventhistory"
icon = "img/icons/history.png"
url = "monitoring/list/eventhistory?raw_timestamp>=-2+days"
[System.Performance]
title = "Performance"

View File

@ -648,7 +648,7 @@ file { '/etc/icingaweb/menu.ini':
source => 'puppet:////vagrant/.vagrant-puppet/files/etc/icingaweb/menu.ini',
owner => 'apache',
group => 'apache',
replace => false,
# replace => false,
}
file { '/etc/icingaweb/resources.ini':

View File

@ -4,18 +4,23 @@ priority = 20
icon = "img/icons/error.png"
[Problems.Unhandled Hosts]
icon = "img/icons/host.png"
priority = 50
priority = 40
url = "monitoring/list/hosts?host_problem=1&host_handled=0"
[Problems.Unhandled Services]
icon = "img/icons/service.png"
priority = 40
url = "monitoring/list/services?service_problem=1&service_handled=0&sort=service_severity"
[Problems.Host Problems]
priority = 50
url = "monitoring/list/services?service_problem=1&service_handled=0"
url = "monitoring/list/hosts?host_problem=1&sort=host_severity"
[Problems.Service Problems]
priority = 50
url = "monitoring/list/services?service_problem=1&sort=service_severity&dir=desc"
[Problems.Current Downtimes]
url = "monitoring/list/downtimes?downtime_is_in_effect=1"
icon = "img/icons/down.png"
[Overview]
priority = 30
@ -24,56 +29,58 @@ icon = "img/icons/hostgroup.png"
[Overview.Tactical Overview]
title = "Tactical Overview"
url = "monitoring/tactical"
priority = 50
priority = 40
[Overview.Hosts]
title = "Hosts"
url = "monitoring/list/hosts"
icon = "img/icons/host.png"
priority = 50
[Overview.Services]
title = "Services"
url = "monitoring/list/services"
icon = "img/icons/service.png"
priority = 50
[Overview.Servicegroups]
title = "Servicegroups"
url = "monitoring/list/servicegroups"
icon = "img/icons/servicegroup.png"
priority = 60
[Overview.Hostgroups]
title = "Hostgroups"
url = "monitoring/list/hostgroups"
icon = "img/icons/hostgroup.png"
priority = 60
[Overview.Contactgroups]
title = "Contactgroups"
url = "monitoring/list/contactgroups"
priority = 61
[Overview.Downtimes]
title = "Downtimes"
url = "monitoring/list/downtimes"
icon = "img/icons/down.png"
priority = 70
[Overview.Comments]
title = "Comments"
url = "monitoring/list/comments"
icon = "img/icons/comment.png"
priority = 70
[History]
icon = "img/icons/history.png"
[History.Host History]
title = "Host Overview"
url = "monitoring/list/statehistorysummary"
priority = 50
[History.Notifications]
title = "Notifications"
url = "monitoring/list/notifications"
icon = "img/icons/notification.png"
[History.Events]
title = "All Events"
url = "monitoring/list/eventhistory?raw_timestamp>=-2+days"
icon = "img/icons/history.png"
[System.Performance]
title = "Performance"