Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Directory
argaar
byargaar, May 7, 2018
Your script works ok, tested against a Riello UTM410K (with a netman 204 card).
The only bug I've found is on line 660, when you check for Warning/Critical threshold, my bash return an error due to the fact that you ask for a range (x:y) rather than a simple integer.
I would suggest to change the IF condition to
if [[ -z $WARNING ]] | [[ -z $CRITICAL ]]; then
The only bug I've found is on line 660, when you check for Warning/Critical threshold, my bash return an error due to the fact that you ask for a range (x:y) rather than a simple integer.
I would suggest to change the IF condition to
if [[ -z $WARNING ]] | [[ -z $CRITICAL ]]; then