Welcome to Centmin Mod Community
Register Now

Nginx Nginx Amplify Open Source Monitoring Service

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Nov 18, 2015.

  1. rdan

    rdan Well-Known Member

    5,444
    1,407
    113
    May 25, 2014
    Ratings:
    +2,200
    Local Time:
    11:54 PM
    Mainline
    10.2
    Email sent to you directly :D.

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    1:54 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yay I'm in on Nginx Amplify thanks @Eugene Morozov :)

    looks like some errors due to OpenVZ virtualized VPS server ?

    in /var/log/amplify-agent/agent.log
    Code (Text):
    2015-11-26 11:46:04,013 [26231] nginx_metrics get http://127.0.0.1:80/nginx_status 200 10 102 0.003
    2015-11-26 11:46:26,356 [26231] sys_metrics failed to collect disk_io_counters due to OSError
    2015-11-26 11:46:26,385 [26231] nginx_metrics get http://127.0.0.1:80/nginx_status 200 10 102 0.002
    2015-11-26 11:46:48,790 [26231] sys_metrics failed to collect disk_io_counters due to OSError
    2015-11-26 11:46:48,818 [26231] nginx_metrics get http://127.0.0.1:80/nginx_status 200 10 102 0.002
    2015-11-26 11:46:48,869 [26231] supervisor post https://receiver.amplify.nginx.com:443/1.0/myapikey/agent/ 200 90 3 0.024
    2015-11-26 11:46:57,706 [26231] bridge post https://receiver.amplify.nginx.com:443/1.0/myapikey/meta/ 202 1276 0 0.024
    2015-11-26 11:46:57,723 [26231] bridge post https://receiver.amplify.nginx.com:443/1.0/myapikey/metrics/ 202 851 0 0.014
    2015-11-26 11:46:58,272 [26231] sys_meta failed to collect meta lscpu due to AmplifySubprocessError
    2015-11-26 11:47:11,209 [26231] sys_metrics failed to collect disk_io_counters due to OSError
    2015-11-26 11:47:11,238 [26231] nginx_metrics get http://127.0.0.1:80/nginx_status 200 10 102 0.003
    


    bug report sys_metrics failed to collect disk_io_counters due to OSError · Issue #10 · nginxinc/nginx-amplify-agent · GitHub
     
    Last edited: Nov 26, 2015
  3. pamamolf

    pamamolf Premium Member Premium Member

    4,077
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    5:54 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Email sent :)
     
  4. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    10:54 AM
    latest
    10
    @Eugene Morozov - How would I delete a current monitor? I need to reinstall one because It's says nginx isn't running and is down but it's not.
     
  5. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    1:54 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  6. pamamolf

    pamamolf Premium Member Premium Member

    4,077
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    5:54 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    For me it was fail to install :(

    Code:
     3. Checking python version ... found python 2.6
    4. Checking OS compatibility .../etc/centos-release:CentOS release 6.7 (Final)
    /etc/redhat-release:CentOS release 6.7 (Final)
    /etc/system-release:CentOS release 6.7 (Final)
    centos detected.
    5. Adding public key ... done.
    6. Adding repository config ... added.
    7. Updating repository ...
    
    Loaded plugins: fastestmirror, priorities, security
    Loading mirror speeds from cached hostfile
    epel/metalink                                                                                                                   |  25 kB     00:00
    * base: centos.mirror.fr.planethoster.net
    * epel: mirrors.ircam.fr
    * extras: centos.quelquesmots.fr
    * rpmforge: mirrors.ircam.fr
    * updates: centos.mirror.fr.planethoster.net
    base                                                                                                                            | 3.7 kB     00:00
    base/group_gz                                                                                                                   | 219 kB     00:00
    base/filelists_db                                                                                                               | 6.3 MB     00:00
    base/other_db                                                                                                                   | 2.8 MB     00:00
    epel                                                                                                                            | 4.3 kB     00:00
    epel/group_gz                                                                                                                   | 149 kB     00:00
    epel/filelists_db                                                                                                               | 8.1 MB     00:00
    epel/updateinfo                                                                                                                 | 703 kB     00:00
    epel/primary_db                                                                                                                 | 5.8 MB     00:00
    epel/other_db                                                                                                                   | 2.9 MB     00:00
    extras                                                                                                                          | 3.4 kB     00:00
    extras/filelists_db                                                                                                             |  36 kB     00:00
    extras/prestodelta                                                                                                              |  601 B     00:00
    extras/other_db                                                                                                                 |  47 kB     00:00
    mariadb                                                                                                                         | 2.9 kB     00:00
    mariadb/filelists_db                                                                                                            |  87 kB     00:00
    mariadb/other_db                                                                                                                | 4.8 kB     00:00
    newrelic                                                                                                                        |  951 B     00:00
    newrelic/filelists                                                                                                              | 4.5 kB     00:00
    newrelic/other                                                                                                                  | 3.4 kB     00:00
    newrelic                                                                                                                                         94/94
    newrelic                                                                                                                                         94/94
    nginx-amplify                                                                                                                   | 2.9 kB     00:00
    nginx-amplify/filelists_db                                                                                                      |  35 kB     00:00
    nginx-amplify/primary_db                                                                                                        |  10 kB     00:00
    nginx-amplify/other_db                                                                                                          | 3.9 kB     00:00
    rpmforge                                                                                                                        | 1.9 kB     00:00
    rpmforge/filelists_db                                                                                                           | 2.3 MB     00:00
    rpmforge/other_db                                                                                                               | 575 kB     00:00
    updates                                                                                                                         | 3.4 kB     00:00
    updates/filelists_db                                                                                                            | 2.1 MB     00:00
    updates/prestodelta                                                                                                             | 210 kB     00:00
    updates/other_db                                                                                                                |  31 MB     00:01
    Metadata Cache Created
    
    7. Updating repository ... done.
    8. Installing package ...
    
    Loaded plugins: fastestmirror, priorities, security
    Setting up Install Process
    Loading mirror speeds from cached hostfile
    * base: centos.mirror.fr.planethoster.net
    * epel: mirrors.ircam.fr
    * extras: centos.quelquesmots.fr
    * rpmforge: mirrors.ircam.fr
    * updates: centos.mirror.fr.planethoster.net
    1596 packages excluded due to repository priority protections
    No package nginx-amplify-agent available.
    Error: Nothing to do
    8. Installing package ... failed.
    Running the two commands as root on a dedicated server..... :(
     
  7. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    10:54 AM
    latest
    10
     
  8. pamamolf

    pamamolf Premium Member Premium Member

    4,077
    427
    83
    May 31, 2014
    Ratings:
    +833
    Local Time:
    5:54 PM
    Nginx-1.25.x
    MariaDB 10.3.x
    Ok thanks i did the edit and is working now :)
     
  9. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    10:54 AM
    latest
    10
    Anyone else Monitors showing red? All mine are showing that nginx is down but their not.
     
  10. Ahmad

    Ahmad Active Member

    209
    80
    28
    Apr 13, 2015
    Ratings:
    +150
    Local Time:
    4:54 PM
    1.9.9
    10.1.10
    Nope, working fine here.
     
  11. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    1:54 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah working fine here..

    are these new Centmin Mod 123.08stable and higher installs ? or older ones ?

    check your logs at /var/log/amplify-agent/agent.log for clues (note your api key is logged there so want to filter it out before posting here or in pastebin/gist)
     
  12. Robust

    Robust Member

    49
    3
    8
    Jun 14, 2015
    Ratings:
    +5
    Local Time:
    1:54 AM
    1.9.7
    10.1
    I got an email about it from nginx pro. I signed up to it. I was sent an invitation, never signed up (yet).
     
  13. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    1:54 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    nginx pro or nginx plus ? this is different for Nginx Amplify :)
     
  14. Robust

    Robust Member

    49
    3
    8
    Jun 14, 2015
    Ratings:
    +5
    Local Time:
    1:54 AM
    1.9.7
    10.1
    plus* even. I'm signed up to one of their marketing newsletters, somehow.

    [​IMG]

    I replied with interest and got this sent back, looks like the generic one everyone gets. Then I got another email with more info. Haven't had time to further look into it, but it seemed interesting.
     
  15. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    1:54 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yeah that's the invite to Nginx Amplify :)
     
  16. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    1:54 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    looks like this still haven't fixed this problem.. so FYI guys for the install.sh file edit above to get Nginx Amplify yum packages installed :)
     
  17. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    10:54 AM
    latest
    10
    nginx amplify is the root cause of my VPS's timing out every once in awhile. When it's not active "amplify agent" the sites are fine, but as soon as I reload the agent, they time out about 30 minutes later so I'll be looking for a new Monitoring system....
     
  18. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    1:54 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    interesting.. timeout outs where exactly ?
     
  19. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    10:54 AM
    latest
    10
    It only does it on smaller Memory sized VM's like the 768MB from Vultr - I did notice it uses allot of ram when it runs. Have you noticed this?

    Now I've switched back to Cloudstats.me but I really don't want to pay this monthly price for all these VM's I have - jees!
     
  20. eva2000

    eva2000 Administrator Staff Member

    54,315
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    1:54 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    haven't really paid attention

    Code:
    ps aufx | grep amplify | grep -v grep
    nginx    29306 14.8  3.2 162084 33796 ?        S    Jan05 376:59 amplify-agent 
    process resident size is around 31.3M
    Code:
    smem -c "command swap uss pss rss" -kP amplify-agent | grep -v python   
    Command                         Swap      USS      PSS      RSS
    amplify-agent                      0    30.6M    31.3M    33.0M
    
    so depends on how much free available memory you have on 768MB instance ?

    Then again the server i am testing Nginx Amplify on has 1GB of memory and lightly used

    upload_2016-1-7_5-17-44.png