Setup guide

[admin@Wandy] system script> /tool traffic-monitor
[admin@Wandy] tool traffic-monitor> add name=turn_on interface=ether1 \
\... on-event=eth-up threshold=15000 trigger=above traffic=received
[admin@Wandy] tool traffic-monitor> add name=turn_off interface=ether1 \
\... on-event=eth-down threshold=12000 trigger=below traffic=received
[admin@Wandy] tool traffic-monitor> print
Flags: X - disabled, I - invalid
# NAME INTERFACE TRAFFIC TRIGGER THRESHOLD ON-EVENT
0 turn_on ether1 received above 15000 eth-up
1 turn_off ether1 received below 12000 eth-down
[admin@Wandy] tool traffic-monitor>
Sigwatch
Specifications
Packages required: advanced-tools
License required: level1
tool sigwatch
Standards and Technologies: none
Hardware usage: Not significant
Description
Sigwatch can be used to monitor the state of serial port pins.
Property Description
name (name) - name of the sigwatch item
log (yes | no; default: no) - whether to add a message in form of name-of-sigwatch-item: signal
changed [to high | to low] to System-Info facility whenever this sigwatch item is triggered
script (name) - script to execute when this item is trigered
on-condition (on | off | change; default: on) - on what condition to trigger action of this item
on - trigger when state of pin changes to high
off - trigger when state of pin changes to low
change - trigger whenever state of pin changes. If state of pin changes rapidly, there might be
triggered only one action for several state changes
port (name) - serial port name to monitor
signal (dtr | rts | cts | dcd | ri | dsr; default: rts) - name of signal of number of pin (for standard
9-pin connector) to monitor
dtr - Data Terminal Ready (pin #4)
rts - Request To Send (pin #7)
cts - Clear To Send (pin #8)
dcd - Data Carrier Detect (pin #1)
ri - Ring Indicator (pin #9)
dsr - Data Set Ready (pin #6)
count (read-only: integer) - how many times the event for this item was triggered. Count is reset on
reboot and on most item configuration changes
state (read-only: text) - last remembered state of monitored signal