summaryrefslogtreecommitdiff
path: root/src/contrib/accesslistmon/examplescript
diff options
context:
space:
mode:
authorbeatrice <beatrice@dangofactory.net>2026-11-22 20:00:14 +0900
committerbeatrice <beatrice@dangofactory.net>2026-11-22 20:00:14 +0900
commit8f68d02045982da8f00a559835b500caf3a1967d (patch)
treec8d0e92969b92e1b6559a0e032b6aa710a8ae2d9 /src/contrib/accesslistmon/examplescript
parentbb5ff95073e5001be7dbf58ffce80d7926deff0b (diff)
downloadmrtg-master.tar.gz
mrtg-master.zip
Release tarball mrtg-2.17.7.tar.gz (dist-generated files / local differences from tag)HEADmaster
Diffstat (limited to 'src/contrib/accesslistmon/examplescript')
-rwxr-xr-xsrc/contrib/accesslistmon/examplescript16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/contrib/accesslistmon/examplescript b/src/contrib/accesslistmon/examplescript
deleted file mode 100755
index 23a0a46..0000000
--- a/src/contrib/accesslistmon/examplescript
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash
-rsh x.x.x.x sh access-list 102 | grep icmp | grep matches | grep x.x.x.x | awk ' { print $8 }' | sed s/\(//
-echo "0"
-
-#The first line will rsh into the router and display access-list number 102 (this will change
-depending on your config), it will grep the access-list entry type in this case 'icmp', it
-will also grep the ip of the machine in question, and output the relevant information.
-
-Eg:
-
-10
-0
-
-10 = the number of times the ACL has matched.
-
-Remember you can change this to whatever you want.