about net-snmp

2005-03-14 Thread elghazi amina
Mr, we are beginers in network management and especialy in net snmp how ever i want to extend my agent and want to know how by using SMUX or AGENTX, by exemple, its very important to me to do this please help me. thanks for your precious  help.and i'd like you to give me some advices about that. th

Are there any Delphi users here?

2005-03-14 Thread Ekkehard Domning
Hello, I am using the "netsnmp.dll" (partly) with Delphi under Windows. Does somebody work also with Delphi? Please feel free to contact me, maybe we can share some work... Best regards Ekkehard Domning --- SF email is sponsored by - The IT Prod

Re: what are advantages of agentx over smux

2005-03-14 Thread Robert Story
On Tue, 1 Mar 2005 23:34:25 -0600 Ravi wrote: R> can anybody tell me advantages of agentx over smux. AgentX is preferred, as it's specification is a draft standard, and has not been moved to historic status, as the SMUX specification has been. It is more flexible and better supported. -- Robert

RE: mechanism for sending periodic traps?

2005-03-14 Thread Brennan, Thomas J
> I am attempting to extend net-snmp as an application monitoring tool, > and am running into a problem: > > Is there a simple way to get net-snmp to send dynamically configured > periodic traps? In other words, for any registered variable in the > agent, I want to be able to have the variabl

error running snmpd

2005-03-14 Thread Muhammad Toha Supriyadi
i got an error when running snmpd in snmpd.log says: mibII/mta_sendmail.c:open_sendmailst: could not guess version of statistics file "/var/log/sendmail.st" Error opening specified endpoint "udp:161" Server Exiting with code 1 how can i solve this problem? thanx ---

Please investigate bug 922835

2005-03-14 Thread Joseph Kuan
Hi, This bug is currently closed but I have experience the same as the bug reporter and I can reproduce the problem. I have posted comments to the bug entry including work around. (See below) I don't think this is related to bug 930993 because I have applied the change to the source on ver 5.

hello .about threshold of net-snmp

2005-03-14 Thread Lin Junhua
Hello. I am Lin working in NEC corparation in Japan . (BI want to set a threshold of OID . When the value of OID is exceeded the (Bthreshold , SNMP agent will send a trap to SNMP manager. (BHow can I do that ? (BThanks for your time . (B (BYours sincerely (BLinJH. (B (B (B (B

configure problem

2005-03-14 Thread Matthew Libhart
Hello net-snmp-coders,   I really hope this isn't a stupid-user issue.  I downloaded 5.2.1 source and tried to run configure on a Solaris 8 box.  First and only thing it gave me is:   configure: error: cannot find sources (agent/mibgroup/ucd-snmp/extensible.c) in . or ..   extensible.c file i

snmp_add_var

2005-03-14 Thread Haizhu Liu
I failed on the snmp set with wrongValue: string subnet_prefix = "fe80"; -> should be all hex snmp_add_var(pdu, smNetPartitionConfigSubnetPrefix_oid, sizeof(smNetPartitionConfigSubnetPrefix_oid)/sizeof(oid), 's', subnet_prefix.data()); How can I tell snmp_add_var this is a hex value

nobody knows: SNMP SET with unknown error

2005-03-14 Thread Haizhu Liu
unsigned long int subnet_prefix = 0xfe80; snmp_pdu_add_variable(pdu, smNetPartitionConfigSubnetPrefix_oid, sizeof(smNetPartitionConfigSubnetPrefix_oid)/sizeof(oid), ASN_OCTET_STR, (u_char *)&subnet_prefix, sizeof(unsigned long int)); unsigned short int pKey = 0xfffc; sn

Warning for missing header

2005-03-14 Thread Kelvin Moss
Hi all, I use Net-SNMP 5.0.9 on Linux Enterprise AS 3. I am using the function header_generic in my code. I get a warning with make -- my_mib.c:420: warning: implicit declaration of function `header_generic'I tried to include  , which has the relevant declarartion...I now get -- /usr/include/ucd-sn

Re: net-snmp on vxworks

2005-03-14 Thread Andy Smith
Your best bet might be to just try it. Do a ./configure; make and see if there are errors. If not try adding the MIB modules in one at a time by adding --with-mib-modules="module" to the configure line. If the compile does fail look through the errors and see if it is something you can fix your