[Nagios-db-devel] nagios-db and nagios-2.04b
Status: Beta
Brought to you by:
bench23
From: Michael T. <mic...@mc...> - 2005-09-08 22:19:41
|
Is everyone stuck on an earlier version? I haven't been able to get any neb to compile without playing with the inserter.c file. nagios-2.04b nebmods.c requires 4 entries for the neb_register_callback function. inserter.c only calls for three in nebmods.c you'll find that the "int priority" is required on neb_register_callback I chose to look at this literally as a priority state and changed the inserter.c to reflect this. inserter.c now compiles, initializes, but doesn't write diddly to the db. My changes can be seen below. I need to know if my thinking was correct, and why I wouldn't be seeing anything written to the db. I'm willing to pitch in a helping hand where ever I can. I know you guys are probably swamped with various projects. Developers**** I want to use this in a 5000+ host, not service environment. Can this implementation handle it? Will this package continue to be developed? neb_deregister_callback(NEBCALLBACK_TIMED_EVENT_DATA, loadconfig); neb_register_callback(NEBCALLBACK_HOST_STATUS_DATA, 0, 3,***** processStatus); neb_register_callback(NEBCALLBACK_SERVICE_STATUS_DATA, 0, 4,**** processStatus); neb_register_callback(NEBCALLBACK_HOST_CHECK_DATA, 0, 2,**** processCheck); neb_register_callback(NEBCALLBACK_SERVICE_CHECK_DATA, 0, 5,***** processCheck); TIA |