RE: Access the SNMP Counters without increasing them

2013-05-03 Thread Steve Friedl
] Sent: Thursday, May 02, 2013 11:49 PM To: Tim Cox Cc: net-snmp-coders@lists.sourceforge.net Subject: Re: Access the SNMP Counters without increasing them Thank you very much for the help. My main issue is not to send the data to the GUI, the problem is to get it out of the net-snmp library. The

Re: Access the SNMP Counters without increasing them

2013-05-02 Thread Gustav Evertsson
hat will increase the counters:> > > > snmp_sess_init( &session );> > session.peername = "127.0.0.1";> > > > SOCK_STARTUP;> > ss = snmp_open(&session); > > snmp_synch_response(ss, pdu, &response);> > snmp_close(ss);> &

Re: Access the SNMP Counters without increasing them

2013-05-02 Thread Tim Cox
lly so important access the MIB variables > > from a socket program or decrement the send and receive counts by > > 1 between acquiring and displaying (you need a running count of > > course)Gesendet: Dienstag, 30. April 2013 um 15:35 Uhr Von: > > "Gustav Ev

Re: Access the SNMP Counters without increasing them

2013-05-01 Thread Gustav Evertsson
running count of> course)Gesendet: Dienstag, 30. April 2013 um 15:35 Uhr Von:> "Gustav Evertsson" An: "Tim Cox" > Cc: net-snmp-coders@lists.sourceforge.net Betreff: Re: Access the> SNMP Counters without increasing them   Yes, the problem is that they> ar

Aw: Re: Access the SNMP Counters without increasing them

2013-04-30 Thread Tim Cox
An: "Tim Cox" Cc: net-snmp-coders@lists.sourceforge.net Betreff: Re: Access the SNMP Counters without increasing them Yes, the problem is that they are increased when read from the GUI. They should only be increased when read from SNMP. When the user opens the GUI it is not visib

Re: Access the SNMP Counters without increasing them

2013-04-30 Thread Gustav Evertsson
Evertsson" An:> net-snmp-coders@lists.sourceforge.net Betreff: Access the SNMP> Counters without increasing them   I am developing an application> that have both an SNMP interface and a GUI. I would like to access> the SNMP counters like snmpInPkts, snmpOutPkts etc to show in the> GUI. I

Aw: Access the SNMP Counters without increasing them

2013-04-30 Thread Tim Cox
?         Gesendet: Dienstag, 30. April 2013 um 09:47 Uhr Von: "Gustav Evertsson" An: net-snmp-coders@lists.sourceforge.net Betreff: Access the SNMP Counters without increasing them I am developing an application that have both an SNMP interface and a GUI. I would like to acces

Access the SNMP Counters without increasing them

2013-04-30 Thread Gustav Evertsson
I am developing an application that have both an SNMP interface and a GUI. I would like to access the SNMP counters like snmpInPkts, snmpOutPkts etc to show in the GUI. I have tested to send SNMP request to localhost and it works but it also increases the counters and is therefore not so nice. Relo