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" icon = "img/icons/error.png"
[Problems.Unhandled Hosts] [Problems.Unhandled Hosts]
icon = "img/icons/host.png" priority = 40
priority = 50
url = "monitoring/list/hosts?host_problem=1&host_handled=0" url = "monitoring/list/hosts?host_problem=1&host_handled=0"
[Problems.Unhandled Services] [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 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] [Problems.Current Downtimes]
url = "monitoring/list/downtimes?downtime_is_in_effect=1" url = "monitoring/list/downtimes?downtime_is_in_effect=1"
icon = "img/icons/down.png"
[Overview] [Overview]
priority = 30 priority = 30
icon = "img/icons/hostgroup.png" icon = "img/icons/hostgroup.png"
[Overview.Tactical Overview]
title = "Tactical Overview"
url = "monitoring/tactical"
priority = 40
[Overview.Hosts] [Overview.Hosts]
title = "Hosts" title = "Hosts"
url = "monitoring/list/hosts" url = "monitoring/list/hosts"
icon = "img/icons/host.png"
priority = 50 priority = 50
[Overview.Services] [Overview.Services]
title = "Services" title = "Services"
url = "monitoring/list/services" url = "monitoring/list/services"
icon = "img/icons/service.png"
priority = 50 priority = 50
[Overview.Servicegroups] [Overview.Servicegroups]
title = "Servicegroups" title = "Servicegroups"
url = "monitoring/list/servicegroups" url = "monitoring/list/servicegroups"
icon = "img/icons/servicegroup.png"
priority = 60 priority = 60
[Overview.Hostgroups] [Overview.Hostgroups]
title = "Hostgroups" title = "Hostgroups"
url = "monitoring/list/hostgroups" url = "monitoring/list/hostgroups"
icon = "img/icons/hostgroup.png"
priority = 60 priority = 60
[Overview.Contactgroups]
title = "Contactgroups"
url = "monitoring/list/contactgroups"
priority = 61
[Overview.Downtimes] [Overview.Downtimes]
title = "Downtimes" title = "Downtimes"
url = "monitoring/list/downtimes" url = "monitoring/list/downtimes"
icon = "img/icons/down.png"
priority = 70 priority = 70
[Overview.Comments] [Overview.Comments]
title = "Comments" title = "Comments"
url = "monitoring/list/comments" url = "monitoring/list/comments"
icon = "img/icons/comment.png"
priority = 70 priority = 70
[History] [History]
icon = "img/icons/history.png" icon = "img/icons/history.png"
[History.Host History]
title = "Host Overview"
url = "monitoring/list/statehistorysummary"
priority = 50
[History.Notifications] [History.Notifications]
title = "Notifications" title = "Notifications"
url = "monitoring/list/notifications" url = "monitoring/list/notifications"
icon = "img/icons/notification.png"
[History.Events] [History.Events]
title = "All Events" title = "All Events"
url = "monitoring/list/eventhistory" url = "monitoring/list/eventhistory?raw_timestamp>=-2+days"
icon = "img/icons/history.png"
[System.Performance] [System.Performance]
title = "Performance" title = "Performance"

View File

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

View File

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