LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 05-23-2007, 06:56 PM   #1
geoffm33
Member
 
Registered: May 2002
Distribution: RH 7.3 - YDL 2.3
Posts: 63

Rep: Reputation: 15
Nagios and check_mrtgtraf


I am getting wierd results from my check_mrtgtraf plugin, or more likely I am not understanding the command.

Here is the check for a particular network device:

Quote:
define service{
use generic-service ; Name of service template to use
host_name HP5300
service_description MRTG Traffic Link
is_volatile 0
check_period 24x7
max_check_attempts 3
normal_check_interval 5
retry_check_interval 1
notification_interval 240
notification_period 24x7
notification_options w,c,r
check_command check_mrtgtraf!/var/www/html/mrtg/10.10.1.2_a1.old!350,350!384,384!15
}
Here is the Nagios results:

Quote:
Status Information:
Traffic CRITICAL - Avg. In = 25.6 KB/s, Avg. Out = 61.4 KB/s
Quote:
Performance Data:
in=25.600586KB/s;350.000000;384.000000;0.000000 in=61.370117KB/s;350.000000;384.000000;0.000000
I would like to set the threshold to 350kbs and 384kbs respectively. What am I doing wrong??

Thanks!
 
Old 05-27-2007, 07:19 AM   #2
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Rep: Reputation: 32
if you havent done so already, consult the help page for the "check_mrtgtraf" plugin to see its syntax by for example typing check_mrtgtraf --help ..this have to be done from the directory where the plugin is located unless you have set the PATH variable to include this path where the plugin resides.
 
  


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios heinvz Linux - Software 3 10-24-2006 07:42 AM
Nagios... GixrBen Linux - General 2 09-19-2006 07:56 AM
LXer: Nagios 2.5 and Oreon 1.3 (Nagios web front end) installation with screenshots LXer Syndicated Linux News 0 08-11-2006 05:33 PM
LXer: Nagios and Oreon (Nagios web front end) installation and Configuration LXer Syndicated Linux News 0 07-18-2006 08:33 PM
nagios mhmfasy Linux - Networking 7 02-20-2006 05:34 PM


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

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