From birgitgjwa at googlemail.com Thu Apr 10 12:21:17 2008 From: birgitgjwa at googlemail.com (Birgit Arkesteijn) Date: Thu Apr 10 11:22:05 2008 Subject: [snmp] Removed relays.ordb.org from snmp.westhawk.co.uk Message-ID: I'm trying to fix the problem that relays.ordb.org is blocking all incoming mail to the mailing lists. If you tried to post a message before and got a mail back that said something like: snmp@snmp.westhawk.co.uk SMTP error from remote mail server after MAIL FROM: : host snmp.westhawk.co.uk [192.67.4.168]: 550 5.7.1 Mail from X.X.X.X refused by blackhole site relays.ordb.org please try again. The problem should be fixed. Sorry for any inconvenience. Cheers, Birgit ps Thanks, Josh, for pointing this out to us! From ferry at hupie.com Thu Apr 10 14:42:14 2008 From: ferry at hupie.com (Ferry Huberts) Date: Thu Apr 10 13:13:35 2008 Subject: [snmp] bulk request Message-ID: <6308.217.169.232.211.1207827734.squirrel@hupie.xs4all.nl> Hi! I'm trying to send out a PDU for a bulk request. When there are less entries in the table I'm trying to retrieve than the MaxRepetitions it doesn't work and I get uk.co.westhawk.snmp.stack.DecodingException: Incorrect packet. No of bytes received less than packet length. at uk.co.westhawk.snmp.stack.Pdu.fillin(Pdu.java:914) at uk.co.westhawk.snmp.stack.SnmpContextv2c.processIncomingResponse(SnmpContextv2c.java:150) at uk.co.westhawk.snmp.stack.AbstractSnmpContext.run(AbstractSnmpContext.java:532) at java.lang.Thread.run(Thread.java:619) I would have thought that this would work, that it would just return the number of entries in the table. Am I misunderstanding functionality or is it a bug? I'm using v6.0 -- Ferry Huberts From birgit at westhawk.co.uk Thu Apr 10 14:50:19 2008 From: birgit at westhawk.co.uk (Birgit Arkesteijn) Date: Thu Apr 10 13:50:27 2008 Subject: [snmp] bulk request In-Reply-To: <6308.217.169.232.211.1207827734.squirrel@hupie.xs4all.nl> References: <6308.217.169.232.211.1207827734.squirrel@hupie.xs4all.nl> Message-ID: <47FE0D0B.1030902@westhawk.co.uk> Dear Ferry, I think your right, this should work. I just read the section in the rfc again, see http://www.ietf.org/rfc/rfc3416.txt 4.2.3. The GetBulkRequest-PDU Regarding the repetitions is says: (2) If there is no (i)-th lexicographic successor, then the corresponding variable binding produced in the Response-PDU has its value field set to "endOfMibView", and its name field set to either the last lexicographic successor, or if there are no lexicographic successors, to the (N + r)-th variable binding's name in the request. (2) The response may also be generated with a lesser number of variable bindings if for some value of iteration i, such that i is greater than zero and less than or equal to M, that all of the generated variable bindings have the value field set to "endOfMibView". In this case, the variable bindings may be truncated after the (N + (i * R))-th variable binding. So, yes, it should either return a few "endOfMibView" or it should only return the entries in the table that are available (but are less than MaxRepetitions). Either way, the agent is sending you an invalid response. There's nothing the stack can do about it. Pure speculation on my part, but what I thinking is happening is that the agent calculates the length based on the value of MaxRepetitions, but the actual varbind list is shorter. Cheers, Birgit On 10/04/08 12:42, Ferry Huberts wrote: > Hi! > > I'm trying to send out a PDU for a bulk request. When there are less entries in the table I'm > trying to retrieve than the MaxRepetitions it doesn't work and I get > > > uk.co.westhawk.snmp.stack.DecodingException: Incorrect packet. No of bytes received less than > packet length. > at uk.co.westhawk.snmp.stack.Pdu.fillin(Pdu.java:914) > at uk.co.westhawk.snmp.stack.SnmpContextv2c.processIncomingResponse(SnmpContextv2c.java:150) at > uk.co.westhawk.snmp.stack.AbstractSnmpContext.run(AbstractSnmpContext.java:532) at > java.lang.Thread.run(Thread.java:619) > > I would have thought that this would work, that it would just return the number of entries in the > table. Am I misunderstanding functionality or is it a bug? > > I'm using v6.0 > -- > Ferry Huberts -- -- Birgit Arkesteijn, birgit@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 -- From jbers at bbn.com Wed Apr 9 18:36:07 2008 From: jbers at bbn.com (Josh Bers) Date: Wed Apr 16 10:43:07 2008 Subject: [snmp] FW: sending V3 traps with trapsess Message-ID: <001101c89a89$cb0be2d0$c8fe5980@7C911> Has anyone been able to get net-snmp to send authenticated and encrypted v3 traps to a Westhawk manager... I am running into loads of problems using net-snmp 5.3.1. It never seems to use the local user name or USM security parameters! Any pointers would be much appreciated. Josh -----Original Message----- From: Josh Bers [mailto:jbers@bbn.com] Sent: Wednesday, April 09, 2008 5:11 PM To: 'Dave Shield' Cc: 'net-snmp-users@lists.sourceforge.net' Subject: RE: sending V3 traps with trapsess Now I am using 5.3.1 and getting the following error when I configure trapsess (found in /var/log/message): Snmpd[pid]: snmpd: send_trap: USM unknown security name (no such user exists) This is strange because on the line above the trapsess entry in /etc/snmp/snmpd.conf I declare the user as a rwuser snmproot! Is there some other configuration file that I need to tell about the users that I will use in trapsess from the snmpd agent? Josh -----Original Message----- From: Josh Bers [mailto:jbers@bbn.com] Sent: Thursday, April 03, 2008 2:43 PM To: 'Dave Shield' Cc: 'net-snmp-users@lists.sourceforge.net' Subject: RE: sending V3 traps with trapsess Dave, OK, I will be upgrading shortly to net-snmp 5.3.1. Would you expect with that version that the following trapsess will use the authoritative engineID of the currently running snmpd process when sending traps to ? trapsess -v 3 -u snmproot -a MD5 -A -l authPriv -x DES -X Josh -----Original Message----- From: net-snmp-users-bounces@lists.sourceforge.net [mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of Dave Shield Sent: Wednesday, April 02, 2008 3:09 PM To: Josh Bers Cc: net-snmp-users@lists.sourceforge.net Subject: Re: sending V3 traps with trapsess On 02/04/2008, Josh Bers wrote: > I am seeing strange behavior when configuring snmpd to send traps using > trapsess command in the snmpd.conf file. > > When I don't specify an engineID explicitly it attempts to do discovery even > though I am not asking for INFORMS! > I am using version 5.1.2. Does anyone know if this has been fixed > on later versions? I've just tried this with both the current development code, and the 5.2.x line. In both cases, the agent sends the trap immediately, with no engine probe. I don't have a 5.1.x version immediately accessible, but I seem to remember something being added a while back to delay the engine probe for an SNMPv3 session until it was actually needed. So I suspect that this problem has indeed been fixed in later releases. Please note that the 5.1.x line was closed down about two years ago. We would *strongly* recommend that you upgrade to a more recent version. Dave ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users From birgit at westhawk.co.uk Wed Apr 16 12:24:18 2008 From: birgit at westhawk.co.uk (Birgit Arkesteijn) Date: Wed Apr 16 11:24:25 2008 Subject: [snmp] Re: FW: sending V3 traps with trapsess In-Reply-To: <001101c89a89$cb0be2d0$c8fe5980@7C911> References: <001101c89a89$cb0be2d0$c8fe5980@7C911> Message-ID: <4805D3D2.7080403@westhawk.co.uk> Dear Josh, I've had problems in the past, but I think it's not the same problem, see http://sourceforge.net/mailarchive/forum.php?thread_name=20060206182223.GB3613%40westhawk.co.uk&forum_name=net-snmp-users Unfortunately Wes' answer to my latest posting is omitted from this view. I seem to remember he agreed with me, though. I can only get trapsess to work with -l noAuthNoPriv. My note in snmpd.conf says: # Keep getting parsing failed errors Sorry, Birgit On 09/04/08 22:36, Josh Bers wrote: > Has anyone been able to get net-snmp to send authenticated and encrypted v3 > traps to a Westhawk manager... I am running into loads of problems using > net-snmp 5.3.1. It never seems to use the local user name or USM security > parameters! > > Any pointers would be much appreciated. > > Josh > > -----Original Message----- > From: Josh Bers [mailto:jbers@bbn.com] > Sent: Wednesday, April 09, 2008 5:11 PM > To: 'Dave Shield' > Cc: 'net-snmp-users@lists.sourceforge.net' > Subject: RE: sending V3 traps with trapsess > > Now I am using 5.3.1 and getting the following error when I configure > trapsess (found in /var/log/message): > > Snmpd[pid]: snmpd: send_trap: USM unknown security name (no such user > exists) > > This is strange because on the line above the trapsess entry in > /etc/snmp/snmpd.conf I declare the user as a rwuser snmproot! > > Is there some other configuration file that I need to tell about the users > that I will use in trapsess from the snmpd agent? > > Josh > > > -----Original Message----- > From: Josh Bers [mailto:jbers@bbn.com] > Sent: Thursday, April 03, 2008 2:43 PM > To: 'Dave Shield' > Cc: 'net-snmp-users@lists.sourceforge.net' > Subject: RE: sending V3 traps with trapsess > > Dave, > > OK, I will be upgrading shortly to net-snmp 5.3.1. Would you expect with > that version that the following trapsess will use the authoritative engineID > of the currently running snmpd process when sending traps to > ? > > trapsess -v 3 -u snmproot -a MD5 -A -l authPriv -x DES -X > > > > Josh > > -----Original Message----- > From: net-snmp-users-bounces@lists.sourceforge.net > [mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of Dave > Shield > Sent: Wednesday, April 02, 2008 3:09 PM > To: Josh Bers > Cc: net-snmp-users@lists.sourceforge.net > Subject: Re: sending V3 traps with trapsess > > On 02/04/2008, Josh Bers wrote: >> I am seeing strange behavior when configuring snmpd to send traps using >> trapsess command in the snmpd.conf file. >> >> When I don't specify an engineID explicitly it attempts to do discovery > even >> though I am not asking for INFORMS! > >> I am using version 5.1.2. Does anyone know if this has been fixed >> on later versions? > > I've just tried this with both the current development code, > and the 5.2.x line. In both cases, the agent sends the trap > immediately, with no engine probe. > > I don't have a 5.1.x version immediately accessible, but I > seem to remember something being added a while back to > delay the engine probe for an SNMPv3 session until it > was actually needed. So I suspect that this problem has > indeed been fixed in later releases. > > Please note that the 5.1.x line was closed down about two > years ago. We would *strongly* recommend that you > upgrade to a more recent version. > > Dave > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > -- -- Birgit Arkesteijn, birgit@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 -- From jbers at bbn.com Wed Apr 16 11:07:04 2008 From: jbers at bbn.com (Josh Bers) Date: Wed Apr 16 15:07:53 2008 Subject: [snmp] RE: FW: sending V3 traps with trapsess In-Reply-To: <4805D3D2.7080403@westhawk.co.uk> Message-ID: <000401c89fcb$389a4170$fefe5980@7C911> Birgit, Somewhere I found a response saying that if you put the -e option with the engine id from /var/net-snmp/snmpd.conf it works. I tried this and in fact it does work even with authPriv. So the bug appears to be that trapsess does not automatically determine (and use) the engine id for the agent. Once you specify the engine id on the trapsess line it uses the right boots, and time fields of the USM data and the stack can receive and decode the traps correctly. Here is the line in the config file for net-snmp snmpd 5.3.1 (compiled on RHEL 4): trapsess -e ENGINE_ID -v 3 -l authPriv -u USERNAME -a MD5 -A AUTH_PASS -x DES -X PRIV_PASS TARGET_IP where engine id is taken from /var/net-snmp/snmpd.conf oldEngineID field. And username has been created using createUser in same file (/var/net-snmp..) Josh Ps. My next task is to get linkup/linkdown traps working from the agent. -----Original Message----- From: Birgit Arkesteijn [mailto:birgit@westhawk.co.uk] Sent: Wednesday, April 16, 2008 6:24 AM To: Josh Bers Cc: 'List for discussion of the Westhawk SNMP stack' Subject: Re: FW: sending V3 traps with trapsess Dear Josh, I've had problems in the past, but I think it's not the same problem, see http://sourceforge.net/mailarchive/forum.php?thread_name=20060206182223.GB36 13%40westhawk.co.uk&forum_name=net-snmp-users Unfortunately Wes' answer to my latest posting is omitted from this view. I seem to remember he agreed with me, though. I can only get trapsess to work with -l noAuthNoPriv. My note in snmpd.conf says: # Keep getting parsing failed errors Sorry, Birgit On 09/04/08 22:36, Josh Bers wrote: > Has anyone been able to get net-snmp to send authenticated and encrypted v3 > traps to a Westhawk manager... I am running into loads of problems using > net-snmp 5.3.1. It never seems to use the local user name or USM security > parameters! > > Any pointers would be much appreciated. > > Josh > > -----Original Message----- > From: Josh Bers [mailto:jbers@bbn.com] > Sent: Wednesday, April 09, 2008 5:11 PM > To: 'Dave Shield' > Cc: 'net-snmp-users@lists.sourceforge.net' > Subject: RE: sending V3 traps with trapsess > > Now I am using 5.3.1 and getting the following error when I configure > trapsess (found in /var/log/message): > > Snmpd[pid]: snmpd: send_trap: USM unknown security name (no such user > exists) > > This is strange because on the line above the trapsess entry in > /etc/snmp/snmpd.conf I declare the user as a rwuser snmproot! > > Is there some other configuration file that I need to tell about the users > that I will use in trapsess from the snmpd agent? > > Josh > > > -----Original Message----- > From: Josh Bers [mailto:jbers@bbn.com] > Sent: Thursday, April 03, 2008 2:43 PM > To: 'Dave Shield' > Cc: 'net-snmp-users@lists.sourceforge.net' > Subject: RE: sending V3 traps with trapsess > > Dave, > > OK, I will be upgrading shortly to net-snmp 5.3.1. Would you expect with > that version that the following trapsess will use the authoritative engineID > of the currently running snmpd process when sending traps to > ? > > trapsess -v 3 -u snmproot -a MD5 -A -l authPriv -x DES -X > > > > Josh > > -----Original Message----- > From: net-snmp-users-bounces@lists.sourceforge.net > [mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of Dave > Shield > Sent: Wednesday, April 02, 2008 3:09 PM > To: Josh Bers > Cc: net-snmp-users@lists.sourceforge.net > Subject: Re: sending V3 traps with trapsess > > On 02/04/2008, Josh Bers wrote: >> I am seeing strange behavior when configuring snmpd to send traps using >> trapsess command in the snmpd.conf file. >> >> When I don't specify an engineID explicitly it attempts to do discovery > even >> though I am not asking for INFORMS! > >> I am using version 5.1.2. Does anyone know if this has been fixed >> on later versions? > > I've just tried this with both the current development code, > and the 5.2.x line. In both cases, the agent sends the trap > immediately, with no engine probe. > > I don't have a 5.1.x version immediately accessible, but I > seem to remember something being added a while back to > delay the engine probe for an SNMPv3 session until it > was actually needed. So I suspect that this problem has > indeed been fixed in later releases. > > Please note that the 5.1.x line was closed down about two > years ago. We would *strongly* recommend that you > upgrade to a more recent version. > > Dave > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > -- -- Birgit Arkesteijn, birgit@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 -- From jbers at bbn.com Wed Apr 16 11:07:04 2008 From: jbers at bbn.com (Josh Bers) Date: Wed Apr 16 15:46:08 2008 Subject: [snmp] RE: FW: sending V3 traps with trapsess In-Reply-To: <4805D3D2.7080403@westhawk.co.uk> Message-ID: <000401c89fcb$389a4170$fefe5980@7C911> Birgit, Somewhere I found a response saying that if you put the -e option with the engine id from /var/net-snmp/snmpd.conf it works. I tried this and in fact it does work even with authPriv. So the bug appears to be that trapsess does not automatically determine (and use) the engine id for the agent. Once you specify the engine id on the trapsess line it uses the right boots, and time fields of the USM data and the stack can receive and decode the traps correctly. Here is the line in the config file for net-snmp snmpd 5.3.1 (compiled on RHEL 4): trapsess -e ENGINE_ID -v 3 -l authPriv -u USERNAME -a MD5 -A AUTH_PASS -x DES -X PRIV_PASS TARGET_IP where engine id is taken from /var/net-snmp/snmpd.conf oldEngineID field. And username has been created using createUser in same file (/var/net-snmp..) Josh Ps. My next task is to get linkup/linkdown traps working from the agent. -----Original Message----- From: Birgit Arkesteijn [mailto:birgit@westhawk.co.uk] Sent: Wednesday, April 16, 2008 6:24 AM To: Josh Bers Cc: 'List for discussion of the Westhawk SNMP stack' Subject: Re: FW: sending V3 traps with trapsess Dear Josh, I've had problems in the past, but I think it's not the same problem, see http://sourceforge.net/mailarchive/forum.php?thread_name=20060206182223.GB36 13%40westhawk.co.uk&forum_name=net-snmp-users Unfortunately Wes' answer to my latest posting is omitted from this view. I seem to remember he agreed with me, though. I can only get trapsess to work with -l noAuthNoPriv. My note in snmpd.conf says: # Keep getting parsing failed errors Sorry, Birgit On 09/04/08 22:36, Josh Bers wrote: > Has anyone been able to get net-snmp to send authenticated and encrypted v3 > traps to a Westhawk manager... I am running into loads of problems using > net-snmp 5.3.1. It never seems to use the local user name or USM security > parameters! > > Any pointers would be much appreciated. > > Josh > > -----Original Message----- > From: Josh Bers [mailto:jbers@bbn.com] > Sent: Wednesday, April 09, 2008 5:11 PM > To: 'Dave Shield' > Cc: 'net-snmp-users@lists.sourceforge.net' > Subject: RE: sending V3 traps with trapsess > > Now I am using 5.3.1 and getting the following error when I configure > trapsess (found in /var/log/message): > > Snmpd[pid]: snmpd: send_trap: USM unknown security name (no such user > exists) > > This is strange because on the line above the trapsess entry in > /etc/snmp/snmpd.conf I declare the user as a rwuser snmproot! > > Is there some other configuration file that I need to tell about the users > that I will use in trapsess from the snmpd agent? > > Josh > > > -----Original Message----- > From: Josh Bers [mailto:jbers@bbn.com] > Sent: Thursday, April 03, 2008 2:43 PM > To: 'Dave Shield' > Cc: 'net-snmp-users@lists.sourceforge.net' > Subject: RE: sending V3 traps with trapsess > > Dave, > > OK, I will be upgrading shortly to net-snmp 5.3.1. Would you expect with > that version that the following trapsess will use the authoritative engineID > of the currently running snmpd process when sending traps to > ? > > trapsess -v 3 -u snmproot -a MD5 -A -l authPriv -x DES -X > > > > Josh > > -----Original Message----- > From: net-snmp-users-bounces@lists.sourceforge.net > [mailto:net-snmp-users-bounces@lists.sourceforge.net] On Behalf Of Dave > Shield > Sent: Wednesday, April 02, 2008 3:09 PM > To: Josh Bers > Cc: net-snmp-users@lists.sourceforge.net > Subject: Re: sending V3 traps with trapsess > > On 02/04/2008, Josh Bers wrote: >> I am seeing strange behavior when configuring snmpd to send traps using >> trapsess command in the snmpd.conf file. >> >> When I don't specify an engineID explicitly it attempts to do discovery > even >> though I am not asking for INFORMS! > >> I am using version 5.1.2. Does anyone know if this has been fixed >> on later versions? > > I've just tried this with both the current development code, > and the 5.2.x line. In both cases, the agent sends the trap > immediately, with no engine probe. > > I don't have a 5.1.x version immediately accessible, but I > seem to remember something being added a while back to > delay the engine probe for an SNMPv3 session until it > was actually needed. So I suspect that this problem has > indeed been fixed in later releases. > > Please note that the 5.1.x line was closed down about two > years ago. We would *strongly* recommend that you > upgrade to a more recent version. > > Dave > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Net-snmp-users mailing list > Net-snmp-users@lists.sourceforge.net > Please see the following page to unsubscribe or change other options: > https://lists.sourceforge.net/lists/listinfo/net-snmp-users > > -- -- Birgit Arkesteijn, birgit@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 -- ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users From shrouk.tharwat at gmail.com Thu Apr 24 04:16:27 2008 From: shrouk.tharwat at gmail.com (Shrouk Tharwat) Date: Thu Apr 24 12:44:22 2008 Subject: [snmp] OID for packets per second Message-ID: 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 From birgit at westhawk.co.uk Thu Apr 24 13:53:59 2008 From: birgit at westhawk.co.uk (Birgit Arkesteijn) Date: Thu Apr 24 12:54:08 2008 Subject: [snmp] OID for packets per second In-Reply-To: References: Message-ID: <481074D7.9080904@westhawk.co.uk> 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@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 -- From shrouk.tharwat at gmail.com Wed Apr 30 17:58:51 2008 From: shrouk.tharwat at gmail.com (Shrouk Tharwat) Date: Wed Apr 30 15:56:17 2008 Subject: [snmp] OID for packets per second In-Reply-To: <481074D7.9080904@westhawk.co.uk> References: <481074D7.9080904@westhawk.co.uk> Message-ID: 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 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@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 > -- > _______________________________________________ > snmp mailing list > snmp@snmp.westhawk.co.uk > http://snmp.westhawk.co.uk/mailman/listinfo/snmp >