Nagios 4.3.2 service not running?

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.
Locked
User avatar
t3dus
Posts: 161
Joined: Thu Feb 04, 2016 3:46 pm
Location: IA
Contact:

Nagios 4.3.2 service not running?

Post by t3dus »

Just installed Nagios 4.3.2 on a fresh OS install of Ubuntu (I know instructions say to use CentOS).

Anyways if I put type in:

Code: Select all

service nagios status
it reports that it is running

Code: Select all

â— nagios.service - LSB: Example initscript
   Loaded: loaded (/etc/init.d/nagios; bad; vendor preset: enabled)
   Active: active (running) since Mon 2017-06-19 11:09:58 CDT; 3min 4s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 991 ExecStart=/etc/init.d/nagios start (code=exited, status=0/SUCCESS)
    Tasks: 6
   Memory: 6.1M
      CPU: 100ms
   CGroup: /system.slice/nagios.service
           ├─1000 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
           ├─1004 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
           ├─1005 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
           ├─1006 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
           ├─1007 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
           └─1048 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg

Jun 19 11:09:58 Orange nagios[1000]: nerd: Channel hostchecks registered successfully
Jun 19 11:09:58 Orange nagios[1000]: nerd: Channel servicechecks registered successfully
Jun 19 11:09:58 Orange nagios[1000]: nerd: Channel opathchecks registered successfully
Jun 19 11:09:58 Orange nagios[1000]: nerd: Fully initialized and ready to rock!
Jun 19 11:09:58 Orange nagios[1000]: wproc: Successfully registered manager as @wproc with query handler
Jun 19 11:09:58 Orange nagios[1000]: wproc: Registry request: name=Core Worker 1004;pid=1004
Jun 19 11:09:58 Orange nagios[1000]: wproc: Registry request: name=Core Worker 1005;pid=1005
Jun 19 11:09:58 Orange nagios[1000]: wproc: Registry request: name=Core Worker 1007;pid=1007
Jun 19 11:09:58 Orange nagios[1000]: wproc: Registry request: name=Core Worker 1006;pid=1006
Jun 19 11:09:58 Orange nagios[1000]: Successfully launched command file worker with pid 1048
but in the web interface it claims it isn't running.

Ideas on how to fix?
User avatar
t3dus
Posts: 161
Joined: Thu Feb 04, 2016 3:46 pm
Location: IA
Contact:

Re: Nagios 4.3.2 service not running?

Post by t3dus »

Nm. I figured out what the problem is.

I had to do the following:

Code: Select all

apt-get install fcgiwrap
and then

Code: Select all

a2enmod cgi
then rebooted apache2

Code: Select all

service apache2 restart
User avatar
lmiltchev
Former Nagios Staff
Posts: 13587
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios 4.3.2 service not running?

Post by lmiltchev »

@t3dus I am glad your issue has been resolved! Can we close this thread?
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
t3dus
Posts: 161
Joined: Thu Feb 04, 2016 3:46 pm
Location: IA
Contact:

Re: Nagios 4.3.2 service not running?

Post by t3dus »

yes plz do
Locked