Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
distels
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.
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.