Home Directory Plugins Network Protocols SNMP check_fortigate_session2

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_fortigate_session2

Rating
0 votes
Favoured:
0
Current Version
1.2
Last Release Date
2015-10-09
Compatible With
  • Nagios 2.x
  • Nagios 3.x
Owner
License
GPL
Hits
4926
Files:
FileDescription
check_fortigate_session2check_fortigate_session2
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Add perfata et change OID for fortigate 60C from the script check_fortigate_session of msullivan101@gmail.com
This script is a modification of "Check Fortigate CPU load" (or check_fortigate_cpu.pl) and the script check_fortigate_session

Test on fortigate 60C


Perhaps someone will find it useful.

It works for CPU and RAM usage, as well as active sessions.
Performance data is also produced.
For this script to work, SNMP needs to be enabled in your FortiGate config, both for the appropriate network interface and in the Config section.
The community name should be "public".

The "snmp" package should also be installed on the Linux side of things.




Usage: check_fortigate_status -H host -m mode [-C community] [-M X] [-w XX] [-c XX]

Options:

-H, --host hostname (or IP address)
Check interface on the indicated host.

-m, --mode STRING
What to check
Valid values are:
cpu Returns CPU usage
memory Returns memory usage
sessions Returns the number of active IP sessions

-C, --community STRING
SNMP community string
Default: public

-M, --modus X
0: Just monitor, no alarms
1: Threshold excesses will cause alarms
Default: 2

-w, --warn XX
Nagios warning threshold
Percent value for "memory" and "cpu" modes
Default: 80%
Integer value for "sessions" mode
Default: 1500

-c, --crit XX
Nagios critical threshold
Percent value for "memory" and "cpu" modes
Default: 90%
Integer value for "sessions" mode
Default: 2000