Révision 17f78427
Whitespace cleanup
- remove trailing whitespace
- remove empty lines at the end of files
| plugins/snmp/snmp__fn | ||
|---|---|---|
| 3 | 3 |
# File: snmp__fn |
| 4 | 4 |
# Description: SNMP plugin to monitor open sessions, sslvpn, CPU and Memory on a |
| 5 | 5 |
# Fortinet Fortigate firewall. |
| 6 |
#
|
|
| 6 |
# |
|
| 7 | 7 |
# Author: Thom Diener <munin@tmd.ch> |
| 8 | 8 |
# License: This program is free software; you can redistribute it and/or |
| 9 | 9 |
# modify it under the terms of the GNU General Public License |
| 10 |
# as published by the Free Software Foundation; version 2 dated
|
|
| 10 |
# as published by the Free Software Foundation; version 2 dated |
|
| 11 | 11 |
# June, 1991. |
| 12 | 12 |
# |
| 13 | 13 |
# Version: v1.00 30.10.2011 First draft of the fortigate plugin |
| ... | ... | |
| 22 | 22 |
# (Example: ln -s /usr/share/munin/plugins/snmp__fn \ |
| 23 | 23 |
# /etc/munin/plugins/snmp_foo.example.com_fn) |
| 24 | 24 |
# |
| 25 |
# Add global community string
|
|
| 25 |
# Add global community string |
|
| 26 | 26 |
# vi /etc/munin/plugin-conf.d/munin-node |
| 27 | 27 |
# [snmp_*] |
| 28 | 28 |
# env.community private |
| 29 | 29 |
# timeout 45 # In case low latency or timeout |
| 30 | 30 |
# |
| 31 |
# Fortigate Activate snmp on your Fortigate firewall.
|
|
| 32 |
# Fortigate documentation at https://support.fortinet.com
|
|
| 31 |
# Fortigate Activate snmp on your Fortigate firewall. |
|
| 32 |
# Fortigate documentation at https://support.fortinet.com |
|
| 33 | 33 |
# |
| 34 | 34 |
# MIB Download and copy the original Fortigate MIB definition files to: |
| 35 | 35 |
# /usr/share/snmp/mibs/FORTINET-CORE-MIB.mib.txt |
| 36 | 36 |
# /usr/share/snmp/mibs/FORTINET-FORTIGATE-MIB.mib |
| 37 | 37 |
# |
| 38 |
# Testing This plugin has been tested with the following OS/software:
|
|
| 39 |
#
|
|
| 38 |
# Testing This plugin has been tested with the following OS/software: |
|
| 39 |
# |
|
| 40 | 40 |
# Appliance/Firmware: |
| 41 | 41 |
# Fortigate-50B 3.00-b0662(MR6 Patch 1) work with v1.00-1.02 |
| 42 | 42 |
# Fortigate-50B 3.00-b0678(MR6 Patch 6) work with v1.00-1.02 |
| ... | ... | |
| 44 | 44 |
# Fortigate-50B 4.00-b0217(MR1 Patch 10) work with v1.00-1.02 |
| 45 | 45 |
# Fortigate-50B 4.00-b0217(MR2 Patch 4) work with v1.00-1.02 |
| 46 | 46 |
# Fortigate-50B 4.00-b0521(MR3 Patch 6) work with v1.03 |
| 47 |
#
|
|
| 47 |
# |
|
| 48 | 48 |
# Munin-Version: |
| 49 |
# Munin 1.4.4 (1.4.4-1ubuntu1)
|
|
| 50 |
# OS-Version:
|
|
| 49 |
# Munin 1.4.4 (1.4.4-1ubuntu1) |
|
| 50 |
# OS-Version: |
|
| 51 | 51 |
# Ubuntu 10.04.3 LTS (lucid) x86_32/64 |
| 52 | 52 |
# |
| 53 | 53 |
#%# family=manual |
| ... | ... | |
| 148 | 148 |
echo "graph_title $UNIT - SSLvpn Sessions" |
| 149 | 149 |
echo 'graph_category fw' |
| 150 | 150 |
echo 'graph_vlabel Sessions/Users' |
| 151 |
echo 'graph_info Loged in users with SSLvpn (WebSession or Tunnel-Mode)'
|
|
| 151 |
echo 'graph_info Loged in users with SSLvpn (WebSession or Tunnel-Mode)' |
|
| 152 | 152 |
echo 'fortiuser.label Users' |
| 153 | 153 |
echo 'fortiuser.info Loged in SSLvpn users' |
| 154 | 154 |
echo 'fortiwebs.label WebSessions' |
Formats disponibles : Unified diff