Salut a tous,
Je viens d'installer cacti sur un serveur sous Red Hat, pour cela j'ai suivi un des tutorials que l'on trouve sur le net (voir plusieurs), j'ai donc configure mysql, installe RRDtool, configure le serveur apache et php, tout a l'air de s'installer par contre quand je lance cacti dans un navigateur, je n'ai pas du tout la page de configuration comme indique partout (la : http://www.openmaniak.com/cacti_tuto...-cacti-browser ou la : http://forums.linuxwebadmin.info/ind...pic,153.0.html)
mais directement une page qui m'affiche ca:
avec un lien sur Create et View, et si je clique sur l'un de ces liens, j'ai du code bizarre qui s'affiche:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4 You are now logged into Cacti. You can follow these basic steps to get started. Create devices for network Create graphs for your new devices View your new graphs
Code php : Sélectionner tout - Visualiser dans une fenêtre à part
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 "Delete", 2 => "Enable", 3 => "Disable", 4 => "Change SNMP Options", 5 => "Clear Statistics", 6 => "Change Availability Options" ); /* set default action */ if (!isset($_REQUEST["action"])) { $_REQUEST["action"] = ""; } switch ($_REQUEST["action"]) { case 'save': form_save(); break; case 'actions': form_actions(); break; case 'gt_remove': host_remove_gt(); header("Location: host.php?action=edit&id=" . $_GET["host_id"]); break; case 'query_remove': host_remove_query(); header("Location: host.php?action=edit&id=" . $_GET["host_id"]); break; case 'query_reload': host_reload_query(); header("Location: host.php?action=edit&id=" . $_GET["host_id"]); break; case 'query_verbose': host_reload_query(); header("Location: host.php?action=edit&id=" . $_GET["host_id"] . "&display_dq_details=true"); break; case 'edit': include_once("./include/top_header.php"); host_edit(); include_once("./include/bottom_footer.php"); break; default: include_once("./include/top_header.php"); host(); include_once("./include/bottom_footer.php"); break; } /* -------------------------- Global Form Functions -------------------------- */ function add_tree_names_to_actions_array() { global $device_actions; /* add a list of tree names to the actions dropdown */ $trees = db_fetch_assoc("select id,name from graph_tree order by name"); if (sizeof($trees) > 0) { foreach ($trees as $tree) { $device_actions{"tr_" . $tree["id"]} = "Place on a Tree (" . $tree["name"] . ")"; } } } /* -------------------------- The Save Function -------------------------- */ function form_save() { if ((!empty($_POST["add_dq_y"])) && (!empty($_POST["snmp_query_id"]))) { /* ================= input validation ================= */ input_validate_input_number(get_request_var_post("id")); input_validate_input_number(get_request_var_post("snmp_query_id")); input_validate_input_number(get_request_var_post("reindex_method")); /* ==================================================== */
quelqu'un aurait une idee? Ca me sauverait la vie!
D'avance, merci
Partager