dear expert,
would you please explain us how nagiosxi---> report ---> bandwidth usage report data usage calculated ??? we mean to say total usage in GB as shown in an atttached snap ???
your prompt reply will be highly appreciated
Regards
nagiosxi_report_bandwidthusage how it does calculation
nagiosxi_report_bandwidthusage how it does calculation
You do not have the required permissions to view the files attached to this post.
Re: nagiosxi_report_bandwidthusage how it does calculation
The XI graphs are showing an average of bandwidth per second, your data at the top is showing total for the day, right?
Re: nagiosxi_report_bandwidthusage how it does calculation
The corresponding plugin is coded so the UI displays megabytes (MB) per second even though the label says megabits (Mb), we've already submitted a bug report for this so the developers can fix it.
In the meantime, if you prefer to see anything other the MB, then you can replace your current plugin with one of the plugins below to suit your preference.
Bits - b, Kb, Mb, Gb Bytes - B, KB, MB, GB **Keep in mind that any one of the new plugins above may be overwritten upon upgrading, at which point they would need to be re-installed.
In the meantime, if you prefer to see anything other the MB, then you can replace your current plugin with one of the plugins below to suit your preference.
Bits - b, Kb, Mb, Gb Bytes - B, KB, MB, GB **Keep in mind that any one of the new plugins above may be overwritten upon upgrading, at which point they would need to be re-installed.
You do not have the required permissions to view the files attached to this post.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Re: nagiosxi_report_bandwidthusage how it does calculation
yes bandwidth reports is ok Mbps our concern is corresponding usage which shown JAN ( monthly usage comes in GB how its calculated ? corresponding values of monthly bandwidth utilization Mbps report data match with total Bandwidth usage GB ? )ssax wrote:The XI graphs are showing an average of bandwidth per second, your data at the top is showing total for the day, right?
Re: nagiosxi_report_bandwidthusage how it does calculation
kindly check an attached snap we are talking about how usage values comes ???bwallace wrote:The corresponding plugin is coded so the UI displays megabytes (MB) per second even though the label says megabits (Mb), we've already submitted a bug report for this so the developers can fix it.
In the meantime, if you prefer to see anything other the MB, then you can replace your current plugin with one of the plugins below to suit your preference.
Bits - b, Kb, Mb, Gb Bytes - B, KB, MB, GB tried ur script no diff
[root@ libexec]# ./check_rrdtraf_bytes -f /var/lib/mrtg/172.16.40.245_10102.rrd -w 50,50 -c 60,60 -l M
OK - Current BW in: .17MBps Out: .09MBps|in=.177079MB/s;50;60 out=.098480MB/s;50;60
[root@ libexec]# ./check_rrdtraf -f /var/lib/mrtg/172.16.40.245_10102.rrd -w 50,50 -c 60,60 -l M
OK - Current BW in: .17Mbps Out: .09Mbps|in=.177079Mb/s;50;60 out=.098480Mb/s;50;60
**Keep in mind that any one of the new plugins above may be overwritten upon upgrading, at which point they would need to be re-installed.
You do not have the required permissions to view the files attached to this post.
Re: nagiosxi_report_bandwidthusage how it does calculation
I spoke to the devs and it appears the totals are pulled from the RRD files, which are where the performance data is stored. Those files average out values over time, so there will be some loss of accuracy the further back it goes, but generally-speaking they should still be very close to reality for a given time frame.
Former Nagios employee
Re: nagiosxi_report_bandwidthusage how it does calculation
can u please explain us how values are coming from RRD ( what calculation happening in background to represent Monthly / Quaterly seen in Bandwidth Usage Report ? if we want to take this usage as a weekly / daily ( custom ) is there any way plz explain ? as we would like to make sure this report before submit to any customer so need your prompt reply.
Re: nagiosxi_report_bandwidthusage how it does calculation
also it would be nice if you give host and services filter in Bandwidth Usage Report . at present all services comes in single dropdown and very diffcult to search no search option also available there
Re: nagiosxi_report_bandwidthusage how it does calculation
You're welcome to look into the code directly if you need exact calculations:
/usr/local/nagiosxi/html/includes/components/bandwidthreport/
You might particularly be interested in the fetch_rrd.php and index.php files.
As for a feature request, I will make sure that gets filed and the thread updated when it does.
Just spoke with the devs, and apparently you can click in the dropdown and start typing, and it will filter based on that. Give it a shot and let me know how that works for you.
/usr/local/nagiosxi/html/includes/components/bandwidthreport/
You might particularly be interested in the fetch_rrd.php and index.php files.
As for a feature request, I will make sure that gets filed and the thread updated when it does.
Just spoke with the devs, and apparently you can click in the dropdown and start typing, and it will filter based on that. Give it a shot and let me know how that works for you.
Former Nagios employee
Re: nagiosxi_report_bandwidthusage how it does calculation
thanks for your feedback, we would like to add MAX Bit/s instead of Bytes/s and AVG. what do we need to change ?
exp : last month max bandwidth utilization ( In 10Mbps Out 15Mbps ) and current ( In 5Mbps ; Out 9 Mbps ) so when we fetch report it should give MAX value of last month not total IN / total OUT same way Quater 1 ( MAX value of jan / feb / march ) also what changes required to select RRD from /usr/local/nagios/share/perfdata instead of /var/lib/mrtg ???
exp : last month max bandwidth utilization ( In 10Mbps Out 15Mbps ) and current ( In 5Mbps ; Out 9 Mbps ) so when we fetch report it should give MAX value of last month not total IN / total OUT same way Quater 1 ( MAX value of jan / feb / march ) also what changes required to select RRD from /usr/local/nagios/share/perfdata instead of /var/lib/mrtg ???