Page 2 of 2

Re: Nagios 4 (4.10 RC1) Startup (SuSE 13.2)

Posted: Wed Apr 29, 2015 2:20 pm
by jdalrymple
lvlammert wrote:Is there a way to get the nagios init script running on systemd?
Like I said - it works in EL7. I'm not a SUSE expert (or even novice) so I don't know what changes they've made that are breaking it. That said what I can offer is a rudimentary service script that works in EL7:

Code: Select all

[Unit]
Description=Nagios Core Monitoring Daemon
After=network.target

[Service]
User=nagios
Group=nagios
Type=forking
ExecStart=/usr/lib/systemd/scripts/nagios start
ExecStop=/usr/lib/systemd/scripts/nagios stop

[Install]
WantedBy=multi-user.target
You'll need to move your existing init script to the location specified. (copy instead of move otherwise XI will break - it may anyway)

-- edit --
Added the bit about XI