04.06.2013 Views

Definizione di un MIB SNMP per la gestione di un print ... - Luca Deri

Definizione di un MIB SNMP per la gestione di un print ... - Luca Deri

Definizione di un MIB SNMP per la gestione di un print ... - Luca Deri

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Definizione</strong> <strong>di</strong> <strong>un</strong> <strong>MIB</strong> <strong>SNMP</strong> <strong>per</strong> <strong>la</strong> <strong>gestione</strong> <strong>di</strong> <strong>un</strong> <strong>print</strong> server<br />

I valori delle variabili TrafficoOkInputStampante, TrafficoNonOkInputStampante e<br />

TrafficoComplessivoInputStampante sono determinati dal manager sul <strong>print</strong>server che<br />

effettua il monitoraggio sul<strong>la</strong> stampante che tramite delle GET leggerà i valori delle variabili<br />

<strong>SNMP</strong> elencate re<strong>la</strong>tive al traffico in entrata.<br />

traffico in uscita<br />

IfOutUcastPkts: Pacchetti in uscita che non sono né broadcast né multicast<br />

IfOutNUcastPkts: Pacchetti in uscita broadcast o multicast<br />

Sommando <strong>la</strong> precedente coppia <strong>di</strong> valori si ottiene il numero <strong>di</strong> pacchetti inviati dalle stampanti<br />

fisiche, quin<strong>di</strong><br />

-TrafficoOkOutputStampante = IfOutNUcastPkts + IfOutUcastPkts<br />

Esistono <strong>per</strong>ò altre variabili re<strong>la</strong>tive al traffico in uscita:<br />

IfOutDiscards: Pacchetti in uscita scartati dal<strong>la</strong> stampante<br />

IfOutErrors: Pacchetti in uscita contenenti errori<br />

Sommando i due valori precedentemente elencati si ottiene il numero <strong>di</strong> pacchetti scartati dal<strong>la</strong><br />

stampante in uscita:<br />

-TrafficoNonOkOutputStampante = IfOutDiscards + IfOutErrors<br />

Allo stesso modo, l'intero traffico inviato dal<strong>la</strong> stampante è dato da<br />

-TrafficoComplessivoOutStampante = TrafficoOkOutputStampante +<br />

TrafficoNonOkOutputStampante<br />

I valori delle variabili TrafficoOkOutputStampante, TrafficoNonOkOutputStampante e<br />

TrafficoComplessivoOutStampante sono determinati dal manager inserito nel <strong>print</strong>server che<br />

effettua il monitoraggio sul<strong>la</strong> stampante che tramite delle GET leggerà i valori delle variabili<br />

<strong>SNMP</strong> elencate re<strong>la</strong>tive al traffico in uscita.<br />

Mor<strong>la</strong>ndo <strong>Luca</strong> Università degli stu<strong>di</strong> <strong>di</strong> Pisa<br />

Corso <strong>di</strong> Sistemi <strong>per</strong> l'e<strong>la</strong>borazione dell'informazione: complementi <strong>di</strong> Gestione <strong>di</strong> Reti<br />

pagina 8 <strong>di</strong> 33

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!