RRDs::update ERROR Unable to connect to rrdcached: Connection refused

Hi,

We are seeing this error in our check_mk server in the logs for each and every host. How do I start the rrdcached service?


2020-12-02 10:25:44 [89254] [0] RRDs::update /omd/sites/lin/var/pnp4nagios/perfdata/serv12/Check_MK_children_user_time.rrd 1606933514:0.000
2020-12-02 10:25:44 [89254] [0] RRDs::update ERROR Unable to connect to rrdcached: Connection refused
2020-12-02 10:25:44 [89254] [0] RRDs::update /omd/sites/lin/var/pnp4nagios/perfdata/serv14/Check_MK_children_system_time.rrd 1606933514:0.000
2020-12-02 10:25:44 [89254] [0] RRDs::update ERROR Unable to connect to rrdcached: Connection refused
2020-12-02 10:25:44 [89254] [0] RRDs::update /omd/sites/lin/var/pnp4nagios/perfdata/serv1/Check_MK_cmk_time_agent.rrd 1606933514:1.831
2020-12-02 10:25:44 [89254] [0] RRDs::update ERROR Unable to connect to rrdcached: Connection refused

We are getting this kind of alerts for ALL hosts.

Server OS: RHEL 7.7
check_mk ver: RAW edition 1.6.0p11

Some more info:

$ omd status
mkeventd:       running
rrdcached:      stopped
npcd:           running
nagios:         running
apache:         running
crontab:        running
-----------------------
Overall state:  partially running

Nevermind, we just restarted the whole site and it fixed the issue with rrdcached service not being working.

$ omd restart
--
--
--
$ omd status
mkeventd:       running
rrdcached:      running
npcd:           running
nagios:         running
apache:         running
crontab:        running
-----------------------
Overall state:  running

Not sure how can I mark it resolved, but if someone from moderator team can do it, it’ll be great.

Thanks.

You could have restarted just rrdcached with

omd restart rrdcached

r.sander— Ahh. I was not aware of that and I tried to find documentation for that as well to no avail. But it is good to know in the future. Thanks for the input.

Hi,
please have a look at the logs. The rrd can crash, if you have no space left on the device when you add new hosts on your system.
Cheers,
Christian

@ahanjrah you can mark your own answer as the solution to your initial question. That way others can quickly see how you resolved your issue.

thorian, I marked r.sander’s answer as a solution, thanks for the reminder.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.