perfparse doesn't display hosts, services

Andreas Ericsson ae at op5.se
Wed Sep 14 14:04:55 CEST 2005


John Christian wrote:
> Thanks for the suggestion. I stopped nagios and
> perfparsed, then started perfparse, changed the perms
> on the perfdata-service.log file, and started nagios.
> I repated this a few times while trying different
> perms on the pipe.
> 
> prwxrwxrwx   1 root     other          0 Sep 14 07:34
> perfdata-service.log
> 
> prwxrwxrwx   1 nagios   nagios         0 Sep 14 07:34
> perfdata-service.log
> 
> prw-r-----   1 nagios   nagios         0 Sep 14 07:40
> perfdata-service.log
> 
> I continue to receive the following error in
> nagios.log:
> 
> Warning: File
> '/usr/local/nagios/var/perfdata-service.log' could not
> be opened - service performance data will not be
> written to file!
> 
> Other ideas on what I'm missing?

Well, since Nagios claims it can't write to the *file*, and the inode is 
in fact a pipe, it might be causing some sort of error. I'm not very 
familiar with perfparse stuff, but I seem to remember something about 
having a cron-job run every once in a while that empties the perfparse 
data-file and submits it to the pipe (or some such).

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list