Hi Brad,
The web interface relies on local RRD files, regardless of the RRD Cache setup. The RRD Cache setup works only for the poller to push data to the master. If you want to use the web interface on the poller, you'll need to export the RRD folder on the master via NFS and mount it on the poller. We actually dedicate web nodes for the web interface that mount the NFS folder read-only. The pollers do not even get apache installed.
HTH,
Ahmed.
Le jeu. 5 nov. 2020, à 16 h 57, Brad Bendy via observium < observium@observium.org> a écrit :
So doing some more digging, if I login to the master instance all the graphs are there. No graphs on the poller instance. I guess that makes sense as the poller instance has no access to the actual RRD files, is that then correct? Just only use the master instance for actually viewing anything?
Also just to make sure, we have to add the devices from the poller instance, only way to do that, correct?
Thanks
On Thu, Nov 5, 2020 at 11:47 AM Brad Bendy brad.bendy@gmail.com wrote:
Hi,
I've set this up per what I can find in the docs. Master server has RRDcached running, MySQL and web server. I have another server acting as poller server. I go to that server and add hosts, the host add find. All the graphs are failing and on the local server i t shows nothing in the RRD dir (which is right I would think), on the remote hosts it shows RRD files but when I do a debug I see "file already exists" and it does on the remote server.
Looking at the rrd.journal file I see updates being issued and see no
errors.
On the polling server I have added: $config['rrdcached'] = "x.x.x.x:42217"; $config['rrd']['no_local'] = TRUE;
And updated cron to: */5 * * * * observium /opt/observium/observium-wrapper -i 1 -n 0 discovery --host new >> /dev/null 2>&1 # Run multithreaded poller wrapper every 5 minutes */5 * * * * observium /opt/observium/observium-wrapper -i 1 -n 0 poller >> /dev/null 2>&1
As I have one poller server and this is the first one.
I see no other errors in other logs but all graphs show "error drawing graph". Is there something else in my config I am missing to make this work?
Thanks
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium