Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

snmp script with perl

by MacScissor (Acolyte)
on Dec 06, 2012 at 15:34 UTC ( #1007607=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    print "Uptime: ".$uptime->{"1.3.6.1.2.1.25.1.1.0"}."\015\012";
    print "Drive 1: ".$drive1->{"1.3.6.1.2.1.25.2.3.1.6.1"}."\015\012";
    print "Processes: ".$processes->{"1.3.6.1.2.1.25.1.6.0"}."\015\012";
    
  2. or download this
    RAM: 
    Uptime:
    Drive 1:
    Processes:
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1007607]
Approved by blue_cowdawg
Front-paged by blue_cowdawg
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2016-09-30 10:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (563 votes). Check out past polls.