Search found 9 matches

by ldrolez
Thu Apr 10, 2008 7:38 am
Forum: Help: General
Topic: Scaling Problems and using/forcing Decimals on Y-Axis
Replies: 21
Views: 7105

To have the same effect, I've added to '-Y' option (or --alt-y-grid) to the "$graph_opts .= " line in lib/rrd.php.

Maybe support for activating this option could be added for next releases ?

Ludo.
by ldrolez
Wed Mar 12, 2008 11:41 am
Forum: Addons for Cacti
Topic: Master / Slave(s) patch for Cacti 0.8.7b
Replies: 28
Views: 35597

Yes it should work :-?
I only tested with one slave...
by ldrolez
Wed Mar 12, 2008 6:16 am
Forum: Addons for Cacti
Topic: Master / Slave(s) patch for Cacti 0.8.7b
Replies: 28
Views: 35597

Hi !

The rrd files are on the 'master' Cacti server (as well as the database).

Since boost uses its own custom poller, I don't think that it would work. Anyway, my hack should also improve the performance, since polling scripts can be distributed on several hosts :-)

Cheers,

Ludovic.
by ldrolez
Thu Feb 21, 2008 9:26 am
Forum: Feature Requests
Topic: New Cacti Architecture (0.8.8) - RFC Response Location
Replies: 75
Views: 155458

master/slaves cacti patch

Hi !

Here's my small patch for Cacti 0.8.7b that implements a master/slaves arch:

http://forums.cacti.net/viewtopic.php?p=127122

It modifies only poller.php. The slaves send data by inserting poller_output lines in the master database using TCP port 3306.

Cheers,

Ludo.
by ldrolez
Thu Feb 21, 2008 9:21 am
Forum: Help: General
Topic: Distributed Cacti - Ideas
Replies: 51
Views: 43946

Hi !

Here's my small patch for Cacti 0.8.7b that implements a master/slaves arch:

http://forums.cacti.net/viewtopic.php?p=127122

Cheers,

Ludo.
by ldrolez
Thu Feb 21, 2008 9:16 am
Forum: Addons for Cacti
Topic: Master / Slave(s) patch for Cacti 0.8.7b
Replies: 28
Views: 35597

Updated poller.php

Hi ! I've fixed the 'slaves must be last' bug. However, please note that the slaves should not run 'poller.php --slave', before the master, because the "poller_output" table would be cleared by the master. So here is my crontab entry: */5 * * * * sleep 20;php /home/cacti-0.8.7b/poller.php ...
by ldrolez
Wed Feb 20, 2008 11:29 am
Forum: Addons for Cacti
Topic: Master / Slave(s) patch for Cacti 0.8.7b
Replies: 28
Views: 35597

Update: It seems to work better if the slave pollers are the last ones to run... Still investigating... (add a sleep 60 in your slave cron jobs).
by ldrolez
Wed Feb 20, 2008 10:26 am
Forum: Addons for Cacti
Topic: Master / Slave(s) patch for Cacti 0.8.7b
Replies: 28
Views: 35597

Master / Slave(s) patch for Cacti 0.8.7b

Hi ! Here's my simple modification to have a master / slave architecture. Just replace the original poller.php with the one below and: 1- install cacti on slave servers without the DB setup. Install the new poller.php also. 2- configure cacti to use the existing master mysql server. (and set-up mysq...
by ldrolez
Mon Nov 12, 2007 8:31 am
Forum: Help: Linux/Unix Specific
Topic: cacti 0.8.7: RH4 problem with logins containing a dash ?
Replies: 2
Views: 1280

cacti 0.8.7: RH4 problem with logins containing a dash ?

Hi ! My cacti is connected to an AD, and when users containing a dash are imported from the AD, I cannot modify them with "user management". To fix this problem, I had to add a dash in the validation RE in user_admin.php: $save["username"] = form_input_validate(get_request_var_po...