Re: problem with InetAddress

2011-01-20 Thread Robert Story
On Thu, 13 Jan 2011 20:14:34 + Dave wrote: DS> I'm also not totally convinced that escaping the quotes around the IP DS> address will work correctly. My suspicion is that this might well be DS> interpreted as a printable string (that happened to contain a sequence DS> of digits and period cha

RE: Is integer64 support for pass_persist broken?

2011-01-20 Thread Jans, Kert
Hi, The -v2c option makes the "get" for "counter64"(...4.0) work, Thanks! But "integer64"(...2.0) fails (times out)... I can get-by by just using counter64...so your answer solves my problem. Thank again, Kert -Original Message- From: Thomas Anders [mailto:thomas.and...@blue-cable.

Re: SNMP C++

2011-01-20 Thread Wes Hardaker
W> I want to get the value or the portnumbers of my switch. I used this W> OID 1.3.6.1.2.1.2.2.1.1 to print the values. Portnumber 10011 has the W> value of 10011. How can I get this value with which function? I found W> snprint_variable function, but i don`t know how it works. When I get W> the v

Re: problem with InetAddress

2011-01-20 Thread Dave Shield
On 20 January 2011 13:22, Jacek Poplawski wrote: >> Try >>   >> TCP-MIB::tcpConnectionState.ipv4.4.192.168.85.92.52219.ipv4.4.192.168.85.53.22 > > Thanks! It works. > What about ipv6? Do I need to pass decimal values too? Probably, yes. I don't believe the OID parser is clever enough to recogni

Re: problem with InetAddress

2011-01-20 Thread Jacek Poplawski
On Thu, Jan 20, 2011 at 1:58 PM, Dave Shield wrote: > On 20 January 2011 12:20, Jacek Poplawski wrote: >>> Both Wes and I responded to your post (on the same day), >>> explaining what we thought was happening. >> >> But the reply was that escaped address should work and as I wrote >> before it do

Re: problem with InetAddress

2011-01-20 Thread Dave Shield
On 20 January 2011 12:20, Jacek Poplawski wrote: >> Both Wes and I responded to your post (on the same day), >> explaining what we thought was happening. > > But the reply was that escaped address should work and as I wrote > before it doesn't. Actually, I expressed a belief that it probably woul

Re: problem with InetAddress

2011-01-20 Thread Jacek Poplawski
On Thu, Jan 20, 2011 at 1:11 PM, Dave Shield wrote: > On 20 January 2011 11:49, Jacek Poplawski wrote: >> There was no reply to my issue for 7 days so I will try to explain it >> once again. > > Both Wes and I responded to your post (on the same day), > explaining what we thought was happening.  

Re: problem with InetAddress

2011-01-20 Thread Dave Shield
On 20 January 2011 11:49, Jacek Poplawski wrote: > There was no reply to my issue for 7 days so I will try to explain it > once again. Both Wes and I responded to your post (on the same day), explaining what we thought was happening. So it's a little unfair to say that "there was no reply". >

SNMP C++

2011-01-20 Thread wolframm88
Good evening Net-Snmp-Coders, I want to get the value or the portnumbers of my switch. I used this OID 1.3.6.1.2.1.2.2.1.1 to print the values. Portnumber 10011 has the value of 10011. How can I get this value with which function? I found snprint_variable function, but i don`t know how it w

Re: problem with InetAddress

2011-01-20 Thread Jacek Poplawski
There was no reply to my issue for 7 days so I will try to explain it once again. Please repeat these steps yourself if you think I am wrong. And if I am wrong please explain at which point I am doing mistake. I use Net-SNMP as a reference. I started snmpd and I use snmpwalk/snmpget to communicat