From: Eric G. <er...@in...> - 2008-05-01 20:04:28
|
good morning, perfparse people. i'm setting up perfparse 0.105.6 with nagios 3.0.1 on a centOS 5 machine. it is not working. i'm using the "pipe to perfparse" method as described in the install guide. nothing's getting in to the database, and it seems to be FIFO related. observe: [root@nagios01a var]# /usr/local/nagios/bin/perfparse-log2mysql -e error.txt [root@nagios01a var]# cat error.txt cat: error.txt: No such file or directory [root@nagios01a var]# cat error.txt.20080501.log 2008/05/01 12:59:55 [perfparse-log2any.c:157 24175 ] FIFO not authorized as the perf data input source ...now, my googling has shown that this is generally caused by either an error in perfparse.cfg, or incorrect permissions in /usr/local/nagios/var/perfdata-service.log. here's the relevent line in perfparse.cfg: Service_Log = "|/usr/local/nagios/var/perfdata-service.log" ...which i'm pretty confident is correct, and here's the permissions: # ls -l /usr/local/nagios/var/perfdata-service.log -rw-r--r-- 1 nagios nagios 198 May 1 13:03 /usr/local/nagios/var/perfdata-service.log i've been messing with this for days, recompiled like five times, and i'm at the end of my rope. help? |