[Nagios-devel] Event Broker SIGSEGV
Nagios network monitoring software is enterprise server monitoring
Brought to you by:
egalstad,
sawolf-nagios
From: John T. <jo...@ja...> - 2005-06-19 22:23:01
|
Hi, I have been playing with the event broker code and encountered what seemed to be random crashes. I have handers set on all events so I could analyse the data produced. Eventually I tracked it down in the log to a FLAPPING ALERT immediately followed by the signal being caught. In version 2.0b3 base/broker.c the callback in broker_flapping_data() (line 401) is neb_make_callbacks(NEBCALLBACK_DOWNTIME_DATA, (void *)&ds); clearly ths sends it to the wrong handler with the resulting crash. Changing it to neb_make_callbacks(NEBCALLBACK_FLAPPING_DATA, (void *)&ds); fixes the problem. John |