{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":14040015,"defaultBranch":"master","name":"naemon-core","ownerLogin":"naemon","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2013-11-01T09:49:48.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/5692075?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1704378744.0","currentOid":""},"activityList":{"items":[{"before":"70311736629620de918259bbc7823b7319845b96","after":"22f0fb66fc0d7370ebbc5d2e6bcc66d8b9311392","ref":"refs/heads/master","pushedAt":"2024-03-20T18:10:59.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"add new options to keep services running as long as they are up\n\nThe issue with the options:\n\n- host_down_disable_service_checks\n- service_skip_check_dependency_status\n- service_skip_check_host_down_status\n- host_skip_check_dependency_status\n\nis that reports break because hosts/services suddenly stop executing and\nkeep their OK state. Which makes those options pretty unusable.\n\nSo in order to keep reporting correct, you need to keep services running, even\nif the host is down. With these new options, hosts/services keep on running as\nlong as they are up. And as soon as the service is down, it stops running until\nthe host comes back up. That way naemon has to do less checks, especially less\nchecks which run into timeouts and such but reporting is still correct.\n\nThe option service_skip_check_dependency_status=-2 will also be used for service parents.\n\nAdding a new option service_parents_disable_service_checks to prevent running service\nchecks if service parents are down.\n\nRecommended settings are:\n\n host_down_disable_service_checks=1 ; disable service checks if host is down\n service_parents_disable_service_checks=1 ; also disable service checks if parents are down\n service_skip_check_host_down_status=-2 ; but keep running as long as they are ok\n service_skip_check_dependency_status=-2 ; same, but for dependency checks.\n host_skip_check_dependency_status=-2 ; and for host checks.","shortMessageHtmlLink":"add new options to keep services running as long as they are up"}},{"before":"3e074124755182755d5612ebaa785ede450c25c3","after":"70311736629620de918259bbc7823b7319845b96","ref":"refs/heads/master","pushedAt":"2024-03-18T07:23:14.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"update last_update for some more cornercases\n\nthere were some corner cases where the last_update timestamp has not been updated. Update\nthe timestamp whenever the last_check changes.","shortMessageHtmlLink":"update last_update for some more cornercases"}},{"before":"e26899bded592e31129d58cf4e65b58b59164fe5","after":"3e074124755182755d5612ebaa785ede450c25c3","ref":"refs/heads/master","pushedAt":"2024-03-02T16:45:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"fix(rpm): Delay Naemon restart until posttrans\n\nThe posttrans scriptlet executes after the RPM transaction has\nconcluded, i.e. when all packages have been installed or upgraded.\nDelaying the Naemon restart until posttrans prevents API compatibility\nissues when naemon-core upgrades before naemon-livestatus. See\nhttps://github.com/naemon/naemon-core/issues/454.\n\nNote that it is not possible to infer the RPM operation (install or\nupgrade) from the posttrans scriptlet argument, since they are the same:\nhttps://en.opensuse.org/openSUSE:Packaging_scriptlet_snippets#Syntax\nThis should not cause any problems since the scriptlet only restarts\nNaemon if it was already running. In other words, it won't cause Naemon\nto start immediately after installation.","shortMessageHtmlLink":"fix(rpm): Delay Naemon restart until posttrans"}},{"before":"10af9ff6d49e89666d12bec55269145d916c6262","after":"e26899bded592e31129d58cf4e65b58b59164fe5","ref":"refs/heads/master","pushedAt":"2024-02-22T15:46:34.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"remove duplicate log entry\n\nthere is no reason to have 2 entries in the debug log for the same execution path.\nAnd i always found this entry confusing.\n\nSigned-off-by: Sven Nierlein ","shortMessageHtmlLink":"remove duplicate log entry"}},{"before":"f852cea32c18f6372f27bb22c964c81c4b8578cf","after":"10af9ff6d49e89666d12bec55269145d916c6262","ref":"refs/heads/master","pushedAt":"2024-02-14T12:30:08.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"initialize hosts last_state_change and last_hard_state_change\n\nCurrently the hosts last_state_change and last_hard_state_change will only be initialized\nif the state changes or in check_service.c when the first service result arives.\nI see no reason why this shouldn't be done for host results as well.\n\nSigned-off-by: Sven Nierlein ","shortMessageHtmlLink":"initialize hosts last_state_change and last_hard_state_change"}},{"before":"f454e2594a1de9d921b3387ea8df10e581af87d7","after":"f852cea32c18f6372f27bb22c964c81c4b8578cf","ref":"refs/heads/master","pushedAt":"2024-02-08T14:20:23.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"check global enable_flap_detection flag for notifications\n\nif global enable_flap_detection has been disabled but hosts/services still\nhave the is_flapping flag set, notifications will be held back forever.\n\nthe quick fix is to ignore the flapping state if its disabled globally.\n\nSigned-off-by: Sven Nierlein ","shortMessageHtmlLink":"check global enable_flap_detection flag for notifications"}},{"before":"47b561775314d14f996b5224a16f7dc30179231a","after":"f454e2594a1de9d921b3387ea8df10e581af87d7","ref":"refs/heads/master","pushedAt":"2024-02-05T16:37:09.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"fix updating last_update when sending CHANGE_CUSTOM_*_VAR command\n\nall commands update the last_update attribute, so do this for CHANGE_CUSTOM_*_VAR commands as well.\n\nSigned-off-by: Sven Nierlein ","shortMessageHtmlLink":"fix updating last_update when sending CHANGE_CUSTOM_*_VAR command"}},{"before":"70666aa6e0c18965402d18afd3302f93dc4efaed","after":"47b561775314d14f996b5224a16f7dc30179231a","ref":"refs/heads/master","pushedAt":"2024-02-05T15:59:54.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"fix resetting modified_attributes\n\nresetting modified_attributes to zero had no effect. The reason was a wrong\nassumption when reading the retention file. The retained value was restored\neven if the correspondig modified_attributes was not set (anymore).\n\nNow we have the following attribute changes (assuming retention is enabled):\n\n- attribute was changed via gui -> retained on next reload\n- attribute was changed via gui but config value changed afterwards -> use the configured value instead of the retained one\n- config value changed and attribute has not been changed via gui -> use the configured value\n\nSigned-off-by: Sven Nierlein ","shortMessageHtmlLink":"fix resetting modified_attributes"}},{"before":"f01483f86c3b095b8df50a0dff4db148dbd52288","after":"70666aa6e0c18965402d18afd3302f93dc4efaed","ref":"refs/heads/master","pushedAt":"2024-02-05T15:27:31.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"set problem_end only if it has started\n\nthis solves an issue for the initial state change from pending to ok and\nwhen updating naemon from a version not supporting problem durations.","shortMessageHtmlLink":"set problem_end only if it has started"}},{"before":"d8e1f42e883078591f2428275d327c41ecd832b2","after":"f01483f86c3b095b8df50a0dff4db148dbd52288","ref":"refs/heads/master","pushedAt":"2024-01-31T11:11:56.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"suppress only normal notifications from service parents\n\nThis change makes service parents work more like service dependencies. Previously\nservice parents simply dropped all notifications which leads to some issues:\n\n- if a service goes down, sends a notification but comes up before the parent, no recover will be sent\n- forced notifications, downtimes etc won't send a notification\n\nWith this change only \"normal\" notifications will be suppressed if all parents are down. But the following\nnotifications will still be sent:\n\n- custom notifications\n- acknowlegements\n- flapping alerts\n- downtime alerts\n\nSigned-off-by: Sven Nierlein ","shortMessageHtmlLink":"suppress only normal notifications from service parents"}},{"before":"49b2519a463b9e2d6aecf246eeab680d8c0cc7af","after":"d8e1f42e883078591f2428275d327c41ecd832b2","ref":"refs/heads/master","pushedAt":"2024-01-15T22:36:53.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"Define ETIME for systems without that constant\n\nETIME alternative implementation as ETIMEDOUT is already available\nfor the worker, but not for the naemon component.\n\nThis fixes the following compilation error on systems without ETIME:\n\nsrc/naemon/workers.c:517:27: error: use of undeclared identifier 'ETIME'\n if (wpres.error_code == ETIME) {\n ^\n1 error generated.\n\nSigned-off-by: Sébastien Santoro ","shortMessageHtmlLink":"Define ETIME for systems without that constant"}},{"before":"6062f97f57c33c0c9979e2f99ba194e547276e09","after":"49b2519a463b9e2d6aecf246eeab680d8c0cc7af","ref":"refs/heads/master","pushedAt":"2024-01-15T22:36:19.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"Include for wait constants\n\nConstants like WIFEXITED are defined in sys/wait.h header.\n\nThis fixes a compilation issue on FreeBSD where those contants aren't\nimplicitly made available without an explicit include of those.\n\nSigned-off-by: Sébastien Santoro ","shortMessageHtmlLink":"Include <sys/wait.h> for wait constants"}},{"before":"b829a682e10415913b4da87ffded09c26b057d87","after":null,"ref":"refs/heads/pr/419","pushedAt":"2024-01-04T14:31:24.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"}},{"before":"05301ebea877c5fde904bee1ae0856757326d727","after":null,"ref":"refs/heads/bugfix/MON-10495-naemon-starts-sigkilling-the-wrong","pushedAt":"2024-01-04T14:31:10.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"}},{"before":"c3e4294d1b0ec8707da5331773f62f4250fbb376","after":null,"ref":"refs/heads/first_notification_delay_should_use_last_hard_state","pushedAt":"2024-01-04T14:28:57.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"}},{"before":"7dabe866e209ba8ae8e8822ab18b569867c1001f","after":null,"ref":"refs/heads/vscode","pushedAt":"2024-01-04T14:28:29.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"}},{"before":"ca9acaa8a53ac7afb26dae852007a485b97e15e0","after":null,"ref":"refs/heads/poc_vault_broker","pushedAt":"2024-01-04T14:28:24.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"}},{"before":"2a557bd601e08b27c099ab7697cbf03e8803b45c","after":null,"ref":"refs/heads/fix_loading_neb_module_multiple_times","pushedAt":"2024-01-04T14:28:15.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"}},{"before":"50b573a05b819f4936200c561bc65dcea280b79c","after":"6062f97f57c33c0c9979e2f99ba194e547276e09","ref":"refs/heads/master","pushedAt":"2024-01-04T14:27:29.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"Update NEWS","shortMessageHtmlLink":"Update NEWS"}},{"before":"83b25ec4c0f68c51a7f7291d0bfebbef817fdb0f","after":"50b573a05b819f4936200c561bc65dcea280b79c","ref":"refs/heads/master","pushedAt":"2024-01-03T15:20:44.000Z","pushType":"pr_merge","commitsCount":13,"pusher":{"login":"nook24","name":"Daniel","path":"/nook24","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9019992?s=80&v=4"},"commit":{"message":"Merge pull request #421 from naemon/pr/419\n\nFixed: Naemon stops executing checks and doesnt respawn Core Worker #419\r\nHappy new Year!","shortMessageHtmlLink":"Merge pull request #421 from naemon/pr/419"}},{"before":"d24cc50ad4e367d4c42f9109c909f426f50845ca","after":"b829a682e10415913b4da87ffded09c26b057d87","ref":"refs/heads/pr/419","pushedAt":"2023-12-01T20:15:13.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"nook24","name":"Daniel","path":"/nook24","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9019992?s=80&v=4"},"commit":{"message":"Remove debugging output\n\nSigned-off-by: nook24 ","shortMessageHtmlLink":"Remove debugging output"}},{"before":"ffeecc19957b605b4f175a7751fa1e34a9736f1b","after":"83b25ec4c0f68c51a7f7291d0bfebbef817fdb0f","ref":"refs/heads/master","pushedAt":"2023-10-13T09:41:28.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"fix typo in comment\n\nleft over from copy/pasted code.","shortMessageHtmlLink":"fix typo in comment"}},{"before":"59f73c07434e2f707469a8fb2b26bd83d1cd44fa","after":"ffeecc19957b605b4f175a7751fa1e34a9736f1b","ref":"refs/heads/master","pushedAt":"2023-09-18T07:22:23.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"add systemd to build requires\n\nthis (should) fix this build error on obs:\n```\n[ 139s] /.build_patchrpmcheck_scr: line 55: systemd-tmpfiles: command not found\n[ 139s] postinstall script of naemon-core-1.4.1-lp154.18.1.x86_64.rpm failed\n```","shortMessageHtmlLink":"add systemd to build requires"}},{"before":"d6c4c6eaa86c3031c03457f48e74bcdc68aa9451","after":"d24cc50ad4e367d4c42f9109c909f426f50845ca","ref":"refs/heads/pr/419","pushedAt":"2023-09-07T07:25:14.000Z","pushType":"push","commitsCount":14,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"Merge branch 'upstream' into pr/419","shortMessageHtmlLink":"Merge branch 'upstream' into pr/419"}},{"before":"7558c98937ffb15c040daf158f92827b1f338ba6","after":"59f73c07434e2f707469a8fb2b26bd83d1cd44fa","ref":"refs/heads/master","pushedAt":"2023-08-31T15:46:06.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"be more specific when unloading a neb module\n\nPrint the current and expected api version number along with the error.\nThis gives a hint about wether the neb module is too new or too old.","shortMessageHtmlLink":"be more specific when unloading a neb module"}},{"before":"b5c28d2d370fcbedc1e20d0838d53b157aedb6a8","after":"7558c98937ffb15c040daf158f92827b1f338ba6","ref":"refs/heads/master","pushedAt":"2023-07-07T09:00:17.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"nook24","name":"Daniel","path":"/nook24","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9019992?s=80&v=4"},"commit":{"message":"Merge pull request #432 from naemon/vscode\n\nSet LD_LIBRARY_PATH when running inside of VS Code to the correct loc…","shortMessageHtmlLink":"Merge pull request #432 from naemon/vscode"}},{"before":null,"after":"7dabe866e209ba8ae8e8822ab18b569867c1001f","ref":"refs/heads/vscode","pushedAt":"2023-07-07T07:58:56.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"nook24","name":"Daniel","path":"/nook24","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9019992?s=80&v=4"},"commit":{"message":"Set LD_LIBRARY_PATH when running inside of VS Code to the correct location\n\nSigned-off-by: nook24 ","shortMessageHtmlLink":"Set LD_LIBRARY_PATH when running inside of VS Code to the correct loc…"}},{"before":"12de0b011f2c1bb48306a2e9518b44b80c0ba2e4","after":"b5c28d2d370fcbedc1e20d0838d53b157aedb6a8","ref":"refs/heads/master","pushedAt":"2023-07-06T13:36:53.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"use dynamic sized command line buffer\n\nPreviously we used a fixed size 8k buffer when parsing command line arguments.\nThis sounds much, but there are command lines bigger than 8k and they are\nsimply cut off without any warning.\n\nInstead we use a dynamic sized buffer with the size of the raw command now.","shortMessageHtmlLink":"use dynamic sized command line buffer"}},{"before":"192f25c8ffe14b2b62777f56d0eb47b86387d8a0","after":"12de0b011f2c1bb48306a2e9518b44b80c0ba2e4","ref":"refs/heads/master","pushedAt":"2023-06-22T12:43:32.806Z","pushType":"pr_merge","commitsCount":6,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"remove comment_list\n\nit is not required anymore since we store comments in a hash table now.\n\nSigned-off-by: Sven Nierlein ","shortMessageHtmlLink":"remove comment_list"}},{"before":"cb8612cc339d5e006450e5c03c1260b547e48eea","after":"192f25c8ffe14b2b62777f56d0eb47b86387d8a0","ref":"refs/heads/master","pushedAt":"2023-05-22T05:37:01.511Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sni","name":"Sven Nierlein","path":"/sni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/150844?s=80&v=4"},"commit":{"message":"fix Werror=nonnull in close_command_file\n\nadd check if fp is not NULL because of:\n\n```\n[ 92s] In function 'close_command_file',\n[ 92s] inlined from 'close_command_file' at src/naemon/commands.c:171:5:\n[ 92s] src/naemon/commands.c:186:9: error: argument 1 null where non-null expected [-Werror=nonnull]\n[ 92s] 186 | fclose(command_file_fp);\n[ 92s] | ^~~~~~~~~~~~~~~~~~~~~~~\n[ 92s] In file included from src/naemon/objects_host.h:8,\n[ 92s] from src/naemon/comments.h:9,\n[ 92s] from src/naemon/commands.c:3:\n[ 92s] /usr/include/stdio.h: In function 'close_command_file':\n[ 92s] /usr/include/stdio.h:183:12: note: in a call to function 'fclose' declared 'nonnull'\n[ 92s] 183 | extern int fclose (FILE *__stream) __nonnull ((1));\n[ 92s] | ^~~~~~\n[ 93s] cc1: all warnings being treated as errors\n```\n\nSigned-off-by: Sven Nierlein ","shortMessageHtmlLink":"fix Werror=nonnull in close_command_file"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEGvo1vQA","startCursor":null,"endCursor":null}},"title":"Activity · naemon/naemon-core"}