Git Product home page Git Product logo

deb-icinga2's People

Contributors

crunsher avatar formorer avatar gunnarbeutner avatar lazyfrosch avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deb-icinga2's Issues

Please add Watchdog handling to icinga2.service file

In spite of my ticket Icinga/icinga2#6484 in the main repo and the ticket #4 in this repo, the latest release still does not contain the WatchdogSeconds handling in the systemd unit.

Enabling it will ensure that a hanging Icinga will be restarted by systemd, because it did not ping the notification socket within the timeout:

WatchdogSec=5m

You can pick the appropriate timeout value.

Disable configuration of icinga2-ido-pgsql via selection does not work

Expected Behavior

Using the following lines

icinga2-ido-pgsql icinga2-ido-pgsql/dbconfig-install boolean false
icinga2-ido-pgsql icinga2-ido-pgsql/enable boolean false

by debconf-set-selections disables the configuration of the feature.

Current Behavior

Only on debian jessie: after the installation, configures still ask i.g. for a password to set. On debian stretch, ubuntu xenial and bionic works fine.

systemd file out of date

Formerly Icinga/icinga2#6082

Information from the original topic below. Thanks to @tmatthaeus for reporting this issue.
After a reload of icinga2 there is no icinga2 process via /etc/init.d/icinga2 reload there is no icinga2 process anymore.

OS: Debian 9.3
Icinga Version:

icinga2                                   2.8.1+406.g407a2d052.2018.02.07+1.stretch-0 amd64
icinga2-bin                               2.8.1+406.g407a2d052.2018.02.07+1.stretch-0 amd64
icinga2-common                            2.8.1+406.g407a2d052.2018.02.07+1.stretch-0 all
icinga2-doc                               2.8.1+406.g407a2d052.2018.02.07+1.stretch-0 all
icinga2-ido-mysql                         2.8.1+406.g407a2d052.2018.02.07+1.stretch-0 amd64
libicinga2                                2.8.1+406.g407a2d052.2018.02.07+1.stretch-0 amd64

Debug Logfile output:

[2018-02-07 09:11:06 +0100] information/Application: Got reload command: Starting new instance.
[2018-02-07 09:11:06 +0100] notice/Process: Running command '/usr/lib/x86_64-linux-gnu/icinga2/sbin/icinga2' '--no-stack-rlimit' 'daemon' '-e' '/var/log/icinga2/error.log' '--reload-internal' '27264': PID 27446
[2018-02-07 09:11:07 +0100] debug/IdoMysqlConnection: Query: COMMIT
[2018-02-07 09:11:07 +0100] debug/IdoMysqlConnection: Query: BEGIN
[2018-02-07 09:11:07 +0100] information/Application: Reload requested, letting new process take over.

After that no output anymore and no icinga2 process is running anymore.

icinga2-ido-mysql fails to init database if being installed together with mariadb-server

Steps to reproduce

  1. Spin up a fresh Debian 9 system – either bare metal or fully virtualized
  2. # wget -O - https://packages.icinga.com/icinga.key | apt-key add -
# cat <<EOF >>/etc/apt/sources.list
deb http://packages.icinga.com/debian icinga-stretch main
deb-src http://packages.icinga.com/debian icinga-stretch main
EOF
  1. # apt update
  2. # apt install icinga2-{bin,ido-mysql} mariadb-server
    • "Enable Icinga 2's ido-mysql feature?" – yes
    • "Configure database for icinga2-ido-mysql with dbconfig-common?" – yes
    • "MySQL application password for icinga2-ido-mysql:" – "123456"
    • "Password confirmation:" – "123456"
    • "Password of the database's administrative user:" (what for?) – ""

Result

"An error occurred while installing the database: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") . (...)"

Missing file / wrong config for latest icinga2-package

Hi there,

I've just received the icinga2 r2.10.0-1 packages via packages.icinga.org and hit a nasty bug as far as I can see, as the service fails a restart after installing:

root@server:~# service icinga2 restart
Job for icinga2.service failed. See 'systemctl status icinga2.service' and 'journalctl -xn' for details.

this seems to be caused by either a wrong icinga2.service file for systemd or a missing file - don't know what the expected correct state is.

root@server:~# systemctl status icinga2.service
...
Oct 12 09:06:43 server systemd[1]: Failed to load environment files: No such file or directory
...

root@server:~# less /etc/systemd/system/multi-user.target.wants/icinga2.service
[Service]
Type=simple
UMask=0007
EnvironmentFile=/usr/lib/icinga2/icinga2

the above mentioned file does not exist, hence restarting/installing wil fail:

root@server:/usr/lib/icinga2# ls
prepare-dirs  safe-reload

Edit: Encountered only on Debian 8.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.