nagios plugins issue
I just started using "check_bandwidth3" plugins and realized that the way that the scripted is executed is different from what I've seen before. The format is like this
check_bandwidth3 --interface v2://$HOSTNAME/<community string>:<interface#>
I have no idea how to pass the "//" to nagios config. I tried using $before the "//" or "\\" before it, no luck. I keep getting this error message
Warning: Return code of 255 for check of service 'XXXXXXXXX' on host 'xxxxxx' was out of bounds.
thanks for any help !
I fixed the issue by single quoting the argument
If it is fixed, mark this thread as solved ;)
Nice work btw! :hattip:
|All times are GMT -5. The time now is 06:43 PM.|