GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ANYEVENT::GRAPHITE::SNMPAGENT (3)

.ds Aq ’

NAME

AnyEvent::Graphite::SNMPAgent - An SNMP agent which does non-blocking streaming of data from an SNMP server

CONTENTS

SYNOPSIS



    my $agent = AnyEvent::Graphite::SNMPAgent->new(
        host => 127.0.0.1,
        port => 2003,
        interval => 60,
        timeout => 5,
    );

    host and port are for the graphite server
    interval is how many seconds should elapse between each time we try to fire off the queries.
    If you need multiple intervals create one AE::Graphite::SNMPAgent instance per set of metrics


    $agent->add_snmp(host => $host, oid => $oid, community => $community, graphite_key => $key, filter => sub { ... });

    print "Running forever. CTRL-C to interrupt\n";
    AnyEvent->condvar->recv;



AUTHOR

Joshua Barratt, <josh at mediatemple.net>

COPYRIGHT & LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 ANYEVENT::GRAPHITE::SNMPAGENT (3) 2011-04-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.