I am very new to this.
Is a poller generally means a librenms installation?
where should I install rrdcached and memcached? Can they both be installed on the web front end or the database server?
Yes a poller is a normal install but you donāt need to run mysql, memcached and rrdcached locally. These should all be installed in one central place - where - is up to you.
I was having some issues after I installed memcached and rrdcached. The graphs stopped drawing, the poller still polls, but nothings shows on the graph after I bounced nginx.
Thanks @laf !
After commented out the section you mentioned above, I was still having issues. When I grep port 42217, its not there.
So I took out the line $config[ārrdcachedā] = 42217 , now the config looks like below and it works, at least no error on validation. But I wondering how will it work for other pollers if rrdcached port not open?
Got it! I uncommented NETWORK_OPTIONS="-L" and commented out SOCKFILE=/var/run/rrdcached.sock
in the config.php, I changed this line from $config[ārrdcachedā] = āunix:/var/run/rrdcached.sockā; to $config[ārrdcachedā] = ā127.0.0.1:42217ā;
Bounce rrdcached and it is now listening to port 42217.
Validated setup and no errors.
So I spun up another poller and move the devices to that poller, it seems all the servers devices worked with that poller but not the networking devices. When I moved it back to the default pooler after a while, they all appear to be offline. I tried delete a device and re-add it, but wasnāt success, webserver timed out.
When I move them back to the default poller and they still not working. The default poller IP should be allowed on those devices. They were working before I moved them to the new poller and back.
Is there a way to delete a device and clean all the memcached and db history about that device and treat it as new?
I am very confused on setting up the poller.
My current config for a poller.(see below)
172.16.37.209 is where the master poller/memcached/rrdcached located and they use 11211 and 42217 make sense because this host need to get to those services via these ports.
The lines that threw me off was $config['distributed_poller_host'] and $config['distributed_poller_port'].
I put this pollerās IP on this line and put 11211 in the port section, but I felt its not right. What is port 11211 is used for in this case? Does this connect back to the memcached server?
If I put 172.16.37.209 there, then it still not making sense since its asking for the distributed_poller_host.