05. 08. 2009 Patrick Zambelli Unified Monitoring

Controllo della performance di Nagios

La tematica della saturazione delle risorse potrebbe diventare interessante soprattutto in grandi ambienti monitorati da Nagios. Piu’ numerosi sono i host e servizi da controllare e piu’ brevi sono i periodi tra i check, piu’ si allunga la coda dei check da eseguire che comporta anche l’aumento dei check da eseguire dentro una time slot.

Anche se il solo daemone di Nagios dovrebbe reggere su un server di prestazioni medie anche migliaia di check, con l’aggiunta di moduli e plugin, come il modulo NDO (che esegue la scrittura dei risultati su un DB) o un applicativo di performance view che procede con la traduzioni di numeri verso grafici, questo limite puo’ abbassarsi di parecchio. Questo provoca che un check duri molti piu’ della sola esecuzione del plugin Nagios e che il tempo a disposizione non e’ sempre sufficiente per lavorare la scheduling queue.

Il risultato sono ritardi,  che comprendono il tempo trascorso tra il momento pianificato per l’esecuzione e l’effettiva esecuzione. Per tenere sotto controllo questo delta di tempo esiste un check che controlla i numeri di performance del daemone Nagios e avvisa in caso di supero di un dato limite.

Il check che quo’ essere scaricato dal sito del cumunita‘ o direttamente dal blog check_nagios_latency, va copiato semplicemente dentro la cartella dei plugin per Nagios ( es. /usr/lib/nagios/plugins/) e configurato impostando i limiti di warning e critical.

Esempio di configurazione: /usr/lib/nagios/plugins/check_nagios_latency -w 0.5 -c 2

Patrick Zambelli

Patrick Zambelli

Project Manager at Würth Phoenix
After my graduation in Applied Computer Science at the Free University of Bolzano I decided to start my professional career outside the province. With a bit of good timing and good luck I went into the booming IT-Dept. of Geox in the shoe district of Montebelluna, where I realized how a big IT infrastructure has to grow and adapt to quickly changing requirements. During this experience I had also the nice possibility to travel the world, while setting up the various production and retail areas of this company. Arrived at Würth Phoenix I started developing on our monitoring solution NetEye. Today, in my position as Consulting an Project Manager I am continuously heading to implement our solutions to meet the expectation of your enterprise customers.

Author

Patrick Zambelli

After my graduation in Applied Computer Science at the Free University of Bolzano I decided to start my professional career outside the province. With a bit of good timing and good luck I went into the booming IT-Dept. of Geox in the shoe district of Montebelluna, where I realized how a big IT infrastructure has to grow and adapt to quickly changing requirements. During this experience I had also the nice possibility to travel the world, while setting up the various production and retail areas of this company. Arrived at Würth Phoenix I started developing on our monitoring solution NetEye. Today, in my position as Consulting an Project Manager I am continuously heading to implement our solutions to meet the expectation of your enterprise customers.

Leave a Reply

Your email address will not be published. Required fields are marked *

Archive