Nagios Log Server Web-Page wont load
-
ColeNagios
- Posts: 3
- Joined: Wed Sep 16, 2020 4:49 pm
Nagios Log Server Web-Page wont load
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?
Re: Nagios Log Server Web-Page wont load
Can you run:
If it doesn't say "active (running)" it's not running. Start it by running
If you have further issues, we'll dig deeper.
Code: Select all
sudo service apache2 statusCode: Select all
sudo service apache2 restartIf 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.
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
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.
sudo service apache2 status
Redirecting to /bin/systemctl status apache2.service
Unit apache2.service could not be found.
Re: Nagios Log Server Web-Page wont load
Sometimes the distro calls it "apache" or "httpd" instead of "apache2" so you could try a variant:
What distro are you running?
Code: Select all
sudo service httpd restart
sudo service apache restartIf 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.
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
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
This command worked, but now the website is taking hours to load and once it dose it denies credentials. Any Ideas
Re: Nagios Log Server Web-Page wont load
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:
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:
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:
The file it creates and that we'd like to see is /tmp/nagioslogserver.tar.gz.
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
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
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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.