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    


Master / Slave(s) patch for Cacti 0.8.7b
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti
Author Message
Frizz
Cacti User


Joined: 05 Mar 2005
Posts: 75
Location: Herne Germany

PostPosted: Fri Sep 12, 2008 4:40 pm    Post subject: Reply with quote

TheWitness wrote:
I'm trying to free up some of my rare personal time these days, evident by my absence on the forums, to remove the fundamental issues that prevent us from doing the remote pollers.

I have given this topic so much thought, I need to do the development, so I can make some room in my brain for other things

TheWitness


Take all the time you need, to achieve this milestone in the Cacti architecture.
Let's have a talk about your ideas at the 3.CCC.eu (via Skype) at the 11.october 2008.
We're all very curious.
regards
-Frizz
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Sat Sep 13, 2008 8:30 am    Post subject: Reply with quote

Now that I have done some real large install's, I have found a dozen or so things that must change for the larger installs. Those changes should come first as they drive me absolutely nuts.

Larry
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Sat Sep 13, 2008 8:56 am    Post subject: Reply with quote

And Here they are, note quite a dozen, but again, they drive me nuts.

I have a few more to upload. I will have them uploaded in a minute.

Larry



Devices1.jpg
 Description:
Take all the links and Tabify them. No host filter required here. Allow plugin developers to add tabs.
 Filesize:  103.61 KB
 Viewed:  2003 Time(s)

Devices1.jpg



DataSources2.jpg
 Description:
Ditto on the Host dropdown again.
 Filesize:  105.93 KB
 Viewed:  2003 Time(s)

DataSources2.jpg



DataSources1.jpg
 Description:
Ditto on the Host dropdown again.
 Filesize:  108.96 KB
 Viewed:  2003 Time(s)

DataSources1.jpg



Graphs2.jpg
 Description:
This one is VERY annoying when you have more than 100k Data Sources. I suggest a "View Mode" vs. "Edit Mode" or Ajax callbacks again.
 Filesize:  128.78 KB
 Viewed:  2003 Time(s)

Graphs2.jpg



Graphs1.jpg
 Description:
Ditto here.
 Filesize:  91.91 KB
 Viewed:  2003 Time(s)

Graphs1.jpg



NewGraphs.jpg
 Description:
On this page, we need to either remove the Hosts dropdown, or make it an Ajax callback.
 Filesize:  89.73 KB
 Viewed:  2003 Time(s)

NewGraphs.jpg


Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Sat Sep 13, 2008 9:09 am    Post subject: Reply with quote

Here are a few more. More likely Aggregate users get bombed with this one.

Larry



NewGraphs3.jpg
 Description:
Almost the worst. Well there are two in this class.
 Filesize:  107.69 KB
 Viewed:  1999 Time(s)

NewGraphs3.jpg



NewGraphs2.jpg
 Description:
Another Host dropdown.
 Filesize:  68.48 KB
 Viewed:  1999 Time(s)

NewGraphs2.jpg


Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 978
Location: B/CS Texas

PostPosted: Sat Sep 20, 2008 2:12 am    Post subject: Reply with quote

As far as the Multiple Poller, the single thing that needs to be fixed in Cacti, is we need to move from telling spine or cmd.php from using polling hosts 1-5 to a system that allows comma delimited hosts also. This way we could say 1-2,4-5 or 1,2,4,5 and have host 3 polled by a different process or poller.

Simple enough really, then my plugin would work without too much trouble. I have attached it, still needs lots of work (like an interface to manage the pollers) as I didn't see any point in finishing it without the above changes in Cacti being made first.



multipoller.zip
 Description:

Download
 Filename:  multipoller.zip
 Filesize:  11.76 KB
 Downloaded:  61 Time(s)

Back to top
Linegod
Developer


Joined: 20 Feb 2003
Posts: 543
Location: Canada

PostPosted: Sat Sep 20, 2008 8:58 am    Post subject: Reply with quote

cigamit wrote:
move from telling spine or cmd.php from using polling hosts 1-5 to a system that allows comma delimited hosts also. This way we could say 1-2,4-5 or 1,2,4,5 and have host 3 polled by a different process or poller.


Was that on the roadmap, or not?
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Sat Sep 20, 2008 2:31 pm    Post subject: Reply with quote

My plan was to add a poller_id field to each host, and do it that way. That design is a bit dated, 4+ years ago.

TheWitness
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 978
Location: B/CS Texas

PostPosted: Sun Sep 21, 2008 9:05 pm    Post subject: Reply with quote

My plugin does use a poller_id, but moving to multi-range approach also allows a plugin to be built that can push larger hosts off to their own process, which is something we did discuss before I believe.
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Mon Sep 22, 2008 8:11 am    Post subject: Reply with quote

Ah, in 0.8.7c, I refer to this as process leveling I think. Need to update the documentation. However, it is controlled by host range again. We are just smarter about what that host range is though.

In hindsignt, we should be measuring performance of all the poller items and hosts to do this better though I think.

Larry
Back to top
driden91



Joined: 20 Jan 2006
Posts: 43

PostPosted: Mon Sep 29, 2008 9:29 am    Post subject: Reply with quote

hello

With this patch it's possible in exemple to have 300 hosts on the master and 300 hosts on the slave and see all hosts on one cacti interfaces ?

make a load-balancing in fact.
Back to top
driden91



Joined: 20 Jan 2006
Posts: 43

PostPosted: Mon Oct 06, 2008 9:17 am    Post subject: Reply with quote

hello

any idea ?

regards
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Mon Oct 06, 2008 7:09 pm    Post subject: Reply with quote

It would not be officially supported even if it did work.

TheWitness
Back to top
driden91



Joined: 20 Jan 2006
Posts: 43

PostPosted: Tue Oct 07, 2008 4:42 am    Post subject: Reply with quote

TheWitness wrote:
It would not be officially supported even if it did work.

TheWitness


hello, thank for the reply.

So what solution exists to do this?

thank in advance
Back to top
TheWitness
Developer


Joined: 14 May 2002
Posts: 9736
Location: MI, USA

PostPosted: Tue Oct 07, 2008 6:07 am    Post subject: Reply with quote

Before, I can start on any new features, the 0.8.7c release needs to be done.

TheWitness
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 



Powered by phpBB © 2001, 2005 phpBB Group