Hello,
I have performance monitoring setup on a switch with a 10Gbps interface.
I can see right now on cli:
5 minute output rate 430521000 bits/sec, 84519 packets/sec
This is about 430Mbps but on the Nagios graph it show about 39mbps. It seems that there is a factor 10 issue in the scale.
I am using check_rrdtraf check. the check is as below:
COMMAND: /usr/local/nagios/libexec/check_rrdtraf -f /var/lib/mrtg/144.194.69.25_10201.rrd -w 900000,900000 -c 900000,900000 -l M
OUTPUT: OK - Current BW in: 0Mbps Out: 58.74Mbps|in=0Mb/s;900000;900000 out=58.748567Mb/s;900000;900000
The content of my mrtg file related to this interface is attached.
I am running Nagios XI 5.2.5.
Thank you,
Performance Graph for 10Gbps interface are not accurate
Performance Graph for 10Gbps interface are not accurate
You do not have the required permissions to view the files attached to this post.
Re: Performance Graph for 10Gbps interface are not accurate
Even though it says Mbps it's actually MBps (megabytes per second).
Re: Performance Graph for 10Gbps interface are not accurate
Hello,
Do you have some plan to fix the scale? How is it for warning and critical threshold ?
Here the command say kbps,mbps and gbps not KBps, MBps and GBps. How are threshold are they also Bytes ? If i put 900 G is that 900Gbps or 900BGps ?
Thank you,
Do you have some plan to fix the scale? How is it for warning and critical threshold ?
Here the command say kbps,mbps and gbps not KBps, MBps and GBps. How are threshold are they also Bytes ? If i put 900 G is that 900Gbps or 900BGps ?
Code: Select all
[lxadmin@ymq-lpnagapp1 ~]$ /usr/local/nagios/libexec/check_rrdtraf -h
check_rrdtraf v0.5
Usage:
check_rrdtraf -f <rrd_file> -w <warning_pair> -c <critical_pair>
[-v][-e expire_seconds] [-l label_units]
check_rrdtraf (-V | --version)
check_rrdtraf (-h | --help)
Options:
-h, --help
Print detaiiled help screen
-V, --version
Print version information
-v Verbose output. Can be specified twice for more verbosity
-vv More verbose output, same as -v -v
-f Full path to RRD file to read data from
-w Warning threshold <rate> or pair <incoming>,<outgoing>
-c Critical threshold <rate> or pair <incoming>,<outgoing>
-e Log age threshold (in seconds, 5min=300)
-l Data display label, one of B,K,M or G
Notes:
-Warning and critical thresholds are MAX values,
going above the threshold will trigger an alert.
-Labels and units for warning and critical values
are determined by the -l argument (if specified):
B=bps; K=Kbps; M=Mbps; G=Gbps
-If the -l switch is specified, input values are assumed to
be in the same units as specified in the -l switch
-If the -l switch is not specified, output values are scaled
appropriately, and input values are assumed to be in Kbps
Nagios Plugin: Check Bandwidth within an RRD.
Send email to [email protected] if you have questions regarding use
of this software. To submit patches or suggest improvements, send email to
[email protected]. Please include version information with all
correspondence (when possible, use output from the --version option of the
plugin itself).
You may also contact the developer of this plug-in directly
at [email protected]
[lxadmin@ymq-lpnagapp1 ~]$
Last edited by tmcdonald on Fri Apr 01, 2016 10:40 am, edited 1 time in total.
Reason: Please use [code][/code] tags around long output
Reason: Please use [code][/code] tags around long output
Re: Performance Graph for 10Gbps interface are not accurate
I think I actually updated the plugin for someone recently, I'll take a look on Monday and let you know. If you don't hear from me by the end of Monday post a reply to the thread so it will show up on my dashboard.
Thank you
Thank you
Re: Performance Graph for 10Gbps interface are not accurate
Please try this one here and let me know if that works for you:
https://support.nagios.com/forum/viewto ... 24#p174924
https://support.nagios.com/forum/viewto ... 24#p174924
Re: Performance Graph for 10Gbps interface are not accurate
Hello,
Thank you but i cannot do it right now because "
NOTE: You will need to delete the RRDs that you currently have for these checks /usr/local/nagios/share/perfdata/HOSTNAME/SERVICENAME.rrd
You will lose the current data that you have for the graphs (not the original MRTG RRDs but the ones used in the interface).
Please test it out and validate the data before implementing in production".
I will wait for approval it may take 1 month.
Is it possible that you include this script update in next Nagios XI update ?
thank you
Thank you but i cannot do it right now because "
NOTE: You will need to delete the RRDs that you currently have for these checks /usr/local/nagios/share/perfdata/HOSTNAME/SERVICENAME.rrd
You will lose the current data that you have for the graphs (not the original MRTG RRDs but the ones used in the interface).
Please test it out and validate the data before implementing in production".
I will wait for approval it may take 1 month.
Is it possible that you include this script update in next Nagios XI update ?
thank you
Re: Performance Graph for 10Gbps interface are not accurate
I've already submitted a bug report for it, the developers will need to implement it and put it through the testing process:
Code: Select all
NEW TASK ID 8198 created - Nagios XI Bug Report: check_rrdtraf reporting Mb when it's actually returning MBRe: Performance Graph for 10Gbps interface are not accurate
All right, thank you.
You can close this thread.
You can close this thread.