OID for traffic / bandwidth monitoring
Alright guys, im new to this software and I need some help. Here goes. I installed serverscheck and everything seems good. I will give you the names of my machines so you know what is going on. Servers check is installed on my xp machine called (rboklewski) and i want to setup monitoring of another machine called (artark). So what I did was I went to artark and ran the MIB Ver. 1 and gathered the ifin/ifout oid's and when i put them in the serverscheck for bandwidth on rboklewski i get a can't find oid error message. Why is that?
This discussion has been closed.
Comments
ifoutoctets- .1.3.6.1.2.1.2.2.1.16.0
These are from artark
An OID for a network interface has a digit behind it, similar to following: .1.3.6.1.2.1.2.2.1.10.XXXX.0
To know that XXXX you need to perform a SNMP WALK from .1.3.6.1.2.1.2.2.1.10
In your MIB browser you will then see a list of OID's following the .1.3.6.1.2.1.2.2.1.10 branch
interfaces->ifnumber->iftable->ifentry->ifinoctet/ifoutoctet
Now i tried to perform the snmp walk by going on artark and plugging in .1.3.6.1.2.1.2.2.1.10 in the oid box at the top and selecting walk then go and it didn't do anything.
If the WALK doesn't do anything then you do not have SNMP enabled on the system.
What happens if you do a GET in the MIB Browser on OID .1.3.6.1.2.1.1.1.0 ?
If that does not return anything then you do not have SNMP running on the artark system.
Here is the error I got
http://img256.imageshack.us/my.php?image=miberrorwy6.gif
What kind of error is it? From the service or from the MIB Browser. If MIB Browser, then try using GetIf to get the OID:
http://www.wtcs.org/snmp4tpc/getif.htm
Based on your image, your Broadcom Nextreme Gigabit Ethernet card should have following OID's:
incoming: .1.3.6.1.2.1.2.2.1.10.2
outgoing: .1.3.6.1.2.1.2.2.1.16.2
http://img144.imageshack.us/my.php?image=bandwidthil1.gif
By looking at the WALK and the description OID for your network card where the last digit is the ID of the interface that you need.
It also looks like you just added a 2 after the ifin/ifout octet oids?
On following image that you did upload, you see the name of your card (Broadcom Nextreme ...)
http://img256.imageshack.us/my.php?image=miberrorwy6.gif
Well the last digit (=2) is the one you need for your oid.
incoming: .1.3.6.1.2.1.2.2.1.10.(last digit)
in above case it is 2, thus incoming: .1.3.6.1.2.1.2.2.1.10.2
outgoing: .1.3.6.1.2.1.2.2.1.16.(last digit)
If you would like to know more on the why and how, then I suggest to read some books on the SNMP protocol to get more familiar with it. SNMP is one of the main foundations for managing networked devices.
Check the two pictures, here is what i came up with.
In- .1.3.6.1.2.1.2.2.1.16.(2)
Out- .1.3.6.1.2.1.2.2.1.10.(2)
It didn't work, but check the pictures here to see what I may have did wrong. This time there was a bunch of numbers at the end of the oid for the network card.
http://img105.imageshack.us/my.php?image=bandwidthrboklewskiwt1.gif
http://img62.imageshack.us/my.php?image=bandwidthrboklewski2su9.gif
In the image you submitted this is 65539
so outgoing is .1.3.6.1.2.1.2.2.1.16.65539 (and not incoming as you state in your last post)
incoming is .1.3.6.1.2.1.2.2.1.10.65539
To remotely browse a system, enter the IP address of the device in the MIB Browser and that's it.
This topic is now closed.