Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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?
[rajuskark]: how to delete my question from perlmonk

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2017-03-23 05:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (281 votes). Check out past polls.