Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Ver 0.92 errors

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
rothchild



Joined: 22 Jan 2007
Posts: 18
Location: Illinois - USA

PostPosted: Thu Jun 07, 2007 7:04 am    Post subject: Ver 0.92 errors Reply with quote

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.
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2059
Location: United Kingdom

PostPosted: Thu Jun 07, 2007 8:12 am    Post subject: Re: Ver 0.92 errors Reply with quote

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'?
Back to top
rothchild



Joined: 22 Jan 2007
Posts: 18
Location: Illinois - USA

PostPosted: Thu Jun 07, 2007 8:18 am    Post subject: Reply with quote

Yes, that took care of the error. Thanks !
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2059
Location: United Kingdom

PostPosted: Thu Jun 07, 2007 9:05 am    Post subject: Reply with quote

That's interesting. It shouldn't have accepted the KEYPOS line in the first place. I'll look into that.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group