Ver 0.92 errors

Support questions about the Network Weather Map plugin

Moderators: Developers, Moderators

Post Reply
rothchild
Posts: 18
Joined: Mon Jan 22, 2007 4:41 pm
Location: Illinois - USA

Ver 0.92 errors

Post by rothchild »

I upgraded to 0.92 and am getting the following errors when trying to create a map in the web editor using multiple scales.

Notice: Undefined index: cactiupdown in /var/www/html/plugins/weathermap/Weathermap.class.php on line 4474

Notice: Undefined index: cactiupdown in /var/www/html/plugins/weathermap/Weathermap.class.php on line 4477

Notice: Undefined index: cactiupdown in /var/www/html/plugins/weathermap/Weathermap.class.php on line 4477

Notice: Undefined index: cactiupdown in /var/www/html/plugins/weathermap/Weathermap.class.php on line 4477



Here is the weathermap config creating this error:

# Automatically generated by php-weathermap v0.92

WIDTH 800
HEIGHT 600


TITLE Blair

KEYPOS DEFAULT -1 -1 Traffic Load
KEYTEXTCOLOR 0 0 0
KEYBGCOLOR 255 255 255
BGCOLOR 255 255 255
TITLECOLOR 0 0 0
TIMECOLOR 0 0 0
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

KEYPOS cactiupdown
SCALE cactiupdown 0 0.5 192 192 192
SCALE cactiupdown 0.5 1.5 255 0 0
SCALE cactiupdown 1.5 2.5 0 0 255
SCALE cactiupdown 2.5 3.5 0 255 0


# End of global section

# DEFAULT definitions:
NODE DEFAULT
MAXVALUE 100

LINK DEFAULT
BANDWIDTH 100M


# End of DEFAULTS section

# Node definitions:
NODE node1181216352
LABEL BLAIR
ICON images/building.png
TARGET cactihost:492 cactihost:493 cactihost:494
USESCALE cactiupdown in
POSITION 227 279

NODE node1181216465
LABEL McAfee
ICON images/building.png
POSITION 527 280


# End of NODE section

# Link definitions:
LINK node1181216352-node1181216465
INFOURL /graph.php?rra_id=all&local_graph_id=431
OVERLIBGRAPH /graph_image.php?local_graph_id=431&rra_id=0&graph_nolegend=true&graph_height=100&graph_width=300
TARGET /var/www/html/rra/mcafee_distr_traffic_in_434.rrd
NODES node1181216352 node1181216465
BANDWIDTH 1000M


# End of LINK section

# That's All Folks!

and here is my system (ignore the ver 0.91 weathermap, I havent dwnlded the fixed ver with the correct cacti plugin reporting )

quote]Cacti Version - 0.8.6i
Plugin Architecture - 1.0
Poller Type - Cactid v0.8.6i
Server Info - Linux 2.6.9-55.EL
Web Server - Apache/2.0.52 (CentOS)
PHP - 4.3.9
PHP Extensions - yp, xml, wddx, tokenizer, sysvshm, sysvsem, standard, sockets, shmop, session, pspell, posix, pcre, overload, mime_magic, iconv, gmp, gettext, ftp, exif, dio, dbx, dba, curl, ctype, calendar, bz2, bcmath, zlib, openssl, apache2handler, gd, mysql, snmp, eAccelerator
MySQL - 4.1.20
RRDTool - 1.2.15
SNMP - 5.1.2
Plugins
  • PHP Network Weathermap (weathermap - v0.91)
    Thresholds (thold - v0.3.0)
    Device Monitoring (monitor - v0.7)
    Network Discovery (discovery - v0.7)
    Network Tools (tools - v0.2)
    Syslog Monitoring (haloe - v0.4)
    mactrack
    RRD Cleaner (rrdclean - v1.1)
    Update Checker (update - v0.3)
    FlowView (flowview - v0.3)
    Host Info (hostinfo - v0.1)
    Error Images (errorimage - v0.1)
[/quote]

As always, thanks for the help.
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Re: Ver 0.92 errors

Post by Howie »

rothchild wrote: KEYPOS cactiupdown
Well, that line is wrong (it should have coordinates after the name), but I don't see why that would cause the errors you are seeing.

Actually, the line number is to do with writing out KEYPOS lines, so maybe they are related. Try changing it to something like 'KEYPOS cactiupdown -1 -1'?
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
rothchild
Posts: 18
Joined: Mon Jan 22, 2007 4:41 pm
Location: Illinois - USA

Post by rothchild »

Yes, that took care of the error. Thanks !
User avatar
Howie
Cacti Guru User
Posts: 5508
Joined: Thu Sep 16, 2004 5:53 am
Location: United Kingdom
Contact:

Post by Howie »

That's interesting. It shouldn't have accepted the KEYPOS line in the first place. I'll look into that.
Weathermap 0.98a is out! & QuickTree 1.0. Superlinks is over there now (and built-in to Cacti 1.x).
Some Other Cacti tweaks, including strip-graphs, icons and snmp/netflow stuff.
(Let me know if you have UK DevOps or Network Ops opportunities, too!)
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests