LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 11-19-2012, 06:38 PM   #1
rpzcas
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, 07:56 PM   #2
rpzcas
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, 08:04 AM   #3
dragonix
Member
 
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!
 
  


Reply


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 06:09 AM
[SOLVED] Code behind nagios plugins Xanios Linux - Newbie 21 08-08-2010 08:34 AM
Adding plugins to Nagios keogk Linux - General 3 06-29-2010 05:50 PM
Problem in installing nagios plugins prak86 Linux - Newbie 1 12-29-2009 02:04 AM
Help with nagios plugins anaigini45 Linux - Newbie 7 12-15-2009 02:29 AM


All times are GMT -5. The time now is 05:13 AM.

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