Utilizzando questo sito, accetti il politica sulla riservatezza.
Accettare
EnterineEnterineEnterine
  • CASA
  • PROFESSIONISTA
  • TECNICA
  • Microsoft
    • Azzurro
    • ConfigMgr/SCCM
    • Dpm
    • Orchestratore
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Ufficio 365
    • Insider dell'ufficio
    • Potenza BI
    • Skype
    • SQLServer
    • Squadre
  • FINESTRE
    • Centro di amministrazione di Windows
    • Cliente Windows
    • Windows Server
  • Elenco raccolte query SCCM
Lettura: Monitoring Nginx Connections Accepted Per Second with Zabbix
Ridimensionamento dei caratteriAa
EnterineEnterine
Ridimensionamento dei caratteriAa
  • CASA
  • PROFESSIONISTA
  • TECNICA
  • Microsoft
  • FINESTRE
  • Elenco raccolte query SCCM
Ricerca
  • CASA
  • PROFESSIONISTA
  • TECNICA
  • Microsoft
    • Azzurro
    • ConfigMgr/SCCM
    • Dpm
    • Orchestratore
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Ufficio 365
    • Insider dell'ufficio
    • Potenza BI
    • Skype
    • SQLServer
    • Squadre
  • FINESTRE
    • Centro di amministrazione di Windows
    • Cliente Windows
    • Windows Server
  • Elenco raccolte query SCCM
Zabbix

Monitoring Nginx Connections Accepted Per Second with Zabbix

Pubblicato: Febbraio 18, 2024
2 Lettura minima
CONDIVIDERE

Monitoring Nginx Connections Accepted Per Second with Zabbix.

To monitor the number of connections accepted per second on an Nginx server using Zabbix, you can follow these steps:

  1. Install the Zabbix agent on the Nginx server if it’s not already installed. You can find instructions on how to do this on the Zabbix documentation.
  2. Enable the stub_status module in Nginx by adding the following configuration to the server block in your Nginx configuration file:
location /nginx_status {
    stub_status on;
    access_log off;
    allow 127.0.0.1;
    deny all;
}

This will expose Nginx status information at http://localhost/nginx_status. Make sure to test the configuration and reload Nginx.

3. Configure Zabbix to monitor the nginx.connections.accepted metric. This metric represents the total number of accepted client connections. To do this, create a new item in Zabbix with the following parameters:

  • Nome: any desired name for the item
  • Tipo: Zabbix agent
  • Chiave: nginx.connections.accepted
  • Type of information: Numeric (unsigned)
  • Update interval: any desired interval, for example, 30 seconds

4. Create a trigger to alert you when the number of connections accepted per second exceeds a certain threshold. To do this, create a new trigger with the following parameters:

  • Nome: any desired name for the trigger
  • Expression: delta(nginx.connections.accepted[30s])/30>100 (this will trigger if the number of connections accepted per second is greater than 100)
  • Severity: any desired severity, for example, warning or average

You can adjust the threshold and the interval to your needs.

That’s it! With these steps, you should now be able to monitor the number of connections accepted per second on your Nginx server using Zabbix.

TAGGATO:AlmaruxCentosNGINXUbuntuZabbix
Articolo precedente Mastering AWS CLI: How to Start EC2 Instances on Ubuntu Like a Pro
Articolo successivo Secure and Seamless: Enabling Single Sign-On for Grafana
Lascia un commento Lascia un commento

Lascia una risposta Annulla risposta

Il tuo indirizzo email non verrà pubblicato. I campi obbligatori sono contrassegnati *

Questo sito utilizza Akismet per ridurre lo spam. Scopri come vengono elaborati i dati dei tuoi commenti.

Traduzione

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
di Transposh - plugin di traduzione per wordpress

Post popolari

Requisiti di sistema per Windows Server 2016
Windows Server
Elenco raccolte query di Gestione configurazione
Elenco raccolte query di Gestione configurazione
ConfigMgr
Navigazione strutturata/gestita abilitata nelle pagine moderne nei siti del team classici
Tecnologia
SCCM Impossibile ottenere le posizioni DP come versione prevista da MP
ConfigMgr

Post recenti

Installazione e configurazione di Fail2ban per la protezione SSH su Ubuntu 24.04
Linux
Abilitazione e configurazione di FirewallD su AlmaLinux
Linux
Creazione utente e configurazione chiave SSH in AlmaLinux
Linux
Come reimpostare la password su AlmaLinux
Linux

© 2023 Enterine

Vai alla versione mobile
Bentornato!

Accedi al tuo account

Nome utente o indirizzo e-mail
Password

Hai perso la password?