Re: snmpd.conf and stg?

2006-08-30 Thread Dave Shield
On 30/08/06, Denny Zulfikar [EMAIL PROTECTED] wrote: 2. why the graphics in stg just update each 30 second? can't I get it always updated every request from client? That traffic is to monitor IF-MIB::ifInOctets.2 and IF-MIB::ifOutOctets.2 can I increase the update time period? what should I

Re: Secure SNMP

2006-08-30 Thread Chino Aureus
Hi, I'm not really sure about which secure SNMP. One of our consultant said that we'll be talking with their device via Secure SNMP and this is over TCP. Being curious though, i began searching an RFC for this. :) Anyway, I'll take a look at SNMP v3. Thanks, Chino On 8/29/06, Dave Shield [EMAIL

Subhandler function

2006-08-30 Thread Chino Aureus
Hi, I have an integer variable which I'm exposing via my MIB. What I want to achive is when a SNMP GET operation is performned on this variable , the value will be reset to 0. I'm using the function below to register the int variable. int netsnmp_register_int_instance (const char *name, oid

Representation of a float/double in the MIB

2006-08-30 Thread Arnaud BODENAN
I plan to use an Unsigned32 to manage float/double (I'll define a fixed precision of 3, and i will multiply each value by 10 ^ 3) in the MIB. As Unsigned32 may not be enough, can I use Counter64 instead of unsigned32? Thanks. _

RE: Secure SNMP

2006-08-30 Thread Brian Clevenger
SNMPv3 is typically over UDP. I seem to remember a few years ago there was a company offering something they called Secure SNMP which was just SNMPv1/v2 over SSL. I wonder if thats what this is. If so, it should be possible to interoperate with Net-SNMP if you use a program like Stunnel to

Re: How to send a v1 trap (newbie)

2006-08-30 Thread Sebastian Bello
Thanks Dave! Dave Shield escribió: On 28/08/06, Sebastian Bello [EMAIL PROTECTED] wrote: I have used the code in snmptrap to send a trap, but 1- it doesn't use send_trap_vars nor send_easy_trap (just init_snmp, snmp_open, snmp_pdu_create, snmp_add_var and snmp_send); what's the difference

Re: Integrating HP insight agents with MRTG.

2006-08-30 Thread Thomas Anders
Daniel Romeo wrote: [EMAIL PROTECTED] root]# snmpd -H dlmod module-name module-path OK, so you have working dlmod support in your net-snmp package. When I executed #hpasm activate NOTE: It has been determined that your existing SNMP software stack will not work correctly

snmptrapd not output log information

2006-08-30 Thread Алексей Хохлов
Hello! I have problem with snmptrapd from net-snmp Version: 5.3.1, windows xp, vc7 I running #snmptrapd after that i send trap #snmptrap -v2c -c public 127.0.0.1 1.3.3.3 1.2.2.2 s Test data and do not see any information about passing this packet to snmptrapd in log file, but if snmptrapd

Re: snmptrapd not output log information

2006-08-30 Thread Dave Shield
On 30/08/06, Алексей Хохлов [EMAIL PROTECTED] wrote: I have problem with snmptrapd from net-snmp Version: 5.3.1, windows xp, vc7 [I] do not see any information about passing this packet to snmptrapd in log file, but if snmptrapd run with option -d, then I see the dump of delivered trap.

Re: Subhandler function

2006-08-30 Thread sishen
Chino Aureus wrote: Hi, I have an integer variable which I'm exposing via my MIB. What I want to achive is when a SNMP GET operation is performned on this variable , the value will be reset to 0. I'm using the function below to register the int variable. int