26. 02. 2010 Patrick Zambelli Asset Management

Asset management: Monitorare la qualita’ dell’inventario hardware / software

L’asset management di NetEye comprende un inventario alimentato automaticamente da agent distribuiti ed installati sui server/client  remoti.

La rimozione, la reinstallazione e la modifica della configurazione hardware e software possono risultare in configurazioni non correttamente interpretabili dai meccanismi di inventario e possono risultare assets non piu’ aggiornati ( oggetti inventariati non sincronizzati )  o duplicati ( in caso di reinsallazioni di un sistema, passaggio ad un altro utente, o.a. ).

Un check NetEye permette di controllare queste anomalie e permette di controllare regolarmente ( per es. quotidianamente):

  • la presenza di oggetti non aggiornati per un certo periodo
  • la presenza di nomi di host duplicati

Il check_inventory quo’ essere scaricato qui ed installato direttamente dentro il percorso di NetEye: /usr/lib/nagios/plugins/.

Per vedere la sintassi di utilizzo lanciare il commando perl check_inventory.pl -h.

Check OCS for hardware asset not beeing updated for a while.
Check also for duplicate items in the asset management.
Version: 1.0
Usage: check_inventory.pl -C <age|duplicates> [-w <item age warning in days>] [-c <item age critical in days>] [-x “<host1,host2,host3,..>” ]
Help: check_inventory.pl -h

Example:
check_inventory.pl -C age -x “host1,host2,host3,..” -w 30 -c 60

-h, –help
print this help message
-C, –command
specify the kind of check to perform on the OCS inventory:
– age:        check for old not up-to-date assets
– duplicates  check for duplicate assests having the same host name
-w <intiger> –warning <intiger>
specify the number of days an asset item has not to be updated before returning a warning.
Default: 10
-c <intiger> –critical <intiger>
specify the number of days an asset item has not to be updated before returning a critical
Default: 20
-x “host1,host2,host3,…”
exlude those host name from the check results
-v, –verbouse
verbouse execution mode

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