[snmp] OID for packets per second
Shrouk Tharwat
shrouk.tharwat at gmail.com
Fri May 2 15:58:50 BST 2008
Hi
Thanks for your reply it is really help. But I want to ask which methods
get the value of the ifInUcastPkts or the value of any OID ?
Thanks
Shrouk
On Thu, May 1, 2008 at 11:26 AM, Ray Tran <ray at artran.co.uk> wrote:
> Hi Shrouk,
> if I remember correctly you can't directly get the rate per second. You
> need to use the MIB-2 OID's to
> repeatedly get the cumulative number of packets for each interface and
> divide by the time interval
> between samples.
>
> The OID's of interest are listed here: http://www.alvestrand.no/
> objectid/1.3.6.1.2.1.2.2.1.html.
> I think that you are probably interested in 1.3.6.1.2.1.2.2.1.11
> (ifInUcastPkts) and 1.3.6.1.2.1.2.2.1.17
> (ifOutUcastPkts) but 1.3.6.1.2.1.2.2.1.12 (ifInNUcastPkts) and
> 1.3.6.1.2.1.2.2.1.18 (ifOutNUcastPkts)
> may be interesting if you are using multicasting (including broadcasts).
>
> Hope that helps.
>
>
> On 30 Apr 2008, at 14:58, Shrouk Tharwat wrote:
>
> Hi Birgit,
>>
>> What i mean is that i need to plot the number of packets per REAL time
>> second for the whole system including all interfaces . so does the OID of
>> the IP input receives gets me the packets per second per interface or does
>> it get the total number of packets since the system started up? and do u
>> know how can i get by any means the number of packets per second for a
>> certain interval of time?
>>
>>
>> Thanks;
>> Shrouk
>> On Thu, Apr 24, 2008 at 2:53 PM, Birgit Arkesteijn <birgit at westhawk.co.uk
>> >
>> wrote:
>>
>> Hi Shrouk,
>>>
>>> I assume you mean the number of packet per second of an interface?
>>>
>>> uk.co.westhawk.snmp.pdu.InterfaceGetNextPdu.java
>>> gives you the speed, but that's
>>> (number of octets transmitted & received) per second.
>>>
>>> Not sure if that helps.
>>>
>>> Cheers, Birgit
>>>
>>>
>>>
>>> On 24/04/08 11:16, Shrouk Tharwat wrote:
>>>
>>> Dears;
>>>>
>>>> Does anyone know the OID for getting the number of packets per second??
>>>> and
>>>> if its not possibe using the OID ,is there any other alternative?
>>>>
>>>> Thanks;
>>>> Shrouk
>>>>
>>>>
>>> --
>>> -- Birgit Arkesteijn, birgit at westhawk.co.uk,
>>> -- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK
>>> -- Company no: 1769350
>>> -- Registered Office:
>>> -- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK.
>>> -- tel.: +44 (0)161 237 0660
>>> -- <URL: http://www.westhawk.co.uk>
>>> _______________________________________________
>>> snmp mailing list
>>> snmp at snmp.westhawk.co.uk
>>> http://snmp.westhawk.co.uk/mailman/listinfo/snmp
>>>
>>> _______________________________________________
>> snmp mailing list
>> snmp at snmp.westhawk.co.uk
>> http://snmp.westhawk.co.uk/mailman/listinfo/snmp
>>
>
>
> Regards,
> --
> Ray Tran
> ray at artran.co.uk
> www.artran.co.uk
>
>
> _______________________________________________
> snmp mailing list
> snmp at snmp.westhawk.co.uk
> http://snmp.westhawk.co.uk/mailman/listinfo/snmp
>
More information about the snmp
mailing list