Nagios running on CLI but not running on web interface

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.
Bumblebee
Posts: 9
Joined: Mon Jul 24, 2017 4:27 am

Nagios running on CLI but not running on web interface

Post by Bumblebee »

Nagios is running on CLI but not running on web interface.

pid is there in /usr/local/nagios/var/nagios.lock
Attachments
nagios.png
nagios.png (14.3 KiB) Viewed 5149 times
bolson

Re: Nagios running on CLI but not running on web interface

Post by bolson »

Hello Bumblebee,

Regarding your post from yesterday, were you able to confirm that PHP is installed? What method did you use to install Nagios Core?
Bumblebee
Posts: 9
Joined: Mon Jul 24, 2017 4:27 am

Re: Nagios running on CLI but not running on web interface

Post by Bumblebee »

I installed php and that issue is resolved.
Later I encountered with pid not running on dashboard issue
bolson

Re: Nagios running on CLI but not running on web interface

Post by bolson »

Please send me a copy of your profile, you can download it by going to Admin > System Config > System Profile and click the Download Profile button in the top right corner.

Thank you!
Bumblebee
Posts: 9
Joined: Mon Jul 24, 2017 4:27 am

Re: Nagios running on CLI but not running on web interface

Post by Bumblebee »

We were using nagios core where there is no admin tab and system config
bolson

Re: Nagios running on CLI but not running on web interface

Post by bolson »

Please run the following command and post the result:

Code: Select all

ps ax | grep nagios
bolson

Re: Nagios running on CLI but not running on web interface

Post by bolson »

Also the following command and post your result:

Code: Select all

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Bumblebee
Posts: 9
Joined: Mon Jul 24, 2017 4:27 am

Re: Nagios running on CLI but not running on web interface

Post by Bumblebee »

pe ax |grep nagios

15457 ? Ss 2:42 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
15458 ? S 0:01 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
15459 ? S 0:01 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
15460 ? S 0:02 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
15461 ? S 0:01 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
15462 ? S 0:01 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
15463 ? S 0:01 /usr/local/nagios/bin/nagios --worker /usr/local/nagios/var/rw/nagios.qh
15464 ? S 0:46 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
Bumblebee
Posts: 9
Joined: Mon Jul 24, 2017 4:27 am

Re: Nagios running on CLI but not running on web interface

Post by Bumblebee »

/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg


Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
Checked 8 services.
Checked 1 hosts.
Checked 1 host groups.
Checked 0 service groups.
Checked 1 contacts.
Checked 1 contact groups.
Checked 24 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 1 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check
bolson

Re: Nagios running on CLI but not running on web interface

Post by bolson »

How did you install Nagios? How did you install PHP? Did you use a how-to document? If so, which one? Which operating system / version are you running?
Locked