The errors should be in the graph not in the view_performance.
Please enable the debug in line 46 of lib/api.rrdtool.inc.php
When you try to view the graph, a long command line will appear.
Put that in a shell, and show us the results (with the command included).
Javier
Alexandru Thomae wrote:
Doblechecked:
No space " ".
I have also enabled the "debug" wherever I have found it in the view_performance.php file.
You can see the result attached
On Thursday 30 September 2004 16:31, Javier Szyszlican wrote: | Hi Alexandru, | | Only thing that could cause this is if you have a space " " in front of | either of the bandwidth fields. | | Javier | | Alexandru Thomae wrote: | > Hi there, | > | > I've had two errors with the patch, one with temperature.inc.php and one | > with view_dhtml_html_init.inc.php, but I have copyied both from the | > 0.79.tar.gz. And this is what I did with all the other files, just to | > make sure I have everything as it should. My guess is that the problem | > lies somewhere in the database, so I'm gonna delete one of the interfaces | > and readd it, in order to verify this. | > | > a. | > | > On Wednesday 29 September 2004 22:30, Javier Szyszlican wrote: | > | Hi Alexandru, | > | | > | Are you sure you didn't see any patch errors ? | > | | > | To Fix this, please download jffnms-0.7.9.tar.gz and get the | > | engine/graphs/traffic_* files | > | | > | Javier | > | | > | Alexandru Thomae wrote: | > | > Hi. | > | > | > | > Every interface, after the upgrade of the files and database, that | > | > should report the traffic recorded, so not the ones that report | > | > storage or reachability, now say: | > | > | > | > rrd_graph() ERROR: can't parse '' | > | > | > | > And, after this, of course: | > | > "The RRDTool files for Interface ID 136 (from Host ID 47), has not | > | > been created by the Poller Process yet." | > | > | > | > This only happens to the default "Traffic" selection from the graph | > | > types. | > | > | > | > Regards, | > | > | > | > a.
------------------------------------------------------------------------
TYPE : nopreset START: 2004-09-29 59880 = 1096465080 STOP : 2004-09-30 59880 = 1096551480
Array
(
[id] => 147
[host] => 47
[type] => 4
[sla] => 1
[client] => 2
[show_rootmap] => 1
[interface] => FastEthernet0/4
[poll] => 2
[check_status] => 1
[make_sound] => 1
[creation_date] => 1096536805
[modification_date] => 1096536821
[last_poll_date] => 1096551681
[rrd_mode] => 2
[poll_interval] => 0
[host_name] => 2900 Catalyst
[host_ip] => 192.168.1.200
[host_show] => 1
[client_name] => NetMaster Communications
[client_shortname] => NMS
[sla_description] => No SLA
[sla_threshold] => 100
[poller_group_description] => Cisco Interface
[type_description] => Physical Interfaces
[zone] => 2
[zone_name] => NetMaster Bucharest
[zone_image] => ro.png
[zone_shortname] => [graph_type] => 3
[graph_type_default] => 3
[graph_type_agg] => 1
[graph_type_description] => Traffic
[graph_type_graph1] => traffic
[graph_type_graph1_sx] => 500
[graph_type_graph1_sy] => 150
[graph_type_graph2] => [graph_type_graph2_sx] => 0
[graph_type_graph2_sy] => 0
[description] => monitoring
[address] => [mask] => [peer] => [bandwidthin] => 128000
[bandwidthout] => 128000
[interfacenumber] => 5
[flipinout] => 0
[pings] => 50
[fixed_admin_status] => 0
)
Array
(
[id] => 147
[host] => 47
[type] => 4
[sla] => 1
[client] => 2
[show_rootmap] => 1
[interface] => FastEthernet0/4
[poll] => 2
[check_status] => 1
[make_sound] => 1
[creation_date] => 1096536805
[modification_date] => 1096536821
[last_poll_date] => 1096551681
[rrd_mode] => 2
[poll_interval] => 0
[host_name] => 2900 Catalyst
[host_ip] => 192.168.1.200
[host_show] => 1
[client_name] => NetMaster Communications
[client_shortname] => NMS
[sla_description] => No SLA
[sla_threshold] => 100
[poller_group_description] => Cisco Interface
[type_description] => Physical Interfaces
[zone] => 2
[zone_name] => NetMaster Bucharest
[zone_image] => ro.png
[zone_shortname] => [graph_type] => 4
[graph_type_default] => 3
[graph_type_agg] => 0
[graph_type_description] => Utilization
[graph_type_graph1] => traffic_util
[graph_type_graph1_sx] => 500
[graph_type_graph1_sy] => 150
[graph_type_graph2] => [graph_type_graph2_sx] => 0
[graph_type_graph2_sy] => 0
[description] => monitoring
[address] => [mask] => [peer] => [bandwidthin] => 128000
[bandwidthout] => 128000
[interfacenumber] => 5
[flipinout] => 0
[pings] => 50
[fixed_admin_status] => 0
)
Array
(
[id] => 147
[host] => 47
[type] => 4
[sla] => 1
[client] => 2
[show_rootmap] => 1
[interface] => FastEthernet0/4
[poll] => 2
[check_status] => 1
[make_sound] => 1
[creation_date] => 1096536805
[modification_date] => 1096536821
[last_poll_date] => 1096551681
[rrd_mode] => 2
[poll_interval] => 0
[host_name] => 2900 Catalyst
[host_ip] => 192.168.1.200
[host_show] => 1
[client_name] => NetMaster Communications
[client_shortname] => NMS
[sla_description] => No SLA
[sla_threshold] => 100
[poller_group_description] => Cisco Interface
[type_description] => Physical Interfaces
[zone] => 2
[zone_name] => NetMaster Bucharest
[zone_image] => ro.png
[zone_shortname] => [graph_type] => 5
[graph_type_default] => 3
[graph_type_agg] => 1
[graph_type_description] => Packets
[graph_type_graph1] => packets
[graph_type_graph1_sx] => 275
[graph_type_graph1_sy] => 170
[graph_type_graph2] => error_packets
[graph_type_graph2_sx] => 250
[graph_type_graph2_sy] => 170
[description] => monitoring
[address] => [mask] => [peer] => [bandwidthin] => 128000
[bandwidthout] => 128000
[interfacenumber] => 5
[flipinout] => 0
[pings] => 50
[fixed_admin_status] => 0
)
Array
(
[id] => 147
[host] => 47
[type] => 4
[sla] => 1
[client] => 2
[show_rootmap] => 1
[interface] => FastEthernet0/4
[poll] => 2
[check_status] => 1
[make_sound] => 1
[creation_date] => 1096536805
[modification_date] => 1096536821
[last_poll_date] => 1096551681
[rrd_mode] => 2
[poll_interval] => 0
[host_name] => 2900 Catalyst
[host_ip] => 192.168.1.200
[host_show] => 1
[client_name] => NetMaster Communications
[client_shortname] => NMS
[sla_description] => No SLA
[sla_threshold] => 100
[poller_group_description] => Cisco Interface
[type_description] => Physical Interfaces
[zone] => 2
[zone_name] => NetMaster Bucharest
[zone_image] => ro.png
[zone_shortname] => [graph_type] => 6
[graph_type_default] => 3
[graph_type_agg] => 0
[graph_type_description] => Error Rate
[graph_type_graph1] => error_rate
[graph_type_graph1_sx] => 500
[graph_type_graph1_sy] => 170
[graph_type_graph2] => [graph_type_graph2_sx] => 0
[graph_type_graph2_sy] => 0
[description] => monitoring
[address] => [mask] => [peer] => [bandwidthin] => 128000
[bandwidthout] => 128000
[interfacenumber] => 5
[flipinout] => 0
[pings] => 50
[fixed_admin_status] => 0
)
Array
(
[id] => 147
[host] => 47
[type] => 4
[sla] => 1
[client] => 2
[show_rootmap] => 1
[interface] => FastEthernet0/4
[poll] => 2
[check_status] => 1
[make_sound] => 1
[creation_date] => 1096536805
[modification_date] => 1096536821
[last_poll_date] => 1096551681
[rrd_mode] => 2
[poll_interval] => 0
[host_name] => 2900 Catalyst
[host_ip] => 192.168.1.200
[host_show] => 1
[client_name] => NetMaster Communications
[client_shortname] => NMS
[sla_description] => No SLA
[sla_threshold] => 100
[poller_group_description] => Cisco Interface
[type_description] => Physical Interfaces
[zone] => 2
[zone_name] => NetMaster Bucharest
[zone_image] => ro.png
[zone_shortname] => [graph_type] => 7
[graph_type_default] => 3
[graph_type_agg] => 0
[graph_type_description] => RTT & Packet Loss
[graph_type_graph1] => rtt
[graph_type_graph1_sx] => 275
[graph_type_graph1_sy] => 155
[graph_type_graph2] => traffic_pl
[graph_type_graph2_sx] => 260
[graph_type_graph2_sy] => 140
[description] => monitoring
[address] => [mask] => [peer] => [bandwidthin] => 128000
[bandwidthout] => 128000
[interfacenumber] => 5
[flipinout] => 0
[pings] => 50
[fixed_admin_status] => 0
)
Array
(
[id] => 147
[host] => 47
[type] => 4
[sla] => 1
[client] => 2
[show_rootmap] => 1
[interface] => FastEthernet0/4
[poll] => 2
[check_status] => 1
[make_sound] => 1
[creation_date] => 1096536805
[modification_date] => 1096536821
[last_poll_date] => 1096551681
[rrd_mode] => 2
[poll_interval] => 0
[host_name] => 2900 Catalyst
[host_ip] => 192.168.1.200
[host_show] => 1
[client_name] => NetMaster Communications
[client_shortname] => NMS
[sla_description] => No SLA
[sla_threshold] => 100
[poller_group_description] => Cisco Interface
[type_description] => Physical Interfaces
[zone] => 2
[zone_name] => NetMaster Bucharest
[zone_image] => ro.png
[zone_shortname] => [graph_type] => 8
[graph_type_default] => 3
[graph_type_agg] => 0
[graph_type_description] => Interface Packet Loss
[graph_type_graph1] => packetloss
[graph_type_graph1_sx] => 500
[graph_type_graph1_sy] => 180
[graph_type_graph2] => [graph_type_graph2_sx] => 0
[graph_type_graph2_sy] => 0
[description] => monitoring
[address] => [mask] => [peer] => [bandwidthin] => 128000
[bandwidthout] => 128000
[interfacenumber] => 5
[flipinout] => 0
[pings] => 50
[fixed_admin_status] => 0
)
Array
(
[id] => 147
[host] => 47
[type] => 4
[sla] => 1
[client] => 2
[show_rootmap] => 1
[interface] => FastEthernet0/4
[poll] => 2
[check_status] => 1
[make_sound] => 1
[creation_date] => 1096536805
[modification_date] => 1096536821
[last_poll_date] => 1096551681
[rrd_mode] => 2
[poll_interval] => 0
[host_name] => 2900 Catalyst
[host_ip] => 192.168.1.200
[host_show] => 1
[client_name] => NetMaster Communications
[client_shortname] => NMS
[sla_description] => No SLA
[sla_threshold] => 100
[poller_group_description] => Cisco Interface
[type_description] => Physical Interfaces
[zone] => 2
[zone_name] => NetMaster Bucharest
[zone_image] => ro.png
[zone_shortname] => [graph_type] => 11
[graph_type_default] => 3
[graph_type_agg] => 0
[graph_type_description] => Drops
[graph_type_graph1] => drop_packets
[graph_type_graph1_sx] => 500
[graph_type_graph1_sy] => 175
[graph_type_graph2] => [graph_type_graph2_sx] => 0
[graph_type_graph2_sy] => 0
[description] => monitoring
[address] => [mask] => [peer] => [bandwidthin] => 128000
[bandwidthout] => 128000
[interfacenumber] => 5
[flipinout] => 0
[pings] => 50
[fixed_admin_status] => 0
)
Array
(
[id] => 147
[host] => 47
[type] => 4
[sla] => 1
[client] => 2
[show_rootmap] => 1
[interface] => FastEthernet0/4
[poll] => 2
[check_status] => 1
[make_sound] => 1
[creation_date] => 1096536805
[modification_date] => 1096536821
[last_poll_date] => 1096551681
[rrd_mode] => 2
[poll_interval] => 0
[host_name] => 2900 Catalyst
[host_ip] => 192.168.1.200
[host_show] => 1
[client_name] => NetMaster Communications
[client_shortname] => NMS
[sla_description] => No SLA
[sla_threshold] => 100
[poller_group_description] => Cisco Interface
[type_description] => Physical Interfaces
[zone] => 2
[zone_name] => NetMaster Bucharest
[zone_image] => ro.png
[zone_shortname] => [graph_type] => 47
[graph_type_default] => 3
[graph_type_agg] => 0
[graph_type_description] => Packets New
[graph_type_graph1] => packets_new
[graph_type_graph1_sx] => 610
[graph_type_graph1_sy] => 170
[graph_type_graph2] => [graph_type_graph2_sx] => 0
[graph_type_graph2_sy] => 0
[description] => monitoring
[address] => [mask] => [peer] => [bandwidthin] => 128000
[bandwidthout] => 128000
[interfacenumber] => 5
[flipinout] => 0
[pings] => 50
[fixed_admin_status] => 0
)
Array ( [0] => Array ( [graph1] => Array ( [image] => i147-415c0d34c9ec2.png [type] => traffic [sx] => 500 [sy] => 150 )
[title] => 2900 CatalystFastEthernet0/4 NMS monitoring 2004-09-30 16:41:21 [aggr] => 1 [id] => 147 [host] => 47 [graph_type] => 3 [graph_description] => Traffic )
)
Array ( [3] => Traffic [4] => Utilization [5] => Packets [6] => Error Rate [7] => RTT & Packet Loss [8] => Interface Packet Loss [11] => Drops [47] => Packets New )
Array ( [0] => 3 )
Performance Trends | (stop refresh) | | | Graph Types [ all ] Time Span Time Preset
4 Sel(3) Def(3) = 0
3 Sel(3) Def(3) = 1
7 Sel(3) Def(3) = 0
47 Sel(3) Def(3) = 0
5 Sel(3) Def(3) = 0
8 Sel(3) Def(3) = 0
6 Sel(3) Def(3) = 0
11 Sel(3) Def(3) = 0
From: To: Now: 2004-09-30 16:42:12
Array ( [0] => Array ( [graph1] => Array ( [image] => i147-415c0d34c9ec2.png [type] => traffic [sx] => 500 [sy] => 150 )
[title] => 2900 CatalystFastEthernet0/4 NMS monitoring 2004-09-30 16:41:21 [aggr] => 1 [id] => 147 [host] => 47 [graph_type] => 3 [graph_description] => Traffic )
)
Array ( [graph1] => Array ( [image] => i147-415c0d34c9ec2.png [type] => traffic [sx] => 500 [sy] => 150 )
[title] => 2900 CatalystFastEthernet0/4 NMS monitoring 2004-09-30 16:41:21 [aggr] => 1 [id] => 147 [host] => 47 [graph_type] => 3 [graph_description] => Traffic )
rrd_graph() ERROR: can't parse ''
Array ( [traffic] => Array ( [ids] => Array ( [0] => 147 )
[description] => Traffic )
)
The RRDTool files for Interface ID 147 (from Host ID 47), has not been created by the Poller Process yet.
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]
I hope JFFNMS or I were helpful to you, if you can, please donate at http://jffnms.org/donate
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ jffnms-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jffnms-users