it's strange the 64bit query for ifHCOutOctets and ifHCOutOctets cannot get real numbers

2008-06-18 Thread ema
Hi,all I use snmpget to get ifHCOutOctets and ifHCOutOctets from a router interface However, in a short time, i get the same numbers, while using ifOutOctets and ifOutOctets,the numbers change quickly , Can anyone tell me why? Thank you for your help! ---

Re: Concepts about traps

2008-06-18 Thread Dave Shield
2008/6/18 Murilo Fujita <[EMAIL PROTECTED]>: > I know that traps are events not requested and how to know > if they are happing? That's up to the application generating the trap. It will decide when a "significant event" has occurred, and hence when it should send a trap. > How to force some

Concepts about traps

2008-06-18 Thread Murilo Fujita
    Greetings to all!     I would like some explanations, I need concepts to understand traps.       I know  that traps are events not requested and how to know if they are happing? How to force some traps? How to know if the NMS (Network Management Station) is receiving the traps?     The sof

Getting Too Long Error

2008-06-18 Thread Rucha
Hello All, I have written a simple program using Version 1 of SNMP with get request. But I am getting too long error, when I send synchronous request. Can anybody tell me in which cases you get Too Long error, and how to overcome it. You help will be very useful. Regards, Rucha Mahajan

RE: trap

2008-06-18 Thread Ron Rader
> From: kian [mailto:[EMAIL PROTECTED] > I run example.c and replace my oid trap, >TRAP6..1 from 192.168.10.138: Enterprise Specific >My trap dosen`t show. Sounds like you need to add more varbinds into your example.c to provide additional information in your trap. Check some of the other tra

RE: IP redirection

2008-06-18 Thread Ron Rader
> From: Mike Ayers [mailto:[EMAIL PROTECTED] > > ip link set eth2 up > > ip link set eth2 down > Or just pull the freakin' cable! ... ass-u-ming that your platform already implements interface status throughout the full stack, yes. And that the interface you're attempting to generate link

Re: Immediate notifications for interfaces ?

2008-06-18 Thread Dave Shield
2008/6/18 lanas <[EMAIL PROTECTED]>: > Is there a way to get immediate notification when an event happens ? > Eg. when an interface is brought up or down ? It depends on what you mean by "immediate". The DisMan Event MIB support would allow the agent to check the status of network interfaces on

Re: v1 trap + agent address

2008-06-18 Thread Dave Shield
2008/6/18 mahesh anasuri <[EMAIL PROTECTED]>: > While generating V1 traps. If Agent runs on a box which has multiple > interfaces (ie. IP addresses). How to select active interface IP address > value in Trap (Agent Address) ? >From agent/agent_trap.c:netsnmp_send_traps(): /* * Ensure th

Re: Doubt on ipCidrRouteInfo OBJECT IDENTIFIER

2008-06-18 Thread Dave Shield
2008/6/17 Bhaskararao vakamullu <[EMAIL PROTECTED]>: > How the above value looks like when a walk is done on ipCidrRouteTable > for example?. $ netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 169.254.0.0 0.0.0.0 255.2

Immediate notifications for interfaces ?

2008-06-18 Thread lanas
Hi, Is there a way to get immediate notification when an event happens ? Eg. when an interface is brought up or down ? Thanks. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services fo

trap

2008-06-18 Thread kian
Hi, I run example.c and replace my oid trap, but dosn`t work correct. This show: TRAP6..1 from 192.168.10.138: Enterprise Specific My trap dosen`t show. Please tell me what do I? Thanks. - Check out the new SourceForge.

Re: implement scalars ipForwarding ipDefaultTTL to net-snmp-5.3.1

2008-06-18 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] 2008/6/

Re: get table

2008-06-18 Thread Dave Shield
2008/6/17 joy <[EMAIL PROTECTED]>: >since I couldn't find the 'ipRouteDest' in advance, is that mean I must > try every possible ip address. Is there an faster way to get the table. If you know the exact indexes of the information you need, then you can use the GET request to retrieve exactly