FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
cacti/graph_view.php at develop · Cacti/cacti · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
Cacti
/
cacti
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
444
Star
1.9k
Code
Issues
320
Pull requests
26
Discussions
Actions
Projects
Wiki
Security and quality
67
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
cacti
/
graph_view.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
108 lines (88 loc) · 3.09 KB
Breadcrumbs
cacti
/
graph_view.php
Copy path
File metadata and controls
108 lines (88 loc) · 3.09 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
<?php
/*
+-------------------------------------------------------------------------+
| Copyright (C) 2004-2026 The Cacti Group |
| |
| This program 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; either version 2 |
| of the License, or (at your option) any later version. |
| |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU General Public License for more details. |
+-------------------------------------------------------------------------+
| Cacti: The Complete RRDtool-based Graphing Solution |
+-------------------------------------------------------------------------+
| This code is designed, written, and maintained by the Cacti Group. See |
| about.php and/or the AUTHORS file for specific developer information. |
+-------------------------------------------------------------------------+
| http://www.cacti.net/ |
+-------------------------------------------------------------------------+
*/
$
guest_account
=
true
;
require
(
'
./include/auth.php
'
);
require_once
(
CACTI_PATH_LIBRARY
.
'
/html_tree.php
'
);
require_once
(
CACTI_PATH_LIBRARY
.
'
/html_graph.php
'
);
require_once
(
CACTI_PATH_LIBRARY
.
'
/api_tree.php
'
);
require_once
(
CACTI_PATH_LIBRARY
.
'
/graphs.php
'
);
require_once
(
CACTI_PATH_LIBRARY
.
'
/reports.php
'
);
require_once
(
CACTI_PATH_LIBRARY
.
'
/timespan_settings.php
'
);
require_once
(
CACTI_PATH_LIBRARY
.
'
/rrd.php
'
);
// set the default graph action
set_default_graph_action
();
// perform spikekill action
html_spikekill_actions
();
// process tree settings
process_tree_settings
();
// setup realtime defaults if they are not set
initialize_realtime_step_and_window
();
switch
(
gnrv
(
'
action
'
)) {
case
'
ajax_hosts
'
:
$
sql_where
=
html_make_device_where
();
get_allowed_ajax_hosts
(
true
,
true
,
$
sql_where
);
break
;
case
'
ajax_search
'
:
get_matching_nodes
();
break
;
case
'
ajax_reports
'
:
html_graph_get_reports
();
break
;
case
'
update_timespan
'
:
html_graph_update_timespan
();
break
;
case
'
save
'
:
html_save_graph_settings
();
break
;
case
'
tree
'
:
html_tree_init
();
break
;
case
'
get_node
'
:
html_tree_get_node
();
break
;
case
'
tree_content
'
:
html_tree_get_content
();
break
;
case
'
preview
'
:
html_graph_preview_view
();
break
;
case
'
list
'
:
html_graph_list_view
();
break
;
case
'
view-preview
'
:
case
'
view-tree
'
:
case
'
view
'
:
html_graph_single_view
();
break
;
case
'
zoom-preview
'
:
case
'
zoom-tree
'
:
case
'
zoom
'
:
html_graph_zoom
();
break
;
case
'
properties-preview
'
:
case
'
properties-tree
'
:
case
'
properties
'
:
html_graph_properties
();
break
;
}
Back
|
FazBrowse Home
|
New Git URL