Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Templates, scripts for templates, scripts and requests for templates.
Moderators: Developers , Moderators
expertmax
Posts: 8 Joined: Fri Mar 30, 2018 11:56 am
Post
by expertmax » Fri Mar 30, 2018 12:04 pm
Hi,
I am using CACTI (latest version) and I am connecting to a Nutanix box using SNMP v3.
When fetching data, the graphs shows 600mb/s of network bandwitdh which does not make sense. I can't figure out what I am missing.
I took a few screenshots with the issue.
And this is the raw data :
This is my data query XML :
Code: Select all
<interface>
<oid_index>.1.3.6.1.4.1.41263.10.1.1</oid_index>
<index_order>nutanixVmID</index_order>
<index_order_type>numeric</index_order_type>
<fields>
<nutanixVmID>
<name>ID</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.41263.10.1.1</oid>
</nutanixVmID>
<nutanixVmName>
<name>VM Name (Hex)</name>
<method>walk</method>
<source>value</source>
<direction>input</direction>
<oid>.1.3.6.1.4.1.41263.10.1.3</oid>
</nutanixVmName>
<nutanixVmNetRx>
<name>Bytes In</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.41263.10.1.14</oid>
</nutanixVmNetRx>
<nutanixVmNetTx>
<name>Bytes Out</name>
<method>walk</method>
<source>value</source>
<direction>output</direction>
<oid>.1.3.6.1.4.1.41263.10.1.15</oid>
</nutanixVmNetTx>
</fields>
</interface>
camerabob
Cacti User
Posts: 386 Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:
Post
by camerabob » Fri Mar 30, 2018 12:54 pm
What type of numbers should you be seeing? If off by a factor of 8, perhaps it's megabytes instead of megabits you're looking for.
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
netniV
Cacti Guru User
Posts: 3441 Joined: Sun Aug 27, 2017 12:05 am
Post
by netniV » Fri Mar 30, 2018 1:03 pm
I would agree with that. Does the graph use a CDEF or the raw value?
expertmax
Posts: 8 Joined: Fri Mar 30, 2018 11:56 am
Post
by expertmax » Fri Mar 30, 2018 2:29 pm
Hi, thanks for the reply.
Since I had no idea how to build the graph I used the premade graph for network bandwith so it came with the CDEF "Convert Bytes to Bits"
netniV
Cacti Guru User
Posts: 3441 Joined: Sun Aug 27, 2017 12:05 am
Post
by netniV » Fri Mar 30, 2018 2:43 pm
Right, so your values are being mutliplied by 8 because of that CDEF. Most lines are quoted in megabits, but people tend to think of transmitting megabytes which can lead to the confusion. If your values are already megabits, then you don't need the CDEF, or if you want to show megabytes rather than megabits, the same applies.
expertmax
Posts: 8 Joined: Fri Mar 30, 2018 11:56 am
Post
by expertmax » Fri Mar 30, 2018 3:03 pm
Allright so I removed the CDEF function and I synced my graphs. This is what I have now :
It still is way too high. The VM is dormant and there is almost no network activity.
I have just tought of something : Since Cacti pools the SNMP query every 30 seconds, do I have to divide the results by 30 ?
For example : right now using iReasoning MIB Browser, I'm seeing that the values for the vmRxBytes is 9760 which is roughly 78 Kb/s. I don't understand why I see high results like this.
camerabob
Cacti User
Posts: 386 Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:
Post
by camerabob » Fri Mar 30, 2018 3:11 pm
I'm using 'in/out bits with total bandwidth' and I get what I am supposed to. VMWare 6.0.x. Try using a non 64 bit counter. Also, I just realized the time scale. It is adding all the data consumed in each vertical slice. Mine is over a different time frame. The totals are cumulative so the numbers may be right. Show us a five minute graph to compare with your tool.
vm.png (80.5 KiB) Viewed 7072 times
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4
Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
expertmax
Posts: 8 Joined: Fri Mar 30, 2018 11:56 am
Post
by expertmax » Fri Mar 30, 2018 3:22 pm
I will try your graph to see if it makes sense with my configuration.
I'm affraid that I'm stuck with the Counter64. This is what is supplied with my Nutanix.
expertmax
Posts: 8 Joined: Fri Mar 30, 2018 11:56 am
Post
by expertmax » Fri Mar 30, 2018 3:51 pm
I just noticed there is a rule called Traffic 64 bit Server.
I activated the rule to see if it makes a difference.
netniV
Cacti Guru User
Posts: 3441 Joined: Sun Aug 27, 2017 12:05 am
Post
by netniV » Fri Mar 30, 2018 3:58 pm
That looks like an Automation rule for automatic graph creation.
expertmax
Posts: 8 Joined: Fri Mar 30, 2018 11:56 am
Post
by expertmax » Fri Mar 30, 2018 4:24 pm
This is what I have now :
10 GB transfered in one minute that makes no sense.
expertmax
Posts: 8 Joined: Fri Mar 30, 2018 11:56 am
Post
by expertmax » Fri Mar 30, 2018 4:38 pm
Ohhh I just figured it out.
I had to select the CDEF "Convert Data Source To Data Rate".
Now I'm all good !!!
expertmax
Posts: 8 Joined: Fri Mar 30, 2018 11:56 am
Post
by expertmax » Fri Mar 30, 2018 4:46 pm
Sorry about the repetitive posting.
The "TOTAL IN" makes no sense thought :
Jeeves
Cacti User
Posts: 91 Joined: Wed Jun 12, 2013 6:25 pm
Post
by Jeeves » Tue Sep 05, 2023 5:25 pm
@ExpertMax,
Any chance you'd be willing to share that Nutanix Template?
Thanks!
Stanley123456
Posts: 1 Joined: Sun Oct 13, 2024 10:37 pm
Post
by Stanley123456 » Sun Oct 13, 2024 11:20 pm
Anyone have basic hosts nutanix template share for study?
Many Thanks!
Users browsing this forum: No registered users and 1 guest