Plugin Multi-Pollerserver (Cacticluster) 0.2.2b [closed]

Announcements concerning Plugins for Cacti

Moderators: Moderators, Developers

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

Plugin Multi-Pollerserver (Cacticluster) 0.2.2b [closed]

#1 Post by der_doc » Wed May 23, 2012 4:27 am

NEWS first UPDATE befor install cacti 0.88b!
The new version 0.2.2b of the Plugin is online (for cacti 0.8.8a on unix prepaird for versions > 088a ;-) ).

Download from:
http://www.cacti-multipollerserver.de/index.php

----[ Changelog

--- 0.2.2a and b ---
-new: Backup for pollerserver.
-new: Fallback by update new cacti versions
-new: Preapaird for new Version of cacti
( by update to cacti 0.88b the polling goes back to only one poller but all settings be saved )

--- 0.2.2 ---
-new: Now the masterserver is ready for polling.
-new: Choose the devices on an listing for the pollerserver
-new: Show number of polling hosts

-fix: Tidy sourcecode
-fix: Failuremessage in pollerlog on polling (include once)

--- 0.2.1 ---
-new: update routine inserted
-fix: Error when pollerserver ist not registerd or is disabled
match small errors

--- 0.2 ---
-bug: Fix match error

--- 0.1 ---
Initial Release
################################################################

Hi community,
the pluginis now ready to download. :wink:


Download from:
http://www.cacti-multipollerserver.de/index.php

But attention i give you no warranty for currectly working in your prod system. Please test it on an testsystem. !!

The installmanual and the page are only in german (my speech) :wink:
http://www.cacti-multipollerserver.de/i ... oadbereich
My english ist not so good but i hope you can forgive me. :roll:

Author: André Leinhos
E-Mail: [email protected]
Homepage: http://www.cacti-multipollerserver.de/index.php
Version: 0.2.2
Date: 23.06.2012


The idea of this plugin is born in the middel of the year 2011. The first version are not with the features that install automatic etc.
The real reason to start are to many devices and not enough time to polling. :wink:
With the feature that you can work virtual with cacti the eventualities are nearly endless. In this year i would create an plugin that you can use the multipollerserver on your own system. The reason that the plugin is only for unix is that the filehandel over NFS in unix is very fast and uncomplicated. If in the future are give an version for windows is not sure.

Now you can create one masterserver, he handel all the installed plugins and you can make all configurations of the system.
In my installation the database is on other server and all files are on an storage and mounted with NFS on the pollerserver.
The work of the pollerserver are easy ... polle the allotted device. :wink: . The real limit of pollerserver is only the hardware. My installation is on an range of vmware servers, so i can look at the feeling of the servers an i can create an new pollerser by copy an working server and to customize it.

So now enough spoken my me. Test the plugin an tell me your impression or wishes.

Features:
  • One master take the main (plugin,configuration) work.
  • A couple of pollerserver share the polling process.
  • The Update is update ready.
  • No existing data are lost on update.
  • No existing data are lost on disable the plugin.
  • One ore more variant configuration of sever or infrastructure are possible.
  • VMWare installations are possible.
Roadmap:
  • Fix any Bugs :roll:
  • include an backup poller configuration on every pollerserver.
  • more better features i think that update the plugin
Future:
  • Cluster of mysqlserver.
  • Make the plugin ready for work on split locations.
Same Pics:

Image
Pluginmanger

Image
Installform 1

Image
Installform 2

Image
Usermanagement

Image
Pollerserver 1

Image
Pollerserver 2

Image
Pollerserver 3

Image
Logfile

Same installoptions:

Image
Option 1
Image
Option 2
Image
Option 3 (professional installation)


More informations for the old version are on the page or in this form http://forums.cacti.net/viewtopic.php?p=212942#p212942


Cu
der_doc
Last edited by der_doc on Fri Mar 06, 2015 10:45 am, edited 14 times in total.
Image
ImageImage

User avatar
gandalf
Developer
Posts: 22375
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Plugin Multi-Pollerserver 0.2.1

#2 Post by gandalf » Thu May 24, 2012 2:10 pm

Not an add-on, but a plugin. Moving
R.

prosodie
Posts: 7
Joined: Thu Feb 24, 2011 10:32 am

Re: Plugin Multi-Pollerserver 0.2.1

#3 Post by prosodie » Mon Jun 11, 2012 10:33 am

Hi der_doc,

Your plugin is exactly what i need.

Is it posssible for you to translate you installation guide in english, or to make an online version of the installation guide in order to automaticaly translate in english.

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

Re: Plugin Multi-Pollerserver 0.2.1

#4 Post by der_doc » Mon Jun 11, 2012 12:30 pm

Hi prosodie,
thanks for the information.
"I do my verry best" :wink:
Ich hope that any people with better english can help me.

I am working on an better webpage but this need any time.

cu
der_doc
Image
ImageImage

prosodie
Posts: 7
Joined: Thu Feb 24, 2011 10:32 am

Re: Plugin Multi-Pollerserver 0.2.1

#5 Post by prosodie » Tue Jun 12, 2012 6:22 am

Hi,

I installed successfully your plugin in our test platform and it works :lol: .

However, I have an suggestion:
- Add a item in the dropbox on the device list page : host.php ( to adjust the pollerserver for a list of server in one time).

Moreover i can't use the masterserver (with id= 2) to poll some devices. I see in your code that you only display poller servers with id > 2. Why this choice? and how can i use all our servers to poll device ?

Thanks.

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

Re: Plugin Multi-Pollerserver 0.2.1

#6 Post by der_doc » Sun Jun 17, 2012 1:34 pm

prosodie wrote:Hi,

I installed successfully your plugin in our test platform and it works :lol: .
You are the first user how say that the plugin is working on an other system.

Now to your suggestion :wink:
prosodie wrote: However, I have an suggestion:
- Add a item in the dropbox on the device list page : host.php ( to adjust the pollerserver for a list of server in one time).
Yes this is a feature that i will integrate in one of th next versions.
As template i will use the configuration site from the interface traffic for snmp devices.
So you can check the devices an than you choose the pollerserver.
prosodie wrote: Moreover i can't use the masterserver (with id= 2) to poll some devices. I see in your code that you only display poller servers with id > 2. Why this choice? and how can i use all our servers to poll device ?
You've got me there. :D In the first version of this tool it gives only too server (master and slave) and the master was for the plugins and the slave for polling.

In the next version you can choose all server. But note the first server is the server for all plugins. :wink:

Thans.
Image
ImageImage

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

Re: Plugin Multi-Pollerserver (Cacticluster) ver. 0.2.2

#7 Post by der_doc » Mon Jul 02, 2012 12:19 pm

Ok,
version 0.2.2 is ready for download.

@prosodie
All your wishes are in this version.

Good testing and wrote your feedback.

Cu
der_doc
Image
ImageImage

prosodie
Posts: 7
Joined: Thu Feb 24, 2011 10:32 am

Re: Plugin Multi-Pollerserver (Cacticluster) ver. 0.2.2

#8 Post by prosodie » Fri Jul 20, 2012 9:00 am

Hi,

I just upgrade your plugin to the last version (sorry for the delay, i have a lot of job :D ).

First, thanks for your work.

I have a strange result with the hostcount by poller.

I have seen that you use this sql request:
SELECT count( DISTINCT `host_id`) FROM `poller_item` WHERE `poller_id` = x;

I think it's better to use :SELECT count(`id`) FROM `host` WHERE `poller_id` = x;

With this second sql request we have the same result that with the poller log.

I have detected a bug on the page where we can choose the poller for some devices (multipollerserver.php?action=device_choose). When i use the link to the next page, it miss le parameter &action=device_choose and i fall back to the poller server list.

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

Re: Plugin Multi-Pollerserver (Cacticluster) ver. 0.2.2

#9 Post by der_doc » Sun Jul 29, 2012 4:07 am

Hi prosodie,
thanks for testing the plugin.
With the SQL-Query you are right. I change it in the next version.

On montay i will have a loock at the bug and than fix it. 8)

