librenms / docker

LibreNMS Docker image
MIT License
647 stars 272 forks source link

Fresh install can't capture debug information #98

Closed blakeaa827 closed 4 years ago

blakeaa827 commented 4 years ago

Hello,

I started having polling issues on my current install. So I created a fresh environment for troubleshooting, and I'm seeing similar behavior under this fresh installation. I cloned the git project and copied the files from the example directory for compose. I updated the environment variables as appropriate, and brought everything up with compose. I am able to log into the new instance using the default librenms user. I am also able to successfully add a device, which indicates to me SNMP is working. However when I try to capture the SNMP communication using the debug utility from the web ui, nothing works. Chrome/Edge just give a blank grey box without any information. Firefox at least provides the following when I click "Run":

<html>
<head><title>404 Not Found</title></head>
<body>
<center><h1>404 Not Found</h1></center>
<hr><center>nginx</center>
</body>
</html>

This worked without any issues a couple of weeks ago. I also checked the librenms log file, and identified that it's not being updated with any messages when I click "run" from the debug utility.

Thanks, and please let me know if I can provide additional information.

mzac commented 4 years ago

Interesting I have the same issue. Running in k3s with the dispatcher service.

crazy-max commented 4 years ago

@blakeaa827 Have you applied the Upgrade notes?

mzac commented 4 years ago

I updated the base_url and that fixed the discovery portion, but as per the other issue #97 my rrd files are still not getting updated.

blakeaa827 commented 4 years ago

@blakeaa827 Have you applied the Upgrade notes?

Thanks for the suggestion. I have updated that with the ip address of the server and restarted the containers. The debug page is still giving the same result, 404.

crazy-max commented 4 years ago

@blakeaa827

The debug page is still giving the same result, 404.

I'm not aware of that kind of page. What is the base url of it? Also if you need further help, please create a proper bug report.

mzac commented 4 years ago

http://librenms.lab.local/device/4/capture is the page for example

murrant commented 4 years ago

capture is not for manually running discovery/polling. It is for troubleshooting. It will not update RRDs.

crazy-max commented 4 years ago

@mzac @blakeaa827 Latest image (1.65.1) should solve the base_url issue through the LIBRENMS_BASE_URL env var (default to /).

mzac commented 4 years ago

Thanks I'll check it out later tonight!