Feature #1158

stop logging retained states to ido

Added by dnsmichi about 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:01/27/2011
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

https://secure.opsera.com/wsvn/wsvn/opsview/trunk/opsview-base/patches/nagios_stop_logging_retained_states_to_ndo.patch

+                                       /* Altinity patch: on startup, Nagios writes a lot of data to NDO re: the last states of
+                                        * all hosts and services. However, DB already knows this. Causes problems on large scale systems.
+                                        * We stop this happening by setting to TRUE. Impact is that if Nagios has been running for a long time
+                                        * and then NDO is switched on, a check cycle needs to complete before NDO has all the status information
+                                        * but this is probably to be expected */

this can be used when not clearing status tables on restart.

nagios_stop_logging_retained_states_to_ndo.patch Magnifier (1.43 KB) dnsmichi, 01/27/2011 05:06 pm


Related issues

Related to IDOUtils - Feature #1106: do not clear host|service status tables on core restart/r... Resolved 01/12/2011

History

#1 Updated by dnsmichi about 3 years ago

  • Status changed from New to Assigned
  • Assignee set to dnsmichi
  • Target version set to 1.4

goes hand in hand with #1106

#2 Updated by dnsmichi almost 3 years ago

  • Target version changed from 1.4 to 1.5

consider it for a config option - so users needing that can turn it on/off. the update_*_status isn't just affecting a neb module, but other things too.

#3 Updated by dnsmichi almost 3 years ago

  • Status changed from Assigned to Closed
  • Assignee deleted (dnsmichi)
  • Target version deleted (1.5)

icinga-web should get to know retained states too, otherwise some might get in pending state/outdated somehow. so allowing the update happen after restart will increase queries, but also data safety through the core.

Also available in: Atom PDF