Nagios Log Server Web-Page wont load

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
ColeNagios
Posts: 3
Joined: Wed Sep 16, 2020 4:49 pm

Nagios Log Server Web-Page wont load

Post by ColeNagios »

I am new to this, We set up a Nagios Log Server and have been running it for a few weeks. Just recently the Web page decided to stop working we can SSH into the server but we cant view the webpage. Any ideas?
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios Log Server Web-Page wont load

Post by dchurch »

Can you run:

Code: Select all

sudo service apache2 status
If it doesn't say "active (running)" it's not running. Start it by running

Code: Select all

sudo service apache2 restart
If you have further issues, we'll dig deeper.
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
ColeNagios
Posts: 3
Joined: Wed Sep 16, 2020 4:49 pm

Re: Nagios Log Server Web-Page wont load

Post by ColeNagios »

When I run that command this is what I get.

sudo service apache2 status
Redirecting to /bin/systemctl status apache2.service
Unit apache2.service could not be found.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Nagios Log Server Web-Page wont load

Post by dchurch »

Sometimes the distro calls it "apache" or "httpd" instead of "apache2" so you could try a variant:

Code: Select all

sudo service httpd restart
sudo service apache restart
What distro are you running?
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
ColeNagios
Posts: 3
Joined: Wed Sep 16, 2020 4:49 pm

Re: Nagios Log Server Web-Page wont load

Post by ColeNagios »

sudo service httpd restart

This command worked, but now the website is taking hours to load and once it dose it denies credentials. Any Ideas
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios Log Server Web-Page wont load

Post by cdienger »

Are you testing with the nagiosadmin account or another account?

What does the disk usage look like if you run "df -h" ? Instructions for increasing the size of the disk on the OVA install can be found at https://support.nagios.com/kb/article.php?id=814 if the drive is full.

Please send a profile from the system through private message. It can be gathered under Admin > System > System Status > Download System Profile or from the command line with:

Code: Select all

/usr/local/nagioslogserver/scripts/profile.sh
This will create /tmp/system-profile.tar.gz.

Note that this file can be very large and may not be able to be uploaded through the ticketing system. You can split the file into smaller files with the split command on the NLS(or other Linux machine) command line:

Code: Select all

split -b 5000000 /tmp/system-profile.tar.gz
The above command will split the system-profile.tar.gz into 5MB segments.

I'd also like to get a copy of the current settings index. This can be gathered by running:

Code: Select all

curl -XPOST http://localhost:9200/nagioslogserver/_export?path=/tmp/nagioslogserver.tar.gz
The file it creates and that we'd like to see is /tmp/nagioslogserver.tar.gz.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked