1 (edited by dsp3 2018-04-04 18:03:45)

Topic: Netdata

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version: Centos 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? Pro
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

I have followed the steps to install Netdata. However, I'm getting a 404 Not Found when I try to access https://my-server/netdata/

From logs netdat error.log I see this:

2018-04-04 10:53:34: apps.plugin ERROR : MAIN : Cannot process /proc/14195/io (command 'postqueue') (errno 13, Permission denied)                                               │
2018-04-04 10:59:28: apps.plugin ERROR : MAIN : Cannot process /proc/14455/io (command 'postqueue') (errno 13, Permission denied)

Nginx error.log

[error] 13853#0: *1 "/var/www/html/netdata/index.php" is not found (2: No such file or directory), client: 62..xxx.xxx, server: _, request: "GET /netdata (2: No such file or directory)

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2 (edited by dsp3 2018-04-04 19:32:46)

Re: Netdata

I figured this out. In Nginx default.conf include /etc/nginx/templates/stub_status.tmpl; needs to be in the SSL section, not http.

However, I can not authenticate using the details set in netdata.users

3

Re: Netdata

dsp3 wrote:

However, I can not authenticate using the details set in netdata.users

Any error in Nginx log file?

4

Re: Netdata

ZhangHuangbin wrote:
dsp3 wrote:

However, I can not authenticate using the details set in netdata.users

Any error in Nginx log file?

user "postmaster@xxxx.xx": password mismatch, client: 213.xxx.xx.xxx, server: _, request: "GET /netdata/ HTTP/1.1",

The password in netdata.users is the one I'm using.

5

Re: Netdata

*) Try to turn on debug mode in Nginx, does it uses the "netdata.users" file?
*) How did you generate the user + password in "netdata.users" file?

6

Re: Netdata

Solved! Missed a character in the password