On 2013-03-05 15:38, Steve Shipway wrote: > Since you specified -b (base directory) and -B (base directory only) > when starting rrdcached, it means that you can only specify RRD files > relative to the base directory. > > 10452 ? Ssl 0:00 /usr/bin/rrdcached -s nagios -l > unix:/var/run/rrdcached.sock -j /var/lib/rrdcached/journal/ -F -b > /var/lib/rrdcached/db/ -B -p /var/run/rrdcached.pid > > In this case, the base directory is /var/lib/rrdcached/db > > 2013-03-05 10:01:08 [14395] [0] RRDs::update > /var/lib/pnp4nagios/perfdata/server/Kernel_pgmajfault.rrd 1362474068:0 > 2013-03-05 10:01:08 [14395] [0] RRDs::update ERROR rrdcached: > Permission denied > > When you try to update > /var/lib/pnp4nagios/perfdata/server/Kernel_pgmajfault.rrd then you get > permission denied, since this is not a relative path under the > /var/lib/rrdcached/db base directory. > > Try using '-b /var/lib/pnp4nagios/perfdata' and omit the -B > > Also make sure the process calling the update has write permission to > the socket. > > Steve > > > Steve Shipway > University of Auckland ITS > UNIX Systems Design Lead > [email protected] > Ph: +64 9 373 7599 ext 86487
Steve, Thanks a lot. It resolved my problem. -- Regards, Aravind M D _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
