# # ChangeLog for /src/noit_check_tools.h # # Generated by Trac 0.10.3 # 04/24/18 05:08:16 # 08/09/11 16:50:04 Theo Schlossnagle <jesus@omniti.com> [f91ddca09660d8415b1bcdd88b20946e82b0ef62] * src/modules/collectd.c (modified) * src/modules/dns.c (modified) * src/modules/external.c (modified) * src/modules/httptrap.c (modified) * src/modules/lua.c (modified) * src/modules/lua_noit.h (modified) * src/modules/mysql.c (modified) * src/modules/ping_icmp.c (modified) * src/modules/postgres.c (modified) * src/modules/selfcheck.c (modified) * src/modules/snmp.c (modified) * src/modules/ssh2.c (modified) * src/modules/test_abort.c (modified) * src/noit_check_tools.c (modified) * src/noit_check_tools.h (modified) propagate the cause for causal checks into all of the calls 02/20/11 15:50:57 Theo Schlossnagle <jesus@omniti.com> [09ecd288337978ca01c842684ec58b4bad68ce6e] * src/eventer/eventer.h (modified) * src/eventer/eventer_impl.c (modified) * src/eventer/eventer_jobq.c (modified) * src/eventer/eventer_jobq.h (modified) * src/modules/Makefile.in (modified) * src/modules/test_abort.c (added) * src/noit_check_rest.c (modified) * src/noit_check_tools.c (modified) * src/noit_check_tools.h (modified) * test/t/109_check_cancellation.t (added) * test/t/testconfig.pm (modified) This patch does a lot, all refs #351 * fix up the test harness to support noitd restarts and expected crashes * Add different cancellation methodologies to the jobq implemntation * "evil_brutal" which is the old siglongjmp way. * "cancel_deferred" which uses pthread_cancel w/ CANCEL_DEFERRED * "cancel_asynch" which uses pthread_cancel w/ CANCEL_ASYNCHRONOUS * Add a game over scenario is the cooperative cancellation mechanisms don't work and end up exhausting all the threads in a pool. * Reduce the minimum check period set via REST to 1s to enable better testing. NOTE: maybe this should be much smaller even. * Change the thread pool system to spawn as new jobs are queued. This isn't automatic demand-driven sizing, but rather we don't start the (N) threads until (N) events arrive (not necessarily concurrently). * Added a test_abort module that runs different types of faux workloads to assist in testing the functional correctness of each method. Workloads include, variable work time, variable method of cancellation type and interruptable (nanosleep) and uninterruptable (compute). * Added fairly thorough tests for each method under each workload condition. Tested on darwin (finding cancel_asynch to not work well). Needs testing on other platforms. 01/07/11 18:25:58 Theo Schlossnagle <jesus@omniti.com> [4b55797971a3f98431112b9eb43d2a76c7ba3e2b] * src/Makefile.in (modified) * src/noit_check_tools.c (modified) * src/noit_check_tools.h (modified) * src/noit_check_tools_shared.c (added) * src/noit_check_tools_shared.h (added) no functional change. Just split out the noit_check_tools that may need noit_check information from the tools that operate on more primitive objects. This will prevent stratcon from needing to pull in the kitchen sink to get convenience functions. 12/08/10 05:31:12 Theo Schlossnagle <jesus@omniti.com> [8c720f9a4bd5979520e9c7ec00d9bea8d305391b] * src/Makefile.in (modified) * src/java/com/omniti/reconnoiter/event/NoitCheck.java (modified) * src/java/com/omniti/reconnoiter/event/NoitEvent.java (modified) * src/java/com/omniti/reconnoiter/event/NoitMetricNumeric.java (modified) * src/java/com/omniti/reconnoiter/event/NoitMetricText.java (modified) * src/java/com/omniti/reconnoiter/event/NoitStatus.java (modified) * src/noit.conf.in (modified) * src/noit_check.c (modified) * src/noit_check.h (modified) * src/noit_check_log.c (modified) * src/noit_check_tools.c (modified) * src/noit_check_tools.h (modified) * src/noit_conf.c (modified) * src/stratcon_datastore.c (modified) * src/stratcon_realtime_http.c (modified) * src/utils/noit_log.c (modified) * src/utils/noit_log.h (modified) this is a big patch. adds an optional extended-id. you should upgrade your iep first, then your stratcon, then your noits. This is most certainly a flag-day, *but* the feature is off by default... refs #331 11/07/09 23:31:50 Theo Schlossnagle <jesus@omniti.com> [d38990d06dbc481418b2317122b36d481acdae86] * src/noit.conf.in (modified) * src/noit_check.c (modified) * src/noit_check_tools.c (modified) * src/noit_check_tools.h (modified) fixes #213 w/ examples 09/13/09 14:43:17 Theo Schlossnagle <jesus@omniti.com> [02569455fdf31dd93db18514b0b4cda5d5181ff7] * src/Makefile.in (modified) * src/noit_check_rest.c (added) * src/noit_check_rest.h (added) * src/noit_check_tools.c (modified) * src/noit_check_tools.h (modified) * src/noit_conf_checks.c (modified) * src/noit_http.c (modified) * src/noit_http.h (modified) * src/noit_rest.c (modified) * src/noit_rest.h (modified) * src/noitd.c (modified) work on #171, getting check info works 05/14/09 04:40:35 Theo Schlossnagle <jesus@omniti.com> [88a71780101cbf23034aa0cb840f9f0368fda2dd] * buildtools/license-audit (added) * src/eventer/eventer.c (modified) * src/eventer/eventer.h (modified) * src/eventer/eventer_POSIX_fd_opset.c (modified) * src/eventer/eventer_POSIX_fd_opset.h (modified) * src/eventer/eventer_SSL_fd_opset.c (modified) * src/eventer/eventer_SSL_fd_opset.h (modified) * src/eventer/eventer_epoll_impl.c (modified) * src/eventer/eventer_impl.c (modified) * src/eventer/eventer_jobq.c (modified) * src/eventer/eventer_jobq.h (modified) * src/eventer/eventer_kqueue_impl.c (modified) * src/eventer/eventer_ports_impl.c (modified) * src/modules-lua/extract_xml.lua (modified) * src/modules-lua/noit/module/smtp.lua (modified) * src/modules-lua/noit/module/varnish.lua (modified) * src/modules-lua/noit/timeval.lua (modified) * src/modules/dns.c (modified) * src/modules/external.c (modified) * src/modules/external_proc.c (modified) * src/modules/external_proc.h (modified) * src/modules/http.c (modified) * src/modules/lua.c (modified) * src/modules/lua_noit.c (modified) * src/modules/lua_noit.h (modified) * src/modules/mysql.c (modified) * src/modules/ping_icmp.c (modified) * src/modules/postgres.c (modified) * src/modules/selfcheck.c (modified) * src/modules/snmp.c (modified) * src/modules/ssh2.c (modified) * src/noit_capabilities_listener.c (modified) * src/noit_capabilities_listener.h (modified) * src/noit_check.c (modified) * src/noit_check.h (modified) * src/noit_check_log.c (modified) * src/noit_check_tools.c (modified) * src/noit_check_tools.h (modified) * src/noit_conf.c (modified) * src/noit_conf.h (modified) * src/noit_conf_checks.c (modified) * src/noit_conf_checks.h (modified) * src/noit_conf_private.h (modified) * src/noit_console.c (modified) * src/noit_console.h (modified) * src/noit_console_complete.c (modified) * src/noit_console_state.c (modified) * src/noit_defines.h (modified) * src/noit_filters.c (modified) * src/noit_filters.h (modified) * src/noit_http.c (modified) * src/noit_http.h (modified) * src/noit_jlog_listener.c (modified) * src/noit_jlog_listener.h (modified) * src/noit_listener.c (modified) * src/noit_listener.h (modified) * src/noit_livestream_listener.c (modified) * src/noit_livestream_listener.h (modified) * src/noit_module.c (modified) * src/noit_module.h (modified) * src/noit_tokenizer.c (modified) * src/noit_tokenizer.h (modified) * src/noit_tokenizer.re (modified) * src/noitd.c (modified) * src/stratcon_datastore.c (modified) * src/stratcon_datastore.h (modified) * src/stratcon_iep.c (modified) * src/stratcon_iep.h (modified) * src/stratcon_jlog_streamer.c (modified) * src/stratcon_jlog_streamer.h (modified) * src/stratcon_realtime_http.c (modified) * src/stratcon_realtime_http.h (modified) * src/stratcond.c (modified) * src/utils/noit_atomic.h (modified) * src/utils/noit_atomic_sol.s (modified) * src/utils/noit_log.c (modified) * src/utils/noit_log.h (modified) * src/utils/noit_security.c (modified) fixes #126 07/09/08 16:47:24 Theo Schlossnagle <jesus@omniti.com> [5a9b91bc0a14543e0995eba973fbeacc05aaee8b] * LICENSE (added) * configure.in (modified) * src/Makefile.in (modified) * src/modules/Makefile.in (modified) * src/modules/dns.c (added) * src/noit_check_tools.c (modified) * src/noit_check_tools.h (modified) * src/noit_config.h.in (modified) * src/noit_defines.h (modified) * src/udns/.cvsignore (added) * src/udns/COPYING.LGPL (added) * src/udns/Makefile.in (added) * src/udns/NEWS (added) * src/udns/NOTES (added) * src/udns/TODO (added) * src/udns/dnsget.1 (added) * src/udns/dnsget.c (added) * src/udns/ex-rdns.c (added) * src/udns/getopt.c (added) * src/udns/inet_XtoX.c (added) * src/udns/rblcheck.1 (added) * src/udns/rblcheck.c (added) * src/udns/udns.3 (added) * src/udns/udns.h (added) * src/udns/udns_XtoX.c (added) * src/udns/udns_bl.c (added) * src/udns/udns_config.h (added) * src/udns/udns_dn.c (added) * src/udns/udns_dntosp.c (added) * src/udns/udns_init.c (added) * src/udns/udns_misc.c (added) * src/udns/udns_parse.c (added) * src/udns/udns_resolver.c (added) * src/udns/udns_rr_a.c (added) * src/udns/udns_rr_mx.c (added) * src/udns/udns_rr_naptr.c (added) * src/udns/udns_rr_ptr.c (added) * src/udns/udns_rr_srv.c (added) * src/udns/udns_rr_txt.c (added) svn merge -r 327:330 https://labs.omniti.com/reconnoiter/branches/dev/udns . closes #38 03/17/08 04:06:17 Theo Schlossnagle <jesus@omniti.com> [4b96846179a35015ac0b22d5fe9e9f92480f06a5] * configure.in (modified) * src/eventer/eventer.h (modified) * src/eventer/eventer_impl.c (modified) * src/eventer/eventer_kqueue_impl.c (modified) * src/modules/Makefile.in (modified) * src/modules/http.c (modified) * src/modules/ping_icmp.c (modified) * src/modules/postgres.c (added) * src/modules/snmp.c (modified) * src/modules/ssh2.c (modified) * src/noit.conf (modified) * src/noit_check.c (modified) * src/noit_check_tools.c (modified) * src/noit_check_tools.h (modified) check code consolidation. allow modules to be more terse and add convenience functions to make writing completely asynch checkers much easier. (add a postgres proof-of-concept asynch checker 03/04/08 18:13:56 Theo Schlossnagle <jesus@omniti.com> [9a6060c147e3f375f75141efe7884a911021d87e] * configure.in (modified) * src/Makefile.in (modified) * src/modules/Makefile.in (modified) * src/modules/http.c (modified) * src/modules/ping_icmp.c (modified) * src/modules/snmp.c (modified) * src/noit_check_tools.c (modified) * src/noit_check_tools.h (modified) refactor shared code, add module dependency detection and start splitting out libs in configure 02/24/08 02:43:56 Theo Schlossnagle <jesus@omniti.com> [ce72dc2cb9539d80628ed5642eaabe6e8bac9f0d] * src/Makefile.in (modified) * src/noit_check_tools.c (added) * src/noit_check_tools.h (added) add an intperpolation tool, to helping SNMP checks -- when they get here