12/18/2022 0 Comments Fortinet cpu oidMy $oid_unitdesc = ".1.3.6.1.2.1.1.1.0" # Location of Fortinet device description. My ($session, $error) = get_snmp_session($ip, $community) # Open an SNMP connection. My %status = ( 'UNKNOWN' => '-1', # Enumeration for the output Nagios states My $net_snmp_debug_level = 0x0 # See ()_-_set_or_get_the_debug_mode_for_the_module My ($ip, $community, $type, $warn, $crit, $slave, $pri_serial, $reset_file, $mode, $vpnmode) = parse_args() Use Getopt::Long qw(:config no_ignore_case bundling) # write to the Free Software Foundation, Inc., # If you wish to receive a copy of the GNU General Public License, # GNU General Public License for more details. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # but WITHOUT ANY WARRANTY without even the implied warranty of # This program is distributed in the hope that it will be useful, # of the License, or (at your option) any later version. # as published by the Free Software Foundation either version 2 # modify it under the terms of the GNU General Public License # This program is free software you can redistribute it and/or # - added vpn support, based on check_fortigate_vpn.pl: Copyright (c) 2009 Gerrit Doornenbal, g(dot)doornenbal(at)hccnet(dot)nl # - initial release (cluster, cpu, memory, session support) # Author: Oliver Skibbe (oliskibbe (at) ) # Tested on: FortiGate 100D / FortiGate 300C (both 5.0.3) # This Plugin checks the cluster state of FortiGate STRING - VPN-Mode: both => IPSec & SSL/OpenVPN, ipsec => IPSec STRING - Output-Mode: 0 => just print, 1 => print and show INTEGER - Critical threshold, applies to cpu, mem, session. INTEGER - Warning threshold, applies to cpu, mem, session. STRING or IPADDRESS - Check interface on the indicated host. V -vpnmode STRING VPN-Mode: both => IPSec & SSL/OpenVPN, ipsec => IPSec only, ssl => SSL/OpenVPN only M -mode STRING Output-Mode: 0 => just print, 1 => print and show failed tunnel, 2 => critical c -critical INTEGER Critical threshold, applies to cpu, mem, session. w -warning INTEGER Warning threshold, applies to cpu, mem, session. T - type STRING CPU, MEM, Ses, VPN, Cluster C -community STRING Community-String for SNMP H -host STRING or IPADDRESS Check interface on the indicated host SSO Client auf DCĭa mir die existierenden Fortinet Checks nicht wirklich gefallen haben (Code-Qualität, Art der Aufrufe, Funktionsumfang), habe ich mich entschieden ein eigenes Plugin in Perl zu schreiben (Download auf ):Ĭheck_ -H -C -T AntiVirus - Automatisierte Überprüfung auf Viren für z.B: HTTP, SMTP, POP3, IMAP, FTP.Da wir hier im Hause diverse Fortinet FortiGate, teilweise als Active/Passive Cluster, betreiben, liegt es natürlich nahe, dass diese Appliances ebenfalls mit in die Überwachung aufgenommen werden.ĭie bei uns eingesetzten Fortinet FortiGates gehören zur Klasse der UTM Geräte (Unified Threat Management) und bieten unter anderem folgende Features:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |