SNMP :: Semplice.

scorciatoie per quando si utilizza SNMP
Scarica ora

SNMP :: Semplice. Classifica e riepilogo

Annuncio pubblicitario

  • Rating:
  • Licenza:
  • Perl Artistic License
  • Prezzo:
  • FREE
  • Nome editore:
  • Ian Langworth
  • Sito web dell'editore:
  • http://search.cpan.org/~ian/

SNMP :: Semplice. Tag


SNMP :: Semplice. Descrizione

Scorciatoie per quando si utilizza SNMP SNMP :: Semplice č un modulo Perl che fornisce scorciatoie quando si eseguono attivitą ripetitive-recupero delle informazioni-recupero con SNMP.Instead di questo: utilizzare SNMP; $ vars = New SNMP :: Varlist (, , ,); my ($ light_status, $ light_color, $ light_desc) = $ s-> getnext ($ vars); Die $ s -> {errorstr} se $ s -> {errorstr}; while (! $ s -> {errorstr} e $$ vars -> tag eq "prtconsoleontime") {push @ {$ dati {luci}}, {stato => ($ light_status? 0: 1), colore => SNMP :: Mapenum ($$ vars -> tag, $ light_color), descrizione => $ light_desc,}; ($ light_status, $ light_color, $ light_desc) = $ s-> getnext ($ vars); } ... puoi farlo: usa SNMP :: Semplice; $ dati {luci} = $ s-> get_named_table (stato => 'prtconsoleontime', colore => 'prtconsolecolor', name => 'prtconsoledescription',); sinossi Utilizzare SNMP :: Semplice; $ name = $ s-> get ('sysname'); # come sysname.0 $ location = $ s-> ottenere ('syslocation'); @array = $ s-> get_list ('hrprintersatous'); $ arrayref = $ s-> get_list ('hrprinterstatus'); @list_of_lists = $ s-> get_table (qw (prtconsoleotontime prtconsolecolor prtconsoledescription)); @List_of_hashes = $ s-> get_namyed_table (nome => 'printinputdescription', media => 'printinputmedianame', stato => 'printinputstatus', livello => 'printinputcurrentlevel', max => 'printmutmaxcapacity',); Requisiti: · Perl.


SNMP :: Semplice. Software correlato

metrica

Produce metriche per i programmi C, C ++, JavaScript e Python ...

658

Scarica