PDA

View Full Version : service perfdata: nagios vs. ods


jmfowler
26th March 2008, 20:33
Hi (and pardonez mois pour parlez pas francais);

I can get performance data appearing in a file (service-perfdata) and the file is created by nagios with user nagios and 664 permissions.

However, if I start the ods daemon, the file is cleared and permissions change to root with 644. Nagios can then not add data to the file.

Is there something wrong with the ods daemon?

:sad:

WAtt
27th March 2008, 10:00
Hi,

no pb, you must use english language ;p

Do you start ods daemon with init.d ?
Which user run ODS ?


$ps -eaf |grep ods
nagios 1514 1 0 Mar25 ? 00:01:46 /usr/bin/perl /srv/oreon/ODS/ods


have you a SELINUX or another system to apply a specific right on your directory?
have you a specific mask on parent directory ??

Sorry for all this question, but I try to scan all possibility :p