You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I try with the unix socket, I receive a message that indicate that the file doesn't exist:
$ rrdtool fetch <device>/port-id4452.rrd AVERAGE --start now-800 --end now --daemon unix:/run/rrdcached.sock
ERROR: realpath(<device>/port-id4452.rrd): Aucun fichier ou dossier de ce type
And if I indicate the full path it's working fine:
Desktop (please complete the following information):
OS: Debian 11
rrdtool version: 1.7.2
rrdcached version: 1.7.2
Configuration of rrdcached
# /etc/default file for RRD cache daemon# Full path to daemonDAEMON=/usr/bin/rrdcached
# Optional override flush interval, in seconds.WRITE_TIMEOUT=1800
# Optional override maximum write delay, in seconds.WRITE_JITTER=1800
# Optional override number of write_threadsWRITE_THREADS=4
# Where database files are placed. If left unset, the default /tmp will# be used. NB: The daemon will reject a directory that has symlinks as# components. NB: You may want to have -B in BASE_OPTS.BASE_PATH=/opt/librenms/rrd/
# Where journal files are placed. If left unset, journaling will# be disabled.JOURNAL_PATH=/var/lib/rrdcached/journal/
# FHS standard placement for process ID file.PIDFILE=/var/run/rrdcached.pid
# FHS standard placement for local control socket.SOCKFILE=/run/rrdcached.sock
# Optional override group that should own/access the local control# socketSOCKGROUP=librenms
# Optional override access mode of local control socket.#SOCKMODE=0660# Optional unprivileged group to run under when daemon. If unset# retains invocation group privileges.DAEMON_GROUP=librenms
# Optional unprivileged user to run under when daemon. If unset# retains invocation user privileges.DAEMON_USER=librenms
# Network socket address requests. Use in conjunction with SOCKFILE to# also listen on INET domain sockets. The option is a lower-case ell# ASCII 108 = 0x6c, and should be repeated for each address. The# parameter is an optional IP address, followed by an optional port with# a colon separating it from the address. The empty string is# interpreted as "open sockets on the default port on all available# interfaces", but generally does not pass through init script functions# so use -L with no parameters for that configuration.#NETWORK_OPTIONS="-L"# Any other options not specifically supported by the script (-P, -f,# -F, -B).BASE_OPTIONS="-B -F -R -L ''"
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a a strange issue with rrdtool and rrdcached.
I try to fetch data:
when I try to retrieve it through the TCP socket,it's working fine:
But when I try with the unix socket, I receive a message that indicate that the file doesn't exist:
And if I indicate the full path it's working fine:
Did it's normal ?
Desktop (please complete the following information):
Configuration of rrdcached
The text was updated successfully, but these errors were encountered: