Build precise queries to find exactly what you need
Press ESC to close
@distels
Favorites0
Views
Projects0
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.
Reviewed 12 years ago