Hello !
I'd like to create a plugin calculating the average size of Ethernet packets received by one NIC. But I don't know what MIB (snmp) is doing that.
Can you help me please ?
Thank you.
sudo apt-get install pciutils
lspci | egrep -i --color 'network|ethernet'
kyang wrote:So you're creating a plugin that will use SNMP to calculate the average size of Ethernet packets for one NIC?*
Maybe take a look at the IF-MIB --> This is a summary of information regarding objects below the interfaces MIB object
http://www.net-snmp.org/docs/mibs/interfaces.html
Are you only creating this plugin for that specific NIC?** I'm not sure. Any other information about it?***
If you don't know, you can install the pciutils package on Debian.
- Code: Select all
sudo apt-get install pciutils
- Code: Select all
lspci | egrep -i --color 'network|ethernet'
Return to Nagios Plugin Development
Users browsing this forum: No registered users and 2 guests