Question about event handler processing

Horvath Tamas zsitfa at t-online.hu
Tue Dec 19 19:31:53 CET 2006


Hi Listmembers!

Now I'm using Nagios 1.x, but I'm going to "upgrade" them to 2.x soon.

I set up global host and service event handlers which increment the content
of a file. The number in this file is a uniq error ID, which I use in my
notification scripts.

But I don't know how Nagios runs global event handlers if several
services/hosts change their status nearly the same time. Does it run them
serially, or paralell?

It is important for me, because if more than one event handler have to read
and write to the same file, I can write some locking mechanism.

Do you have any info or idea about this?

I don't speak "C", so please not say: "looking into xxx.c code".

Any help would be appreciate.

Tamas.




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV




More information about the Developers mailing list