Skip to content

Commit 0493989

Browse files
committed
script is a lot safer now; formatting
1 parent 3da44f8 commit 0493989

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

README.markdown

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
check-vc.slax is a proof-of-concept poller for the internal PFE and VC
2-
ports. It pushes the traffic stats as found: root@switch> show
3-
virtual-chassis vc-port statistics into a bunch of rows. If the
4-
interface names stay the same, the OIDs should do so as well. YMMV.
5-
6-
WARNING!! On a 3 member EX4200-24T stack, this takes almost 3 minutes to
7-
run, and drives the load up to 1.75! I found that on a 2 member
8-
EX4200-24T stack, it only takes 1 minute, so the load is less
9-
noticeable. I imagine that a highly loaded switch might fall over.
10-
11-
install this script in fpc0:/var/db/scripts/op/check-vc.slax
12-
even though it is an event script.
1+
`check-vc.slax` is a proof-of-concept poller for the internal PFE and VC
2+
ports. It pushes the traffic stats as found:
3+
4+
> root@switch> show virtual-chassis vc-port statistics
5+
6+
into a bunch of rows. If the interface names stay the same, the OIDs should
7+
do so as well. YMMV.
8+
9+
This script may drive your CPU and load up during the polling - especially
10+
if you have a lot of VC ports. I'm yet to make the polling smarter.
11+
12+
Install this script in `fpc0:/var/db/scripts/op/check-vc.slax`
13+
even though it is an event script (?)

0 commit comments

Comments
 (0)