]
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
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);> &
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
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
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
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
?
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
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