Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed: Naemon stops executing checks and doesnt respawn Core Worker #419 #421

Merged
merged 19 commits into from
Jan 3, 2024

Commits on Feb 27, 2023

  1. Configuration menu
    Copy the full SHA
    347c547 View commit details
    Browse the repository at this point in the history
  2. Update workers.c

    Fixed the indentation stuff...
    ccztux committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    bf8bf43 View commit details
    Browse the repository at this point in the history
  3. Update workers.c

    Comment changed.
    ccztux committed Feb 27, 2023
    Configuration menu
    Copy the full SHA
    302af62 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Configuration menu
    Copy the full SHA
    8f830cb View commit details
    Browse the repository at this point in the history
  2. Call wproc_destroy with the WPROC_FORCE flag, whenever a Naemon worke…

    …r process dies.
    
    This will cleanup any <defunct> processes. I'm not sure why the WPROC_FORCE flag exists
    at all. Maybe this could cause problems, when external workers not spawned by Naemon itself connect to the Query Handler?
    The original commit ec4dc03 from 10 years ago did not contain more information about this
    
    Signed-off-by: nook24 <[email protected]>
    nook24 committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    3b9b2f0 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2023

  1. Configuration menu
    Copy the full SHA
    adfcd8f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b244658 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7940a81 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2023

  1. Do not crash if wps is NULL. This could happen if a core worker dies …

    …and gets respawned
    
    Signed-off-by: nook24 <[email protected]>
    nook24 committed Mar 23, 2023
    Configuration menu
    Copy the full SHA
    d6c4c6e View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2023

  1. use dynamic sized command line buffer

    Previously we used a fixed size 8k buffer when parsing command line arguments.
    This sounds much, but there are command lines bigger than 8k and they are
    simply cut off without any warning.
    
    Instead we use a dynamic sized buffer with the size of the raw command now.
    sni committed Jul 6, 2023
    Configuration menu
    Copy the full SHA
    b5c28d2 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2023

  1. Configuration menu
    Copy the full SHA
    7dabe86 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #432 from naemon/vscode

    Set LD_LIBRARY_PATH when running inside of VS Code to the correct loc…
    nook24 committed Jul 7, 2023
    Configuration menu
    Copy the full SHA
    7558c98 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2023

  1. be more specific when unloading a neb module

    Print the current and expected api version number along with the error.
    This gives a hint about wether the neb module is too new or too old.
    sni committed Aug 31, 2023
    Configuration menu
    Copy the full SHA
    59f73c0 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Configuration menu
    Copy the full SHA
    d24cc50 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2023

  1. add systemd to build requires

    this (should) fix this build error on obs:
    ```
    [  139s] /.build_patchrpmcheck_scr: line 55: systemd-tmpfiles: command not found
    [  139s] postinstall script of naemon-core-1.4.1-lp154.18.1.x86_64.rpm failed
    ```
    sni committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    ffeecc1 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. write objects.precache in tmp file first, then move it

    It's a good standard to do so and in fact, we do this already in several
    places, ex. the status.dat. This ensures the file is ready and completly
    written before it will be used.
    
    The issue here is, that naemon starts without any issues if the precached file
    is empty for any reason. Except it has zero hosts/services then and removes all
    existing states/downtime/comments.
    
    Signed-off-by: Sven Nierlein <[email protected]>
    sni committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    660bd29 View commit details
    Browse the repository at this point in the history
  2. fix typo in comment

    left over from copy/pasted code.
    sni committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    83b25ec View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Configuration menu
    Copy the full SHA
    61374fa View commit details
    Browse the repository at this point in the history
  2. Remove debugging output

    Signed-off-by: nook24 <[email protected]>
    nook24 committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    b829a68 View commit details
    Browse the repository at this point in the history