Almost works... It displays the info now, but the graphs are not showing up correctly and I get this error.
Fatal error: Call to undefined function api_plugin_hook() in /usr/share/cacti/site/lib/html.php on line 205
Here is the line that it seems to be giving an error on
<?php api_plugin_hook('graph_buttons', array('hook' => 'graphs', 'local_graph_id' => $graph['local_graph_id'], 'rra' => 0, 'view_type' => '')); ?>
SNMP Information at graph_view.php page
Moderators: Developers, Moderators
Also to add to my post above I tried taking that line out and all the graphs showed up as only one graph was showing with that line in, but none of the buttons to the side of the graph that were usually there would show up.
Also found when I clicked on console I was getting all these errors too right above the create new graphs.
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 757
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 768
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 757
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 768
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 757
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 768
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 757
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 768
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 757
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 768
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 757
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 768
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 799
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 808
Also found when I clicked on console I was getting all these errors too right above the create new graphs.
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 757
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 768
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 757
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 768
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 757
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 768
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 757
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 768
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 757
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 768
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 757
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 768
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 799
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 797
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 801
Notice: Undefined index: url_path in /usr/share/cacti/site/lib/html.php on line 808
Did u install the security patches for cacti 0.8.6d and PIA 2.4 first?jb_008 wrote:Spoke too soon, found a new problem, under console, devices when you click on that and then a host that is pulling snmp data you get
"Fatal error: Call to undefined function html_split_string() in /usr/share/cacti/site/host.php on line 599"
Just spent some time on it and got things working. I have it running under 0.8.7e. I am not sure what the PIA 2.4 is for, but I have it running on a base install of cacti.
- Attachments
-
- html.php.txt
- html.php
- (32 KiB) Downloaded 3084 times
-
- html_tree.php.txt
- html_tree.php
- (61.16 KiB) Downloaded 3178 times
-
- graph.php.txt
- graph.php
- (11.46 KiB) Downloaded 3143 times
-
- graph_view.php.txt
- graph_view.php
- (30.38 KiB) Downloaded 3182 times
Re:
Is this good for Cacti 8.7.h as well or is there an alternative way?jb_008 wrote:Just spent some time on it and got things working. I have it running under 0.8.7e. I am not sure what the PIA 2.4 is for, but I have it running on a base install of cacti.
Server: IBM x3650 M3, 1 XEON CPU 3.0 GHz, 4 Core, 8GB RAM,
OS: Suse Linux 11.4 x64
Apache 2.x
MySQL 5.x
PHP 5.x
Plugins: DSStats, Settings, NMID Cereus Reporting, Spikekill
Install Date: May, 2011
Wed, 19 Oct 2011 13:46:36 +0200
Cacti Version 0.8.7g
Cacti OS unix
SNMP Version NET-SNMP version: 5.6.1
RRDTool Version RRDTool 1.4.x
Hosts 57
Graphs 716
Data Sources Script/Command: 15
SNMP: 166
SNMP Query: 310
Script Query: 4
Script - Script Server (PHP): 46
Script Query - Script Server: 319
Total: 860
Last Run Statistics Time:97.9035 Method:cmd.php Processes:10 Threads:N/A Hosts:58 HostsPerProcess:6 DataSources:3040 RRDsProcessed:860
OS: Suse Linux 11.4 x64
Apache 2.x
MySQL 5.x
PHP 5.x
Plugins: DSStats, Settings, NMID Cereus Reporting, Spikekill
Install Date: May, 2011
Wed, 19 Oct 2011 13:46:36 +0200
Cacti Version 0.8.7g
Cacti OS unix
SNMP Version NET-SNMP version: 5.6.1
RRDTool Version RRDTool 1.4.x
Hosts 57
Graphs 716
Data Sources Script/Command: 15
SNMP: 166
SNMP Query: 310
Script Query: 4
Script - Script Server (PHP): 46
Script Query - Script Server: 319
Total: 860
Last Run Statistics Time:97.9035 Method:cmd.php Processes:10 Threads:N/A Hosts:58 HostsPerProcess:6 DataSources:3040 RRDsProcessed:860
Who is online
Users browsing this forum: No registered users and 0 guests