Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-19-2012, 07:38 PM   #1
LQ Newbie
Registered: Oct 2012
Posts: 4

Rep: Reputation: Disabled
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 !
Old 11-19-2012, 08:56 PM   #2
LQ Newbie
Registered: Oct 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
I fixed the issue by single quoting the argument

check_bandwidth3!'v2://$HOSTNAME/<community string>:<interface#>'
Old 11-20-2012, 09:04 AM   #3
Registered: Nov 2012
Location: Belgium
Distribution: Ubuntu 12.04
Posts: 69
Blog Entries: 6

Rep: Reputation: 1
If it is fixed, mark this thread as solved

Nice work btw!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fail to install Nagios Pluggin nagios-plugins-1.4.15.tar.gz fred_xlf Linux - Software 1 11-27-2010 07:09 AM
[SOLVED] Code behind nagios plugins Xanios Linux - Newbie 21 08-08-2010 09:34 AM
Adding plugins to Nagios keogk Linux - General 3 06-29-2010 06:50 PM
Problem in installing nagios plugins prak86 Linux - Newbie 1 12-29-2009 03:04 AM
Help with nagios plugins anaigini45 Linux - Newbie 7 12-15-2009 03:29 AM > Forums > Linux Forums > Linux - Software

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration