Multipoller with Spine and Cacti

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Moderators, Developers

Author
Message
c3226026
Cacti User
Posts: 87
Joined: Mon Jan 17, 2011 12:15 pm

Re: Multipoller with Spine and Cacti

#16 Post by c3226026 » Sat Jul 09, 2011 2:42 pm

gandalf wrote:There are no plans for "interleaved" polling, as far as I do understand your request. But you may want to explain why and how this would help ...
R.
Sorry for my later answer (and my bad english), in fact my request is in for an HA (active/active) cacti architecture.

poller server id is a wonderfull idea because you can put some poller on differents sites but with an central database, but in the case of an HA cacti architecure when you lose a poller server you lose also all devices polling on this poller.

My idea (perhaps not a good idea) it's to use poller server id but with an "interleaved" polling beetwen poller server, I explain my request, in the case where there are two poller servers (by site or by OS device for example),

two poller servers id with "interleaved" polling can poll the same servers but with an interleaved polling (so no risk to have same data on the same time in the database (because the interlaved), with it you can also done load balancing (I think in this case it's a good idea), but if you lose a poller server you have always the second, so you don't lose device polling.

And in this case you can also have more data on graph (because you can have twice with the interleave, but perhaps there is a better solution to do that.

but in all cases server polling id is a good way to done (fail-over) architecture.

I hope it's clear, but if it's not, I can try to explain more.

c3226026
Cacti User
Posts: 87
Joined: Mon Jan 17, 2011 12:15 pm

Re: Multipoller with Spine and Cacti

#17 Post by c3226026 » Sun Dec 18, 2011 3:03 pm

Hello,

any news about it ? I wanted to test it on 0.8.7i to see

Thanks in advanced.

imriz
Posts: 4
Joined: Tue Jan 03, 2012 4:56 am

Re: Multipoller with Spine and Cacti

#18 Post by imriz » Tue Jan 03, 2012 5:37 am

der_doc wrote:Hi,
after a lot off time and one more coffee :lol: is the result on really good working Cacticluster.
The Cluster is composed of 5 Linux VMWare Ubuntu 10.04 LST 64Bit machines.
The hardware basis are 2 IBM Blades (HS21 with 8 Core CPU an 16 GB Ram)
The storage is an Netapp storage. On this storage are the folloing folders are connected with nfs.
- all VMwares
- rrdfiles
- cactifiles
- cactilog
The installation is Cacti/Spine 0.87g PluginA 2.8 Pollerserver Plugin (from Der_Doc) and php 5.3 :wink:
In this version the pollerserver selection is directly edit in the file host.php. I dont know how i put a dropbox in the
host.php with the plugin. I hope an cactiuser can help me.

The pollerplugin is for the configuration of the pollers.
The databasechanges are not so havey.

Table
poller_server --> for the pollerserver infos
host --> poller_id on the end off the table.

The other files how i change are poller.php , /lib/api_poller.php and /lib/poller.php :oops:
Config of the 5 VMs
1. cmaster - is for the config, show graphs and poll plugins.
2. cmysql - is the mysqlserver for cacti (i the next step i will test an mysqlcluster)
3. poller1 - is the first poller (54 Hosts)
4. poller2 - is the second poller (114 Hosts)
5. poller3 - is the testpoller for me :P

I dont know how match interest is in the community.
So I can post screenshots.

Sorry for the english Iam from germany. 8)
Cacti rockt :wink:

Same pics:
cacti1.gif
cacti2.gif
cacti3.gif
cacti4.gif
MfG
Der_Doc
This is a must have feature in cacti...
I would love seeing the code for that - can you post it?
The only thing I would change, is to have an automatic distribution of the hosts between pollers.
This can be easily done periodically, or as a pre/post poller hook - if you post the code, I might be able to contribute said feature :)


Thanks,

der_doc
Cacti User
Posts: 51
Joined: Mon Jul 24, 2006 7:20 am
Location: Braunschweig, Germany

Re: Multipoller with Spine and Cacti

#19 Post by der_doc » Wed Apr 04, 2012 1:08 pm

Hi,
my holiday has now end. :lol:
I will tray my plugin in the Version 0.8.8
But this project starts after ester.

@gandalf
i will try that you get the diff files.

MfG
Der_Doc
Image
ImageImage

der_doc
Cacti User
Posts: 51
Joined: Mon Jul 24, 2006 7:20 am
Location: Braunschweig, Germany

Re: Multipoller with Spine and Cacti

#20 Post by der_doc » Wed May 23, 2012 4:47 am

OK the final version is out.
Multi-Pollerserver is in version 0.2.1 for cacti 0.8.8a for unix

http://forums.cacti.net/viewtopic.php?p=230447#p230447
or
http://cacti-multipollerserver.beepworld.de/index.htm (page in german)

MfG
der_doc
Image
ImageImage

cdeveloper
Posts: 4
Joined: Tue Jun 27, 2017 1:14 am

Re: Multipoller with Spine and Cacti

#21 Post by cdeveloper » Tue Aug 22, 2017 2:04 am

Hi all,

I am using cacti server 0.8.8h. I configured cacti multi poller plugin (0.8.8h) on cacti server.after configuring I added remote poller, that poller added successfully but does not work only a local poller work. please help me out
Attachments
cacti_multi_poller.png
cacti_multi_poller.png (60.72 KiB) Viewed 278 times

Post Reply