This file is indexed.

/usr/share/check_mk/web/plugins/pages/shipped.py is in check-mk-multisite 1.2.8p16-1ubuntu0.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
#!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
# +------------------------------------------------------------------+
# |             ____ _               _        __  __ _  __           |
# |            / ___| |__   ___  ___| | __   |  \/  | |/ /           |
# |           | |   | '_ \ / _ \/ __| |/ /   | |\/| | ' /            |
# |           | |___| | | |  __/ (__|   <    | |  | | . \            |
# |            \____|_| |_|\___|\___|_|\_\___|_|  |_|_|\_\           |
# |                                                                  |
# | Copyright Mathias Kettner 2014             mk@mathias-kettner.de |
# +------------------------------------------------------------------+
#
# This file is part of Check_MK.
# The official homepage is at http://mathias-kettner.de/check_mk.
#
# check_mk is free software;  you can redistribute it and/or modify it
# under the  terms of the  GNU General Public License  as published by
# the Free Software Foundation in version 2.  check_mk is  distributed
# in the hope that it will be useful, but WITHOUT ANY WARRANTY;  with-
# out even the implied warranty of  MERCHANTABILITY  or  FITNESS FOR A
# PARTICULAR PURPOSE. See the  GNU General Public License for more de-
# tails. You should have  received  a copy of the  GNU  General Public
# License along with GNU Make; see the file  COPYING.  If  not,  write
# to the Free Software Foundation, Inc., 51 Franklin St,  Fifth Floor,
# Boston, MA 02110-1301 USA.

# Import modules that contain the page functions

import config
import main
import logwatch
import views
import prediction
import sidebar
import actions
import weblib
import dashboard
import login
import help
import bi
import userdb
import notify
import webapi
import visuals
import crash_reporting
import metrics
import werks

# map URLs to page rendering functions

pagehandlers.update({
   "index"                    : main.page_index,
   "login"                    : login.page_login,
   "logout"                   : login.page_logout,
   "ajax_switch_help"         : help.ajax_switch_help,
   "switch_site"              : main.ajax_switch_site,
   "edit_views"               : views.page_edit_views,
   "create_view"              : views.page_create_view,
   "create_view_infos"        : views.page_create_view_infos,
   "edit_view"                : views.page_edit_view,
   "count_context_button"     : views.ajax_count_button,
   "export_views"             : views.ajax_export,
   "ajax_set_viewoption"      : views.ajax_set_viewoption,
   "view"                     : views.page_view,
   "ajax_inv_render_tree"     : views.ajax_inv_render_tree,
   "host_service_graph_popup" : metrics.page_host_service_graph_popup,
   "graph_dashlet"            : metrics.page_graph_dashlet,
   "ajax_set_rowselection"    : weblib.ajax_set_rowselection,
   "prediction_graph"         : prediction.page_graph,
   "logwatch"                 : logwatch.page_show,
   "side"                     : sidebar.page_side,
   "sidebar_add_snapin"       : sidebar.page_add_snapin,
   "sidebar_snapin"           : sidebar.ajax_snapin,
   "sidebar_fold"             : sidebar.ajax_fold,
   "sidebar_openclose"        : sidebar.ajax_openclose,
   "sidebar_move_snapin"      : sidebar.move_snapin,
   "sidebar_ajax_speedometer" : sidebar.ajax_speedometer,
   "sidebar_ajax_tag_tree"    : sidebar.ajax_tag_tree,
   "sidebar_ajax_tag_tree_enter": sidebar.ajax_tag_tree_enter,
   "sidebar_get_messages"     : sidebar.ajax_get_messages,
   "sidebar_message_read"     : sidebar.ajax_message_read,
   "ajax_search"              : sidebar.ajax_search,
   "search_open"              : sidebar.search_open,
   "switch_master_state"      : sidebar.ajax_switch_masterstate,
   "add_bookmark"             : lambda: sidebar.ajax_add_bookmark(),
   "tree_openclose"           : weblib.ajax_tree_openclose,
   "nagios_action"            : actions.ajax_action,

   "dashboard"                : dashboard.page_dashboard,
   "dashboard_dashlet"        : dashboard.ajax_dashlet,
   "edit_dashboards"          : dashboard.page_edit_dashboards,
   "create_dashboard"         : dashboard.page_create_dashboard,
   "edit_dashboard"           : dashboard.page_edit_dashboard,
   "edit_dashlet"             : dashboard.page_edit_dashlet,
   "delete_dashlet"           : dashboard.page_delete_dashlet,
   "create_view_dashlet"      : dashboard.page_create_view_dashlet,
   "create_view_dashlet_infos": dashboard.page_create_view_dashlet_infos,
   "ajax_dashlet_pos"         : dashboard.ajax_dashlet_pos,

   "ajax_popup_add_visual"    : visuals.ajax_popup_add,
   "ajax_add_visual"          : visuals.ajax_add_visual,

   "ajax_userdb_sync"         : userdb.ajax_sync,
   "notify"                   : notify.page_notify,

   "ajax_inv_render_tree"     : views.ajax_inv_render_tree,

   "ajax_popup_icon_selector" : views.ajax_popup_icon_selector,
   "ajax_popup_action_menu"   : views.ajax_popup_action_menu,

   "webapi"                   : webapi.page_api,

   "crashed_check"            : lambda: crash_reporting.page_crashed("check"),
   "gui_crash"                : lambda: crash_reporting.page_crashed("gui"),
   "download_crash_report"    : crash_reporting.page_download_crash_report,

   "version"                  : werks.page_version,
   "werk"                     : werks.page_werk,
})