Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Mar 24, 2017 12:48 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 50 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Plugin Multi-Pollerserver (Cacticluster) ver. 0.2.2
PostPosted: Tue Dec 04, 2012 11:48 am 
Offline
Cacti User

Joined: Mon Jul 24, 2006 7:20 am
Posts: 50
Location: Braunschweig, Germany
Hi ritosaeba,
when your cacti work hard than is this plugin that what you whant. :wink:
The plugin is the resulting because the monitored devices are many many many :P

Iam waiting for your mind.

MfG
Der_Doc

_________________
Image
ImageImage


Top
 Profile  
 
 Post subject: Re: Plugin Multi-Pollerserver (Cacticluster) ver. 0.2.2b
PostPosted: Wed Jun 19, 2013 12:58 pm 
Offline
Cacti User

Joined: Mon Jul 24, 2006 7:20 am
Posts: 50
Location: Braunschweig, Germany
Ok have fun at testing.

_________________
Image
ImageImage


Top
 Profile  
 
 Post subject: Re: Plugin Multi-Pollerserver (Cacticluster) ver. 0.2.2b
PostPosted: Thu Aug 01, 2013 8:08 am 
Offline

Joined: Mon Aug 08, 2011 4:04 am
Posts: 27
Hi all!

First, I want to thank you for sharing your work with us, as I was planning to do something similar with my cacti (which is becoming to big to complete the polling in 5 minutes)

