Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
venkatesh ch
Posts: 5 Joined: Mon Jun 23, 2014 10:37 am
Post
by venkatesh ch » Tue Jun 24, 2014 11:23 am
Hi ,
I just started installing nagios 4.0.7 and nagios plugin 2.0 on suse linux 11 sever using quick start guide.
link :
http://nagios.sourceforge.net/docs/3_0/ ... nsuse.html
i have observed below error while starting nagios service.
Code: Select all
rdatgen4588:/usr/local/nagios # chkconfig --add nagios
insserv: Script nagios is broken: incomplete LSB comment.
insserv: missing `Default-Start:' entry: please add even if empty.
insserv: Script nagios is broken: incomplete LSB comment.
insserv: missing `Default-Start:' entry: please add even if empty.
insserv: Script nagios is broken: incomplete LSB comment.
insserv: missing `Default-Start:' entry: please add even if empty.
insserv: Script nagios is broken: incomplete LSB comment.
insserv: missing `Default-Start:' entry: please add even if empty.
insserv: Script nagios is broken: incomplete LSB comment.
insserv: missing `Default-Start:' entry: please add even if empty.
insserv: warning: current stop runlevel(s) (3 5) of script `nagios' overwrites defaults (empty).
insserv: Default-Start undefined, assuming default start runlevel(s) for script `nagios'
nagios 0:off 1:off 2:off 3:on 4:off 5:on 6:off
rdatgen4588:/usr/local/nagios #
could some one please help me to fix it.
lvlammert
Posts: 19 Joined: Thu Jun 07, 2012 3:54 pm
Post
by lvlammert » Thu Sep 24, 2015 10:17 am
Installed 4.1.1 from source on debian, .. same problem; the init script in the Exchange DNW either.
Would anyone have an 'installable' init script for Debian 7.1?
lvlammert
Posts: 19 Joined: Thu Jun 07, 2012 3:54 pm
Post
by lvlammert » Thu Sep 24, 2015 10:34 am
FYI, .. after some experimentation this appears to work:
### BEGIN INIT INFO
# Provides: nagios
# Required-Start: $local_fs $syslog $network
# Required-Stop: $local_fs $syslog $network
# Short-Description: Start and Stop Nagios monitoring server
# Description: Nagios is is a service monitoring system
# Default-Start: start
# Default-Stop: stop
### END INIT INFO
hsmith
Agent Smith
Posts: 3539 Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:
Post
by hsmith » Thu Sep 24, 2015 1:47 pm
Thanks for sharing! Is there anything else we can do to help you out?
Former Nagios Employee.
me.