nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

Monitoring a NIC

This is a discussion on Monitoring a NIC within the Linux software forums, part of the Linux Getting Started category; When I want to monitor A nic (Network Interface Card) How can i find my OID or port nr or ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 03-10-2005, 12:12 PM
nathan86
Guest
 
Posts: n/a
Default Monitoring a NIC

When I want to monitor A nic (Network Interface Card)
How can i find my OID or port nr or whatever you need to monitor that

I tried getif but it doesn't contain an OID that measures the DATA going trough the NIC

Plzz Help
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-10-2005, 01:28 PM
Guest
 
Posts: n/a
Default

Try following to get complet listing:
Code:
snmpwalk -v 1 -c public localhost
For example to find out all received packets use following
Code:
snmpwalk -v 1 -c public localhost IP-MIB::ipInReceives
Also try snmptranslate command which translate SNMP OID values into more useful information, following command prints the tree format:
Code:
snmptranslate -Tp -OS



Under UNIX File /usr/share/snmp/mibs/IP-MIB.txt lists all stuff you needed.
Reply With Quote
  #3 (permalink)  
Old 03-10-2005, 04:41 PM
nathan86
Guest
 
Posts: n/a
Default Thnks

Thanks it worked

I appreciate your help :P
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Monitoring Log File nageshms Shell scripting 3 05-13-2008 06:32 PM
HELP! Port Monitoring! sunburn Shell scripting 1 02-11-2008 02:46 PM
Monitoring Tools jhn_daz@yahoo.com Linux software 1 11-20-2007 09:41 PM
Raid Monitoring vimalgoel Getting started tutorials 3 08-09-2007 06:08 PM
Bandwidth monitoring ssent12 Computer Networking and Internet/broadband 2 07-25-2007 07:19 PM


All times are GMT +5.5. The time now is 03:30 AM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36