NAME

realifmon.pl - Realtime monitor of host interfaces

SYNOPSIS

$ realifmon.pl [-c COMMUNITY_NAME] [-w WAIT] [-x REGEXP] HOST

COMMUNITY_NAME ... SNMP Community Name. Omitting uses 'public'.
WAIT           ... Interval seconds. Default is 5.
REGEXP         ... Specify regular expression for pickup IFs by name.
HOST           ... Target hosts to check.

This program is for devices which can deal SNMP version 2c.

DESCRIPTION

This program shows realtime traffic throughput of interfaces of a host on your console with using snmpwalk() and callbacking.

NOTE

This script is a sample of Net::SNMP::Util. This program is for devices which can deal SNMP version 2c.

EXAMPLES

Simply way to check host with specifying community name is;

example% realifmon.pl -c max-heart luminous.precures.local

Checking traffics throughtput for every 10 seconds;

example% realifmon.pl -c max-heart -w 10 black.precures.local

If you want check only ports of slot #2 when the device has IFs which ifNames are set like "X/Y";

example% realifmon.pl -c max-heart -r '2/\d+$' white.precures.local

REQUIREMENTS

Net::SNMP, Net::SNMP::Util

AUTHOR

t.onodera, <cpan :: garakuta.net>

SEE ALSO

Net::SNMP - Core module of Net::SNMP::Util which brings us good SNMP implementations. Net::SNMP::Util::OID - Sub module of Net::SNMP::Util which provides easy and simple functions to treat OID. Net::SNMP::Util::TC - Sub module of Net::SNMP::Util which provides easy and simple functions to treat textual conversion.

LICENSE AND COPYRIGHT

Copyright(C) 2011- Takahiro Ondoera.

This program is free software; you may redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.