01. 10. 2009 Patrick Zambelli Unified Monitoring

Monitorare device non critici

Esistono situazioni dove si desidera monitorare device che non sono critici per l’infrastruttura IT, ma che possono lo stesso avere problemi da controllare. Esempi per questo tipo di situazioni possono essere stampanti di rete che sono spenti la sera, ma che possono avvisare via SNMP difetti o mancanza di toner etc.

Ovviamente si potrebbe evitare di ricevere notificazioni di “host down” impostando periodi di check e notifica che escludono gli orari di fuori lavoro. Se la stampante dovesse essere però spenta lo stesso inaspettatamente si riceverebbe però un allarme su NetEye.

Per rispondere a questa situazione abbiamo implementato un check che ignora la situazione se il device non dovesse rispondere ad un check. In questo caso il risultato e’ lo stesso “OK”, ritornando nella descrizione solo l’avviso che il dispositivo non e’ raggiungibile.
Per implementare questo check per i vostri controlli con Nagios e’ possibile scaricare qui il plugin check_ifhost_up ed implementarlo con questa sintassi:

<nagios_plugins_percorso>/check_ifhost_up -H <host_da_controllare> <plugin commando da lanciare se il host e’ up>

Quindi una configurazione di un check ping da eseguire solo se il device e’ raggiungibile sarebbe:

/usr/lib/nagios/plugins/check_ifhost_up -H 192.168.1.1 check_icmp -H 192.168.1.1 -w 100,20% -c 300,50%

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