Page 1 of 2
Nagios running on CLI but not running on web interface
Posted: Tue Jul 25, 2017 4:52 am
by Bumblebee
Nagios is running on CLI but not running on web interface.
pid is there in /usr/local/nagios/var/nagios.lock
Re: Nagios running on CLI but not running on web interface
Posted: Tue Jul 25, 2017 9:51 am
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?
Re: Nagios running on CLI but not running on web interface
Posted: Wed Jul 26, 2017 12:48 am
by Bumblebee
I installed php and that issue is resolved.
Later I encountered with pid not running on dashboard issue
Re: Nagios running on CLI but not running on web interface
Posted: Wed Jul 26, 2017 9:13 am
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!
Re: Nagios running on CLI but not running on web interface
Posted: Thu Jul 27, 2017 1:37 am
by Bumblebee
We were using nagios core where there is no admin tab and system config
Re: Nagios running on CLI but not running on web interface
Posted: Thu Jul 27, 2017 9:15 am
by bolson
Please run the following command and post the result:
Re: Nagios running on CLI but not running on web interface
Posted: Thu Jul 27, 2017 9:16 am
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
Re: Nagios running on CLI but not running on web interface
Posted: Mon Jul 31, 2017 1:43 am
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
Re: Nagios running on CLI but not running on web interface
Posted: Mon Jul 31, 2017 1:44 am
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
Re: Nagios running on CLI but not running on web interface
Posted: Mon Jul 31, 2017 10:12 am
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?