| SNMP :: MULTI. SNMP :: MULTI è un modulo perl per eseguire operazioni SNMP su più host contemporaneamente. |
Scarica ora |
SNMP :: MULTI. Classifica e riepilogo
- Licenza:
- Perl Artistic License
- Nome editore:
- Karl Schilke
- Sito web dell'editore:
- http://search.cpan.org/~tpg/SNMP-Multi-2.1/Multi.pm
SNMP :: MULTI. Tag
SNMP :: MULTI. Descrizione
SNMP :: Multi è un modulo perl per eseguire le operazioni SNMP su più host contemporaneamente. SNMP :: Multi è un modulo Perl per eseguire operazioni SNMP su più host contemporaneamente.Synopsis Utilizzare SNMP :: MULTI; My $ REQ = SNMP :: Multi :: Varreq-> Nuovo (non repeaters => 1, host => , vars => , ],); Die "Varreq: $ SNMP :: Multi :: Varreq :: ERORN" a meno che $ req; My $ SM = SNMP :: Multi-> Nuovo (metodo => 'Bulkwalk', Maxsessions => 32, PDUPACKING => 16, Community => 'Public', versione => '2c', Timeout => 5, Rewers = > 3, Usenumeric => 1, # Eventuali opzioni aggiuntive per SNMP :: Session :: New () ...) o Die "$ SNMP :: Multi :: ERORN"; $ sm-> richiesta ($ req) o morire $ sm-> errore; My $ resp = $ sm-> Esegui () o Die "EXECUTE: $ SNMP :: MULTI :: ERORN"; Stampa "Ho ricevuto risposta per", (Iscriviti ", $ resp-> hostnames ())," n "; Per i miei $ host ($ resp-> host ()) {stampa "Risultati per $ host: n"; Per il mio risultato $ ($ host-> Risultati ()) {IF ($ RISULTATO-> ERRORE ()) {Stampa "Errore con $ host:", $ Risultato-> Errore (), "n"; prossimo; } Stampa "Valori per $ host:", (Iscriviti ", $ Risultato-> Valori ()); per la mia varlist $ ($ Risultato-> Varlisti ()) {stampa mappa {"T". $ _-> FMT (). "n"} @ $ Varlist; } Stampa "n"; }} The SNMP :: Multi Package fornisce un meccanismo per eseguire operazioni SNMP su diversi host contemporaneamente. SNMP :: Multi Builds sull'interfaccia SNMP Perl G. Marzot per le librerie SNMP UC-Davis, utilizzando le operazioni SNMP asincrono per inviare query / set su più host contemporaneamente.Relesults da tutti gli host sono compilati in un singolo oggetto, che offre metodi per accedere I dati in aggregati o suddivisi per host o il singolo request.snmp :: Multi supporta le richieste SNMP, set, getNext, GetBalk e Bulkwalk. Esegue anche l'imballaggio PDU per migliorare l'efficienza della rete, quando è possibile l'imballaggio. Requisiti: · Perl.
SNMP :: MULTI. Software correlato