FYI, nagios command file pipe may cause passive service corruption
Stanley Hopcroft
Stanley.Hopcroft at IPAustralia.Gov.AU
Sat Jun 14 00:57:21 CEST 2003
Dear Sir,
You may be mistaken in the matter of interleaving with _high volumes_ of
messages input to the Nagios command file.
Most of the texts (eg W R Stevens APUE p 446) state that provided each
process writes no more than PIPE_BUF per write, there will be no
interleaving, regardless of the input rate.
Writes to a named pipe will be atomic if each write is less than
PIPE_BUF (perl -MPOSIX=_POSIX_PIPE_BUF -e 'print _POSIX_PIPE_BUF, "\n"'
on this FreeBSD system it is 512 bytes).
Yours sincerely.
--
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------
'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'
from Meditation 17, J Donne.
-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
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