Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 perusing the Monastery: (14)
As of 2014-10-24 13:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (131 votes), past polls