-   Linux - Software (
-   -   nagios plugins issue (

rpzcas 11-19-2012 06:38 PM

nagios plugins issue
Hello all

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 !

rpzcas 11-19-2012 07:56 PM

I fixed the issue by single quoting the argument

check_bandwidth3!'v2://$HOSTNAME/<community string>:<interface#>'

dragonix 11-20-2012 08:04 AM

If it is fixed, mark this thread as solved ;)

Nice work btw! :hattip:

All times are GMT -5. The time now is 11:28 AM.