I cannot access nagios using web/ip/localhost
But when i use `sudo service nagios status` It shows running/active
Can anyone please help me to fix this issue.
Cannot access nagios thorugh web/ip
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Cannot access nagios thorugh web/ip
Hello, @hema12. Were you able to access the web UI before? How long ago did this start to happen? What error are you getting?
Please upload the following file here:
Please run the following command:
And while the command is running try to access the web interface.
After you get an error wait 5 seconds and then upload the /tmp/nagios.txt file here.
Please upload the following file here:
Code: Select all
/etc/httpd/conf.d/nagios.cfg
Code: Select all
tail -f * > /tmp/nagios.txt
After you get an error wait 5 seconds and then upload the /tmp/nagios.txt file here.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Cannot access nagios thorugh web/ip
@npolovenko thank you for your response
Now i am getting 401 unauthorised error.
/etc/httpd/conf.d/nagios.cfg
No such file directory
tail -f * > /tmp/nagios.txt
tail: cannot open '*' for reading: No such file or directory
tail: no files remaining
PLease help
Now i am getting 401 unauthorised error.
Code: Select all
curl http://public ip/nagios
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>401 Unauthorized</title>
</head><body>
<h1>Unauthorized</h1>
<p>This server could not verify that you
are authorized to access the document
requested. Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.</p>
</body></html>
No such file directory
tail -f * > /tmp/nagios.txt
tail: cannot open '*' for reading: No such file or directory
tail: no files remaining
PLease help
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Cannot access nagios thorugh web/ip
@hema12, So when you type the link in the web browser it gets you to the login page, but when you enter the username and password it shows the 401 page. Has this user account worked in the past? Do any user accounts work right now? We could try to reset the password for that user.
Code: Select all
sudo htpasswd -c /usr/local/nagios/etc/htpasswd.users username
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Cannot access nagios thorugh web/ip
Hey hi,
Thanks a lot for your time..
I fixed that issue. Can you please help me with monitoring disk space and cpu usage of client machine .
I am getting command not found.
Thanks a lot for your time..
I fixed that issue. Can you please help me with monitoring disk space and cpu usage of client machine .
I am getting command not found.
-
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Cannot access nagios thorugh web/ip
@hema12, Sure. Could you open a new thread for this new question?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.