Welcome! Log In Create A New Profile

Advanced

Config problems with Amplify

Posted by Palvelin Postmaster via nginx 
Palvelin Postmaster via nginx
Config problems with Amplify
September 10, 2018 02:10PM
Hi,

my nginx config hierarchy is:

/etc/nginx/nginx.conf (commented out except for a single include directive of /etc/nginx/conf.d/*.conf)
/etc/nginx/conf.d/default.conf (server-wider config directives and an include of /etc/nginx/sites-enabled/*.conf)
/etc/nginx/sites-enabled/domainX.conf (multiple vhost conf files each named accordingly)

With default configuration, the amplify service doesn’t receive any data and I have two Nginx entries in my Amplify Graphs page. One with /etc/nginx/nginx.conf and one with /etc/nginx/conf.d/default.conf

If I add:

configfile = /etc/nginx/conf.d/default.conf

to my /etc/amplify-agent/agent.conf (and restart it), I get data to the /etc/nginx/conf.d/default.conf but not the /etc/nginx/nginx.conf entry.

How should I setup Amplify to get a single entry (or should each vhost actually have it’s own entry)?

--
Palvelin.fi Hostmaster
postmaster@palvelin.fi

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Maxim Konovalov
Re: Config problems with Amplify
September 10, 2018 02:50PM
Hi Palvelin,

it makes sense to open a support case -- click on a chat icon in the
bottom-right corner.

On 10/09/2018 15:06, Palvelin Postmaster via nginx wrote:
> Hi,
>
> my nginx config hierarchy is:
>
> /etc/nginx/nginx.conf (commented out except for a single include directive of /etc/nginx/conf.d/*.conf)
> /etc/nginx/conf.d/default.conf (server-wider config directives and an include of /etc/nginx/sites-enabled/*.conf)
> /etc/nginx/sites-enabled/domainX.conf (multiple vhost conf files each named accordingly)
>
> With default configuration, the amplify service doesn’t receive any data and I have two Nginx entries in my Amplify Graphs page. One with /etc/nginx/nginx.conf and one with /etc/nginx/conf.d/default.conf
>
> If I add:
>
> configfile = /etc/nginx/conf.d/default.conf
>
> to my /etc/amplify-agent/agent.conf (and restart it), I get data to the /etc/nginx/conf.d/default.conf but not the /etc/nginx/nginx.conf entry.
>
> How should I setup Amplify to get a single entry (or should each vhost actually have it’s own entry)?
>
> --
> Palvelin.fi Hostmaster
> postmaster@palvelin.fi
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>


--
Maxim Konovalov
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Palvelin Postmaster via nginx
Re: Config problems with Amplify
September 10, 2018 03:30PM
What chat icon? Where?


> On 10 Sep 2018, at 15:45, Maxim Konovalov <[email protected]> wrote:
>
> Hi Palvelin,
>
> it makes sense to open a support case -- click on a chat icon in the
> bottom-right corner.
>
> On 10/09/2018 15:06, Palvelin Postmaster via nginx wrote:
>> Hi,
>>
>> my nginx config hierarchy is:
>>
>> /etc/nginx/nginx.conf (commented out except for a single include directive of /etc/nginx/conf.d/*.conf)
>> /etc/nginx/conf.d/default.conf (server-wider config directives and an include of /etc/nginx/sites-enabled/*.conf)
>> /etc/nginx/sites-enabled/domainX.conf (multiple vhost conf files each named accordingly)
>>
>> With default configuration, the amplify service doesn’t receive any data and I have two Nginx entries in my Amplify Graphs page. One with /etc/nginx/nginx.conf and one with /etc/nginx/conf.d/default.conf
>>
>> If I add:
>>
>> configfile = /etc/nginx/conf.d/default.conf
>>
>> to my /etc/amplify-agent/agent.conf (and restart it), I get data to the /etc/nginx/conf.d/default.conf but not the /etc/nginx/nginx.conf entry.
>>
>> How should I setup Amplify to get a single entry (or should each vhost actually have it’s own entry)?
>>
>> --
>> Palvelin.fi Hostmaster
>> postmaster@palvelin.fi
>>
>> _______________________________________________
>> nginx mailing list
>> nginx@nginx.org
>> http://mailman.nginx.org/mailman/listinfo/nginx
>>
>
>
> --
> Maxim Konovalov


--
Palvelin.fi Hostmaster
postmaster@palvelin.fi

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Maxim Konovalov
Re: Config problems with Amplify
September 10, 2018 03:30PM
On 10/09/2018 16:19, Palvelin Postmaster via nginx wrote:
> What chat icon? Where?

Please see on the screenshort attached.

--
Maxim Konovalov
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Attachments:
open | download - amplify-analyzer.png (363.9 KB)
Palvelin Postmaster via nginx
Re: Config problems with Amplify
September 10, 2018 03:40PM
> On 10 Sep 2018, at 16:27, Maxim Konovalov <[email protected]> wrote:
>
> On 10/09/2018 16:19, Palvelin Postmaster via nginx wrote:
>> What chat icon? Where?
>
> Please see on the screenshort attached.

Facepalm myself :D


--
Palvelin.fi Hostmaster
postmaster@palvelin.fi

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Sorry, only registered users may post in this forum.

Click here to login