rrdtool 1.3.6
php weathermap 0.96a
cronjob line
Code: Select all
*/5 * * * * monitor export LC_NUMERIC=C; /usr/bin/php /var/www/html/cacti/poller.php > /var/www/html/cacti/log/poller.log 2>&1
Here is the conf file05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:359] [Map 3] major-sites-vpn.conf: RRD ReadData: traditional style
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:399] [Map 3] major-sites-vpn.conf: RRD ReadData: Running: /usr/local/rrdtool-1.3.6/bin/rrdtool fetch /var/www/html/cacti/rra/15/251.rrd AVERAGE --start now-800 --end now
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:427] [Map 3] major-sites-vpn.conf: RRD ReadData: Read 5 lines from rrdtool
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:428] [Map 3] major-sites-vpn.conf: RRD ReadData: Headings are: ifTunnelDelay t_traffic_out t_traffic_in
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] WARNING: [Map 3] major-sites-vpn.conf: RRD ReadData: At least one of your DS names (traffic_in and traffic_out) were not found, even though there was a valid data line. Maybe they are wrong? Valid DS names in this file are: ifTunnelDelay,t_traffic_out,t_traffic_in, [WMRRD06]
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] DEBUG: [wmrrd_read_from_real_rrdtool@WeatherMapDataSource_rrd.php:492] [Map 3] major-sites-vpn.conf: RRD ReadDataFromRealRRD: Returning (NULL,NULL,0)
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:641] [Map 3] major-sites-vpn.conf: RRD ReadData: Returning (NULL,NULL,0)
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] WARNING: [Map 3] major-sites-vpn.conf: ReadData: LINK ZML-ZCH, target: /var/www/html/cacti/rra/15/251.rrd on config line 110 had no valid data, according to WeatherMapDataSource_rrd
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:824] [Map 3] major-sites-vpn.conf: Aggregate so far: 0 0
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:837] [Map 3] major-sites-vpn.conf: ReadData complete for LINK ZML-ZCH: 0 0
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:898] [Map 3] major-sites-vpn.conf: ReadData: Setting 0,0
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:728] [Map 3] major-sites-vpn.conf:
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:729] [Map 3] major-sites-vpn.conf: ReadData for LINK ZCO-ZMA:
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:737] [Map 3] major-sites-vpn.conf: ReadData: New Target: /var/www/html/cacti/rra/20/360.rrd
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] DEBUG: [ReadData@Weathermap.class.php:781] [Map 3] major-sites-vpn.conf: ReadData: Matched for WeatherMapDataSource_rrd. Calling WeatherMapDataSource_rrd->ReadData()
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:553] [Map 3] major-sites-vpn.conf: SCALING result by 8
05/21/2009 07:36:25 AM - WEATHERMAP: Poller[0] DEBUG: [ReadData@WeatherMapDataSource_rrd.php:611] [Map 3] major-sites-vpn.conf: RRD ReadData: Target DS names are traffic_in and traffic_out
Code: Select all
# Automatically generated by php-weathermap v0.96a
FONTDEFINE 100 docs/example/Vera.ttf 10
BACKGROUND images/bw_gradient_1024.png
WIDTH 950
HEIGHT 625
HTMLSTYLE overlib
KEYFONT 100
TITLE test
TIMEPOS 746 17 Created: %b %d %Y %H:%M:%S
KEYPOS DEFAULT 10 11 Traffic Load
KEYTEXTCOLOR 0 0 0
KEYOUTLINECOLOR 0 0 0
KEYBGCOLOR 255 255 255
BGCOLOR 255 255 255
TITLECOLOR 0 0 0
TIMECOLOR 0 0 0
SCALE DEFAULT 0 0 192 192 192
SCALE DEFAULT 0 1 255 255 255
SCALE DEFAULT 1 10 140 0 255
SCALE DEFAULT 10 25 32 32 255
SCALE DEFAULT 25 40 0 192 255
SCALE DEFAULT 40 55 0 240 0
SCALE DEFAULT 55 70 240 240 0
SCALE DEFAULT 70 85 255 192 0
SCALE DEFAULT 85 100 255 0 0
SET nowarn_clipping 1
# End of global section
# TEMPLATE-only NODEs:
NODE DEFAULT
LABELFONT 100
MAXVALUE 100
# TEMPLATE-only LINKs:
LINK DEFAULT
WIDTH 5
BWFONT 100
COMMENTFONT 100
BWLABEL bits
BANDWIDTH 1M
# regular NODEs:
NODE ZMA
LABEL ZMA
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=245
OVERLIBGRAPH /cacti/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=245
ICON images/Firewall.png
POSITION 649 242
NODE ZML
LABEL ZML
INFOURL http://zml-rrd/cacti/plugins/weathermap/weathermap-cacti-plugin.php?action=viewmap&id=7bb554104a45100e77f4
OVERLIBGRAPH /cacti/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=284
ICON images/Firewall.png
POSITION 360 240
NODE ZCO
LABEL ZCO
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=356
OVERLIBGRAPH /cacti/graph_image.php?rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300&local_graph_id=356
ICON images/Firewall.png
POSITION 360 445
NODE ZCH
LABEL ZCH
ICON images/Firewall.png
POSITION 645 445
# regular LINKs:
LINK node1-node2
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=249
OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=249&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
TARGET /var/www/html/cacti/rra/13/208.rrd
NODES ZMA ZML
BANDWIDTH 45M
LINK ZML-ZCO
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=374
OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=374&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
TARGET /var/www/html/cacti/rra/20/353.rrd
NODES ZML ZCO
BANDWIDTH 15M
LINK ZCO-ZCH
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=375
OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=375&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
TARGET /var/www/html/cacti/rra/20/354.rrd
NODES ZCO ZCH
BANDWIDTH 10M
LINK ZMA-ZCH
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=247
OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=247&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
TARGET /var/www/html/cacti/rra/13/206.rrd
NODES ZMA ZCH
BANDWIDTH 10M
LINK ZML-ZCH
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=292
OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=292&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
TARGET /var/www/html/cacti/rra/15/251.rrd
NODES ZML ZCH
BANDWIDTH 10M
LINK ZCO-ZMA
INFOURL /cacti/graph.php?rra_id=all&local_graph_id=381
OVERLIBGRAPH /cacti/graph_image.php?local_graph_id=381&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
TARGET /var/www/html/cacti/rra/20/360.rrd
NODES ZCO ZMA
BANDWIDTH 45M
# That's All Folks!