Home Directory

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

Directory

distels

Reviews(1)
bydistels, October 11, 2013
1 of 1 people found this review helpful
This script works perfectly for our fortigates.
It did need a fix concerning the sessions-argument.

If you comment out the following two lines you can use the -w and -c options with -m sessions, else it will keep using the default of 1500 (which I don't want to use)

} elsif ($mode =~ "ses") {
@sesArray = split(" ", $snmpCommand);
$usage = @sesArray[-1];
# $warn = "1500";
# $crit = "2000";
$usagestring = "Active IP Sessions";

I'm no perl programmer so don't know exactly why this isn't working. Maybe the author can fix this :)

Thanks for your script.