Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
predou wrote:I took GD-2.23 frlom CPAN and i install it manually !
/
How about GD itself then? Is it possible that you don't actually *have* png support?
The other variation that causes a non-obvious message is if you give the BACKGROUND parameter a file that does exist but isn't a png. That will give you a wierd message.
/tmp/ccXpB9hR.o(.text+0x41): In function `main':
: undefined reference to `gdImageCreateFromPng'
/tmp/ccXpB9hR.o(.text+0x85): In function `main':
: undefined reference to `gdImageColorAllocate'
/tmp/ccXpB9hR.o(.text+0xa2): In function `main':
: undefined reference to `gdImageColorAllocate'
/tmp/ccXpB9hR.o(.text+0xbe): In function `main':
: undefined reference to `gdImageFilledRectangle'
/tmp/ccXpB9hR.o(.text+0xe7): In function `main':
: undefined reference to `gdImagePng'
/tmp/ccXpB9hR.o(.text+0x103): In function `main':
: undefined reference to `gdImageDestroy'
collect2: ld a retourné 1 code d'état d'exécution
[root@cacti tmp]# dd/mm/yyyy hh:mm" (default "now")
I noticed that the timestamp on the two entries is around 5 minutes apart. Is it possible that your poller.php takes that long to run? You can see this in the SYSTEM STATS lines in the cacti logfile.
i think that is the problem, as i see in the log file that it gets to 296 secs time exceeded, or something like that...
i cannot have cactid 0.8.6c or d run properly for some reason... i get: DB_HOSTNAME: unknown command
DB_USER: unknown command
etc and then the graphs dont get updated
any idea, or i should open this in a new topic?
oharel wrote:
any idea, or i should open this in a new topic?
Harel
Sounds like a new topic Running multiple threads in 0.8.6c definitely helps with this kind of thing. The words 'DB_HOSTNAME' or 'DB_USER' don't appear anywhere in my 0.8.6c install though, so I guess that would be coming from either a 3rd-party script that no longer works with 0.8.6c or some incorrect text in the config.php?
I noticed that the timestamp on the two entries is around 5 minutes apart. Is it possible that your poller.php takes that long to run? You can see this in the SYSTEM STATS lines in the cacti logfile.
i think that is the problem, as i see in the log file that it gets to 296 secs time exceeded, or something like that...
i cannot have cactid 0.8.6c or d run properly for some reason... i get: DB_HOSTNAME: unknown command
DB_USER: unknown command
etc and then the graphs dont get updated
any idea, or i should open this in a new topic?
Harel
fix your cacti.conf file those are the typical values that need to be configured on install or new version.
thanks folks... as it is a new topic, i will open one if i still need, after having looked carefully at your answers
now, to another issue directly related to weathermap:
as my map gets a little crowded, i am trying to increase the size of the backround, so i can spread more nodes on it. however, it seems that the map stays on the top right corner of the screen, and the icons are very very small.
how do i rescale the icons so that they are bigger?
i want in fact to be able to scroll the screen up and down and sideways if necessary, instead of seeing the whole map at once on the screen...
oharel wrote:
how do i rescale the icons so that they are bigger?
i want in fact to be able to scroll the screen up and down and sideways if necessary, instead of seeing the whole map at once on the screen...
The icons shouldn't get smaller... that sounds like your browser is auto-scaling the image. Is this using the HTML generated by weathermap, or just by viewing the image in the browser? At least IE and FireFox will scale the image to fit the window, which would do what you describe - on IE, click on the funny orange square that appears if you hover the mouse over the bottom right corner of the image.
dang i am so lost. get that "Can't locate loadable object for module RRDs in @INC " error
so i have gone back to redo rrd with shared perl install and get this error
make[3]: Entering directory `/home/cacti-install/rrdtool-1.0.49/perl-shared'
make[3]: *** No rule to make target `/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE/EXTERN.h', needed by `RRDs.o'. Stop.
make[3]: Leaving directory `/home/cacti-install/rrdtool-1.0.49/perl-shared'
i know this isnt about that but if anyone has any ideas i sure would appreciate it. i really want to get this working.
LINK mars-evx
NODES marseille evreux
TARGET data/wea_routeur_marseille_traffic_in_106.html
BANDWITH 512000
BANDWIDTH has a D in it (mars-evx link). The default is zero when there is no setting. In the PHP version, I've made the default is 10K to avoid this one. It's useful to not have to specify bandwidths when you are first laying out the map.