Fw: PATCH [Nagios-users] Nagios 2.0b3, problem with perfdata_file_mode=w

kjell.sundtjonn at elkem.no kjell.sundtjonn at elkem.no
Sat May 7 15:02:43 CEST 2005


This patch solves this problem in a simple way, if the process that reads from the pipe strop reading, error is ignored and a log entry written. To be used against the current CVS



Kjell Sundtjønn


----- Forwarded by Kjell Sundtjonn/OSL/EUR/ELKEM on 07.05.2005 14:59 -----

wob at swobspace.de (Wolfgang Barth) 
Sent by: nagios-users-admin at lists.sourceforge.net
02.05.2005 20:24
Please respond to
wob at swobspace.de


To
nagios-users at lists.sourceforge.net
cc

Subject
[Nagios-users] Nagios 2.0b3, problem with perfdata_file_mode=w






Hi,

I'am using service_perfdata_file_* (Nagios 2.0b3)  with perf2rrd:

service_perfdata_file_mode=w
service_perfdata_file=/var/nagios/service-perfdata.named_pipe

If perf2rrd stops reading from pipe, all nagios processes stop working.
Same effect ist reproducible with 

  cat /var/nagios/service-perfdata.named_pipe

If I kill 'cat', all nagios processes stops. Is this the wanted behaviour
or a bug?

wob
-- 
<wob (at) swobspace de> * http://www.swobspace.de


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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


                                NOTICE
               Please immediately e-mail back to sender 
               if you are not the intended recipient. 

               Thereafter delete the e-mail along with 
               any attachments without making copies. 

               Elkem reserves all rights of privilege, 
               confidentiality and copyright.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20050507/18753382/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: perfdata-pipe.diff
Type: application/octet-stream
Size: 2644 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20050507/18753382/attachment.obj>


More information about the Developers mailing list