DCI for network traffic on all Network Interface Adators
-
I'm tring to create a DCI to monitor all server's network interface adaptors. I can get this to work but needs to be setup for each server. I would like the DCI to scan for all Network Adaptors (Instances) and report the Bytes or bits per sec on each. Below is what i have tried so far and I believe I am close to having this figured out but need some advice. I know how to set it up for incoming/outgoing and also the conversion to Bytes to bits but I need DCIs that can report all the interfaces and the network traffic.
- Open the "Data Collection Configuration" for the template
- Create a new parameter.
- On the "General" tab. PARAMETER: Net.Interface.BytesIn64(*) DATA TYPE: Unsigned Interger 64 bit
- On the "Instance Discovery" tab. INSTANCE DISCOVERY: Agent List. LIST NAME: Net.InterfaceList
Any help is greatly Appreciated.
Thanks! Russ -
Step 3 should look like this:
3. On the "General" tab. PARAMETER: Net.Interface.BytesIn64({instance}) DATA TYPE: Unsigned Interger 64 bit -
Add instance discovery script:
if ($1 ~= "^([0-9]+) .*") { return %(true, $1); // at this point $1 contains first matching group } return false;It's required because this list return more data than interface index:
AirAlk:~() $ nxget -l 10.5.0.111 Net.InterfaceList 1 127.0.0.1/8 772 000000000000 lo 2 10.5.0.111/24 1 00163E000009 eth0Instance discovery is performed on configuration poll.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login