mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Plugin ipt_basic_: convert documentation to perlpod format
This commit is contained in:
parent
55b983f357
commit
94888223ff
1 changed files with 57 additions and 30 deletions
|
@ -1,35 +1,62 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#$Id: ipt-basic_ 96 2005-10-12 16:54:19Z grin $
|
|
||||||
#
|
: <<=cut
|
||||||
# (C)Copyright Peter grin at grin dot hu Gervai, 2005
|
|
||||||
# Released undel GPL v2.
|
=head1 NAME
|
||||||
#
|
|
||||||
# Plugin to monitor traffic through iptables.
|
ipt_basic_ - monitor traffic through iptables
|
||||||
# This plugin was designed to monitor FORWARDING interfaces
|
|
||||||
# on a router with only one-to-one forwarding (traffic goes into
|
|
||||||
# one interface goes out to the other).
|
=head1 APPLICABLE SYSTEMS
|
||||||
#
|
|
||||||
# You can initialise the required iptables by running it manually:
|
This plugin was designed to monitor FORWARDING interfaces
|
||||||
#
|
on a router with only one-to-one forwarding (traffic goes into
|
||||||
# ipt-basic_ initialise
|
one interface goes out to the other).
|
||||||
#
|
|
||||||
# You should create two symlinks to this module:
|
|
||||||
# ln -s ipt-basic_ ipt-basic_bytes
|
=head1 CONFIGURATION
|
||||||
# ln -s ipt-basic_ ipt-basic_pkts
|
|
||||||
#
|
You can initialise the required iptables by running it manually:
|
||||||
# This plugin is based on the ip_ plugin.
|
|
||||||
#
|
ipt-basic_ initialise
|
||||||
# Revisions:
|
|
||||||
# 2006.01.00 - First release.
|
You should create two symlinks to this module:
|
||||||
# 2006.11.26 - Use -j RETURN in rules, and sort interfaces
|
ln -s ipt-basic_ ipt-basic_bytes
|
||||||
#
|
ln -s ipt-basic_ ipt-basic_pkts
|
||||||
#
|
|
||||||
# Magic markers (optional - used by munin-config and some installation
|
This plugin is based on the ip_ plugin.
|
||||||
# scripts):
|
|
||||||
#
|
|
||||||
|
=head1 REVISIONS
|
||||||
|
|
||||||
|
=over 4
|
||||||
|
|
||||||
|
=item 2006.01.00 - First release.
|
||||||
|
|
||||||
|
=item 2006.11.26 - Use -j RETURN in rules, and sort interfaces
|
||||||
|
|
||||||
|
=back
|
||||||
|
|
||||||
|
|
||||||
|
=head1 AUTHORS
|
||||||
|
|
||||||
|
Copyright (C) 2005 Peter Gervai
|
||||||
|
|
||||||
|
|
||||||
|
=head1 LICENSE
|
||||||
|
|
||||||
|
GNU Library General Public License v2 only
|
||||||
|
|
||||||
|
SPDX-License-Identifier: GPL-2.0-only
|
||||||
|
|
||||||
|
|
||||||
|
=head1 MAGIC MARKERS
|
||||||
|
|
||||||
#%# family=auto
|
#%# family=auto
|
||||||
#%# capabilities=autoconf
|
#%# capabilities=autoconf
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
# ipt_bytes, ipt_pkts
|
# ipt_bytes, ipt_pkts
|
||||||
TYPE=`basename $0 | sed 's/^ipt-basic_//g'`
|
TYPE=`basename $0 | sed 's/^ipt-basic_//g'`
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue