Menu

Help

Roman Shvaykin

-=Watcher Traffic SNMP 0.3a=-

wtraf HOST(IP ADDRESS) [OPTIONS]

General options:
-c [ --community ] arg Community string. Default: public.
-v [ --version ] arg Version to use (1|2). Default value: 1.
(val. 2 = 2c snmp version)
-x [ --script ] arg (=i) Start-up script template. Default value: i

Traffic interface options <--script=i> (Default).
P.S. Watch outbound/inbound traffic interface (at MBits/s).:
-l [ --list ] List OIDs.
-i [ --id ] arg Id OID interface.
Information on the interface by command <wtraf host="" -l="">
-m [ --max-length ] arg Max at MBits/sec. Default value: 0 (auto).
-n [ --interval ] arg Time interval at sec. Default value: 1.</wtraf>

Custom traffic options <--script=c>.
P.S. Watch custom traffic SNMP-val.:
-a [ --add-trunk ] arg Add custom trunk [OID:Name:Direction&Color:RPN:Unit:]
Max
.

                       [OID] Object identifier with a leading point (Value:
                       Counter, Gauge, Integer).

                       [Name] Description trunk without spaces.

                       [Direction&Color] One character - direction graph (l
                       - left, r - right).

                       Two character - color graph (r-red, g-green,
                       y-yellow, b-blue, m-magenta, c-cyan, w-white).

                       [RPN] SNMP-value conversion with RPN. Operators and
                       operands separated ",". Template:
                       [x,operand,operator,number,operator...].

                       [Unit] Unit value without spaces.

                       [Max] Record maximum value.

                       P.S. Example [-a .1.3.6.1.2.1.2.2.1.16.1:Outbound:gl
                       :x,8,*,1000,/:Mbit/s:10000].

-n [ --interval ] arg Time interval at sec. Default value: 1.