Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

[dev.icinga.com #6866] update documentation for systemd usage #455

Closed
icinga-migration opened this issue Aug 6, 2014 · 6 comments
Closed

Comments

@icinga-migration
Copy link

This issue has been migrated from Redmine: https://dev.icinga.com/issues/6866

Created by mfriedrich on 2014-08-06 18:58:23 +00:00

Assignee: Wolfgang
Status: Closed (closed on 2015-05-01 12:44:32 +00:00)
Target Version: (none)
Last Update: 2015-05-01 12:44:32 +00:00 (in Redmine)


On RHEL/CentOS 7, Fedora 20, Debian Jessie, Gentoo, etc you can now use Systemd instead of the Sysvinit system.

Icinga 1.x already got the required systemd files patched into, and the rpms natively install them.

Installing from source may require the following

# ./configure [...] --with-systemd-unit-dir=/usr/lib/systemd/system --with-systemd-sysconfig-dir=/etc/sysconfig
# make install-systemd

Then enable the systemd service and start icinga.

# systemctl enable icinga
# systemctl start icinga

Status

# systemctl status icinga
+icinga.service - Icinga Open-Source Monitoring System
   Loaded: loaded (/usr/lib/systemd/system/icinga.service; enabled)
   Active: active (running) since Mi 2014-08-06 20:52:21 CEST; 3s ago
  Process: 3261 ExecStartPre=/usr/bin/icinga $ICINGA_VERIFY_OPTS (code=exited, status=0/SUCCESS)
 Main PID: 3269 (icinga)
   CGroup: /system.slice/icinga.service
           └─3269 /usr/bin/icinga /etc/icinga/icinga.cfg

Note: There is no checkconfig/show-errors custom parameter in the systemd unit available as known from sysvinit.

Icinga 2 got that documented here: http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc\#!/icinga2/latest/doc/module/icinga2/chapter/getting-started#systemd-service


Relations:

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-08-06 18:58:36 +00:00

  • Relates set to 6710

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2014-12-08 08:54:29 +00:00

  • Target Version changed from 1.12 to 1.12.1

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-02-14 23:05:46 +00:00

  • Target Version changed from 1.12.1 to 1.13

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-03-12 19:39:13 +00:00

  • Target Version deleted 1.13

@icinga-migration
Copy link
Author

Updated by Wolfgang on 2015-03-22 12:24:11 +00:00

  • Status changed from New to Assigned
  • Assigned to set to mfriedrich
  • Done % changed from 0 to 80

Probably fixed with commit da36b21 (2014.11.17)

@icinga-migration
Copy link
Author

Updated by mfriedrich on 2015-05-01 12:44:33 +00:00

  • Status changed from Assigned to Closed
  • Assigned to changed from mfriedrich to Wolfgang

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant