Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed May 24, 2017 6:40 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Can't configure remote poller
PostPosted: Fri May 19, 2017 12:08 pm 
Offline
Cacti User

Joined: Tue Mar 31, 2009 10:05 am
Posts: 224
Yes, we are using spine and on-demand is enabled.

Attachment:
performance.png
performance.png [ 69.66 KiB | Viewed 331 times ]


Attachment:
spine.png
spine.png [ 61.55 KiB | Viewed 331 times ]


Top
 Profile  
 
 Post subject: Re: Can't configure remote poller
PostPosted: Mon May 22, 2017 6:47 am 
Offline

Joined: Thu May 03, 2007 6:22 am
Posts: 24
I have it working. Looks very good.

I have both On-demand RRD Updating and RRDtool Proxy Server disabled. Currently testing with localhost and one Cisco router (I have no idea why Cacti is sharing the localhost data).


Top
 Profile  
 
 Post subject: Re: Can't configure remote poller
PostPosted: Mon May 22, 2017 8:32 am 
Offline
Cacti User

Joined: Tue Mar 31, 2009 10:05 am
Posts: 224
You have on demand updating disabled? That is strange as that is not what any of the documentation says.


Top
 Profile  
 
 Post subject: Re: Can't configure remote poller
PostPosted: Mon May 22, 2017 10:17 am 
Offline

Joined: Thu May 03, 2007 6:22 am
Posts: 24
I had problems with On-demand RRD Updating enabled.


Top
 Profile  
 
 Post subject: Re: Can't configure remote poller
PostPosted: Mon May 22, 2017 10:21 am 
Offline
Cacti User

Joined: Tue Mar 31, 2009 10:05 am
Posts: 224
What do your spine.conf files look like on your main Cacti server and the remote poller?


Top
 Profile  
 
 Post subject: Re: Can't configure remote poller
PostPosted: Mon May 22, 2017 10:39 am 
Offline

Joined: Thu May 03, 2007 6:22 am
Posts: 24
Both spine.conf look like you would expect:

Code:
DB_Host      localhost
DB_Database   cacti
DB_User      cactiuser
DB_Pass      local_PW
DB_Port      3306

RDB_Host      remote_IP
RDB_Database   cacti
RDB_User      cactiuser
RDB_Pass      remote_PW
RDB_Port      3306

But I did have to add extra rules to the firewall (I updated from CatiEZ 0.7).

I also I had to uncomment "bind-address=127.0.0.1" in /etc/my.cnf.d/server.cnf and add remote user login to MySQL:

Code:
mysql> GRANT ALL ON cacti.* TO cactiuser@{remoteIP} IDENTIFIED BY '{local_PW}';
mysql> flush privileges;

to be able to remotely log in to MySQL .


Top
 Profile  
 
 Post subject: Re: Can't configure remote poller
PostPosted: Mon May 22, 2017 1:45 pm 
Offline
Cacti User

Joined: Tue Mar 31, 2009 10:05 am
Posts: 224
So your main server looks like below and the remote server has the same conifg (with the only exception being the remote IP is different)?

DB_Host localhost
DB_Database cacti
DB_User cactiuser
DB_Pass local_PW
DB_Port 3306

RDB_Host remote_IP
RDB_Database cacti
RDB_User cactiuser
RDB_Pass remote_PW
RDB_Port 3306


Top
 Profile  
 
 Post subject: Re: Can't configure remote poller
PostPosted: Tue May 23, 2017 4:57 am 
Offline

Joined: Thu May 03, 2007 6:22 am
Posts: 24
Dear stormonts,

I made a small guide here:

http://forums.cacti.net/viewtopic.php?f=6&t=57506


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 7 guests


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