cu
der_doc
Image
ImageImage

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

Re: Plugin Multi-Pollerserver (Cacticluster) ver. 0.2.2

#10 Post by der_doc » Wed Aug 15, 2012 11:46 pm

Hi prosodie,
sorry for the late answer. I down know what the problem is your wrote .....
I have detected a bug on the page where we can choose the poller for some devices (multipollerserver.php?action=device_choose). When i use the link to the next page, it miss le parameter &action=device_choose and i fall back to the poller server list.
When i use the link and take a change the change would du and the screen go back to multipollerserver.php.
Is that the problem?

Than is the link after the change false.

MfG
Der_Doc
Image
ImageImage

User avatar
ritosaeba
Posts: 3
Joined: Mon Dec 26, 2011 3:38 am
Location: Jakarta, Indonesia
Contact:

Re: Plugin Multi-Pollerserver (Cacticluster) ver. 0.2.2

#11 Post by ritosaeba » Wed Sep 26, 2012 11:58 pm

Dear all,


is this plugin compatible in cacti 0.8.7g ?
Thanks and Regards,

Rito

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

Re: Plugin Multi-Pollerserver (Cacticluster) ver. 0.2.2

#12 Post by der_doc » Fri Sep 28, 2012 2:12 am

Hi ritosaeba,
no the first version to support the multipollerplugin is the unix version 0.88a.
The reason are the files for the patch.

mfg
der_doc
Image
ImageImage

mihho66
Posts: 6
Joined: Thu Jul 03, 2008 12:25 am

Re: Plugin Multi-Pollerserver (Cacticluster) ver. 0.2.2

#13 Post by mihho66 » Tue Oct 02, 2012 9:12 pm

Hi der_doc,

Does it support Boost?
Thanks!

mihho66

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

Re: Plugin Multi-Pollerserver (Cacticluster) ver. 0.2.2

#14 Post by der_doc » Sun Oct 14, 2012 2:03 pm

Hi mihho66,
i dont no. 8) i have not tested.
You can do the test an take a report.

MfG
der_doc
Image
ImageImage

User avatar
ritosaeba
Posts: 3
Joined: Mon Dec 26, 2011 3:38 am
Location: Jakarta, Indonesia
Contact:

Re: Plugin Multi-Pollerserver (Cacticluster) ver. 0.2.2

#15 Post by ritosaeba » Mon Dec 03, 2012 9:59 pm

der_doc wrote:Hi ritosaeba,
no the first version to support the multipollerplugin is the unix version 0.88a.
The reason are the files for the patch.

mfg
der_doc
Hi Der,

thank you for reply,

so, we can see the graph from master ? because now my cacti quite work hard, and I have plan to split into more server (poller). I think your plugin meet my requirement. I will try it.
Thanks and Regards,

Rito

Post Reply