I am just starting with your plugin but I had an issue after installing the plugin, the tables "host" and "poller_server" where not modified / created right, I had to add these requests to make something appear on the configuration page (http://my_server/cacti/plugins/multipol ... server.php) :
ALTER TABLE poller_server ADD hostcount INT(5) NULL DEFAULT '0' AFTER aktive;
ALTER TABLE poller_server ADD backup_poller_id INT(3) NULL DEFAULT '0';
ALTER TABLE poller_server ADD backup_mode INT(1) NULL DEFAULT '0';
ALTER TABLE host ADD backup_poller_id INT(3) NULL DEFAULT '0';

I will let you know how things go from now.


Top
 Profile  
 
 Post subject: Re: Plugin Multi-Pollerserver (Cacticluster) ver. 0.2.2b
PostPosted: Wed Aug 14, 2013 8:33 am 
Offline

Joined: Tue Nov 09, 2010 4:48 am
Posts: 11
Location: Cracow
npeltier wrote:
Hi all!

First, I want to thank you for sharing your work with us, as I was planning to do something similar with my cacti (which is becoming to big to complete the polling in 5 minutes)

I am just starting with your plugin but I had an issue after installing the plugin, the tables "host" and "poller_server" where not modified / created right, I had to add these requests to make something appear on the configuration page (http://my_server/cacti/plugins/multipollerserver/multipollerserver.php) :
ALTER TABLE poller_server ADD hostcount INT(5) NULL DEFAULT '0' AFTER aktive;
ALTER TABLE poller_server ADD backup_poller_id INT(3) NULL DEFAULT '0';
ALTER TABLE poller_server ADD backup_mode INT(1) NULL DEFAULT '0';
ALTER TABLE host ADD backup_poller_id INT(3) NULL DEFAULT '0';

I will let you know how things go from now.


Hello,

I have got exactly same problem. I have create in table poller_server as above but still i have problem with backup_server_name.

In log i have:
08/14/2013 03:04:03 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed!, Error:'1054', SQL:"SELECT poller_server.id, poller_server.name AS server_name, poller_server.hostname, poller_server.backup_poller_id, poller_server.poller_lastrun, poller_server.hostcount, poller_server.aktive FROM poller_server where (poller_server.name like '%%%%') ORDER BY backup_server_name ASC LIMIT 40,40"

Execute this in mysql:
Code:
mysql> SELECT DISTINCT  host.id,  host.description AS device_name,  host.hostname,  host.poller_id  FROM host  INNER JOIN `poller_item` ON  `poller_item`.`host_id` = `host`.`id`  where (host.description like '%%%%')  ORDER BY backup_server_name ASC LIMIT 40,40;
ERROR 1054 (42S22): Unknown column 'backup_server_name' in 'order clause'



What parameters i should use to create column backup_server_name?

Cacti 0.8.8a.

Thanks for your advice.


Top
 Profile  
 
 Post subject: Re: Plugin Multi-Pollerserver (Cacticluster) 0.2.2b reupload
PostPosted: Sat Aug 24, 2013 6:48 am 
Offline
Cacti User

Joined: Mon Jul 24, 2006 7:20 am
Posts: 50
Location: Braunschweig, Germany
Hi boys,

sorry for the long delay. I dont now what you mean :(
My english is not so support fine. But i will trai to help you.

Can everyone you run this commands in phpmyadmin with no errors?

Code:
ALTER TABLE poller_server ADD hostcount INT(5) NULL DEFAULT '0' AFTER aktive;
ALTER TABLE poller_server ADD backup_poller_id INT(3) NULL DEFAULT '0';
ALTER TABLE poller_server ADD backup_mode INT(1) NULL DEFAULT '0';
ALTER TABLE host ADD backup_poller_id INT(3) NULL DEFAULT '0';


You must use the tar.gz files from cactipage for run the plugin.

Pleace let me know the results.

_________________
Image
ImageImage


Top
 Profile  
 
 Post subject: Re: Plugin Multi-Pollerserver (Cacticluster) 0.2.2b reupload
PostPosted: Tue Sep 10, 2013 5:19 am 
Offline

Joined: Mon Aug 08, 2011 4:04 am
Posts: 27
Yes it works (i tried installing a new cacti, latest version, and latest multi-poller)
With these commands it's better (for the cacti interface at least)
I still don't know how to make the polling work on the secondary poller servers (the first one always work but not the others)


Top
 Profile  
 
 Post subject: Re: Plugin Multi-Pollerserver (Cacticluster) 0.2.2b reupload
PostPosted: Thu Sep 12, 2013 3:02 am 
Offline
Cacti User

Joined: Mon Jul 24, 2006 7:20 am
Posts: 50
Location: Braunschweig, Germany
After my holiday, iam in danmark the weter is perfect 8) i will post the report ho you can poll on other pollers.

cu der_doc

_________________
Image
ImageImage


Top
 Profile  
 
 Post subject: Re: Plugin Multi-Pollerserver (Cacticluster) 0.2.2b reupload
PostPosted: Fri Sep 13, 2013 4:34 am 
Offline

Joined: Tue Nov 09, 2010 4:48 am
Posts: 11
Location: Cracow
Hello,

Thank you for your response. I gave up using the plugin because of having lost already collected data.

Thank you.


Top
 Profile  
 
 Post subject: Re: Plugin Multi-Pollerserver (Cacticluster) 0.2.2b reupload
PostPosted: Fri Sep 20, 2013 12:40 am 
Offline

Joined: Mon Aug 08, 2011 4:04 am
Posts: 27
Hey der_doc!

Just wondering if you're planning on going back to work ... In the next few days, weeks or months ?

Enjoy whatever's left of it anyway !


Top
 Profile  
 
 Post subject: Re: Plugin Multi-Pollerserver (Cacticluster) 0.2.2b reupload
PostPosted: Thu Oct 03, 2013 3:40 am 
Offline

Joined: Mon Jun 13, 2011 11:20 pm
Posts: 24
Hello Der_Doc

Simple question

What should I configure in a pollerserver? I have configured only spine with spine.conf , with mysql line to masterserver cacti mysql.
Multipoller plugins config installed correctly in the masterserver (cacti 0.8.8a). Database updated, also adding pollerserver works.(Choose Device, dropdown etc).

But the pollerserver not poll anything, I've make sure snmpwalk manually works.
Only masterserver always do the polling process.
I hope I explained it clearly.

Thanks.


Top
 Profile  
 
 Post subject: Re: Plugin Multi-Pollerserver (Cacticluster) 0.2.2b reupload
PostPosted: Mon Oct 07, 2013 12:20 am 
Offline

Joined: Mon Jun 13, 2011 11:20 pm
Posts: 24
optimuscream wrote:
Hello Der_Doc

Simple question

What should I configure in a pollerserver? I have configured only spine with spine.conf , with mysql line to masterserver cacti mysql.
Multipoller plugins config installed correctly in the masterserver (cacti 0.8.8a). Database updated, also adding pollerserver works.(Choose Device, dropdown etc).

But the pollerserver not poll anything, I've make sure snmpwalk manually works.
Only masterserver always do the polling process.
I hope I explained it clearly.

Thanks.


I make it works. At first I thought NFS is not necessary but obviously needed.
Thanks.


Top
 Profile  
 
 Post subject: Re: Plugin Multi-Pollerserver (Cacticluster) 0.2.2b reupload
PostPosted: Thu Oct 10, 2013 8:44 pm 
Offline

Joined: Thu Oct 10, 2013 8:09 pm
Posts: 2
Hi everyone,

I try to install de multipoller 0.2.2b plugin, but in the setup process i have the follow error screen's:

Attachment:
Screen Shot 2013-10-10 at 8.40.46 PM.png
Screen Shot 2013-10-10 at 8.40.46 PM.png [ 41.95 KiB | Viewed 3382 times ]


and the next step:

Attachment:
Screen Shot 2013-10-10 at 8.42.07 PM.png
Screen Shot 2013-10-10 at 8.42.07 PM.png [ 73.89 KiB | Viewed 3382 times ]



My installation feature's:

Centos 6.4
PHP 5.3.3
Cacti 88a from tar.gz
Spine 87g compile from tar.gz

Thanks


Top
 Profile  
 
 Post subject: Re: Plugin Multi-Pollerserver (Cacticluster) 0.2.2b reupload
PostPosted: Sun Oct 13, 2013 10:52 pm 
Offline

Joined: Mon Jun 13, 2011 11:20 pm
Posts: 24
angelitoblu wrote:

My installation feature's:

Centos 6.4
PHP 5.3.3
Cacti 88a from tar.gz
Spine 87g compile from tar.gz

Thanks


I also have this error before with CentOS.
Change to Ubuntu Server LTS 12.04 solved the problem. Something messed or not compatible with the patch , don't know exactly , maybe with PHP version .
Hope this help.


Top
 Profile  
 
 Post subject: Re: Plugin Multi-Pollerserver (Cacticluster) 0.2.2b reupload
PostPosted: Mon Oct 14, 2013 10:46 am 
Offline

Joined: Mon Aug 08, 2011 4:04 am
Posts: 27
Angelitoblu,

You should try to stop displaying notices and enable short tags (<?) use in your PHP configuration file.

Regards,

NP


Top
 Profile  
 
 Post subject: Re: Plugin Multi-Pollerserver (Cacticluster) 0.2.2b reupload
PostPosted: Wed Oct 16, 2013 5:58 pm 
Offline

Joined: Thu Oct 10, 2013 8:09 pm
Posts: 2
Hi,

Thanks for the comments,

I try to install over Ubuntu,

Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 50 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group