I am using ucd-snmp-4.2.5.
I have everything running in the agent i.e. snmpget, snmpset etc. But as
shown in example.c, if I trigger send_v2Trap() through a snmpset call
then the agent gives segmentation fault. i.e. I make a snmpset on a
particular column and within its write function I call
My question is answered from the first part which you have explained. I
am using v4 API (ucd-snmp-4.2.5). I already tried to do the same i.e.
{ 1, .,, var_this, . },
{ 2, .,, var_this, . },
{ 1, .,, var_that, . }
it didn't give any problem but still
Hi all,
* I am using ucd-snmp-4.2.5. When I start the agent I get coldStart trap
with following variables:
12:58 TRAP0.0 from 0.0.0.0
Trap-Type: Cold Start
Variables: system.sysUpTime.0 = Timeticks: (5) 0:00:00.05
documentation? Certainly an alternative is to
make changes to the Makefile directly but, such approaches seem beyond
the design goals of the toolkit.
William R. Buckley
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Narinder
Soni
Sent: Monday
Thanks Dave. It clears most of my doubts.
Dave Shield wrote:
The Net-SNMP toolkit find it automatically but once I tried to use some
3rd party SNMP manager. In order to configure it so that it could
query/set the values from agent, it asked me to provide the EngineID of
my UCD-SNMP
that something is not in order in my previous
application. Thats what I am curious to find out so that I don't make
that mistake again.
Thanks for the help.
Wes Hardaker wrote:
On Mon, 02 Aug 2004 14:26:22 +0200, Narinder Soni [EMAIL PROTECTED] said:
Narinder Ya, I am also trying to find out the same
,
format);
register_config_handler(snmptrapd, format2,
parse_trap2_fmt, free_trap2_fmt,
format);
Thanks
Soni
Wes Hardaker wrote:
On Wed, 28 Jul 2004 14:47:25 +0200, Narinder Soni [EMAIL PROTECTED] said:
Narinder In my application
I am sorry but still I didn't find
init_agent(snmptrapd) in snmptrapd.c of ucd-snmp-0.4.2.5 rather
init_snmp(snmptrapd) is there.
And I am also calling this function. Does this routine also do same as
init_agent?? or should I explicitly use init_agent instead od init_snmp
or BOTH?
Thanks
Soni
Ya, I am also trying to find out the same i.e. why my app. doesn't pick
up these tokens automatically. May be - while mixing up the code of
snmpget and snmptrapd I have eaten up something(I did this 2 years back)
or I have called the initialization routines in different order or this
is happening
what is the difference between using snmp_open() and snmp_open_ex()
functions?
Will it be fine if I use snmp_sess_open() instead of snmp_open_ex() for
the traphandler(in snmptrapd.c)?
Thanks
Soni
---
This SF.Net email is sponsored by OSTG.
Thanks Dave. This I will read.
The reason why I asked this was because I am using the Single API
functions equivalent to the Traditional API functions used in
ucd-snmp-0.4.2.5 's snmpget application. Till now I was using only
v2c(and everything worked fine), but now I wanted to get it running for
I have tried my application's code as a separate thread from within the
ucd-snmp agent's code. It works fine. And within my application's code I
am further creating multiple threads using mutex etc. This way
everything works.
Soni
Wes Hardaker wrote:
On Wed, 21 Jul 2004 13:53:57 -0400,
Hi,
How and where does snmpget application discover the engine ID of agent's
machine?
Thanks
Soni
---
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic
Thanks Dave.
I have one more question - If I try to access UCD-SNMP-4.2.5 agent v3
with any other 3rd party SNMP Manager then it is required to mention the
EngineId of agent into the configuration files of some of these SNMP
Managers. Where do I find the value of EngineId of agent?
Please note
Yes, you are right.
SNMPv2 traps I could receive with HP Openview but not SNMPv3 traps. The
reason was same as stated by you..I found that the HP Openview's
version which I was using for testing doesnot support SNMPv3.
Thanks Dave.
Dave Shield wrote:
One more question. What does this
1) I create the following entries:
---in /var/ucd-snmp/snmpd.conf
createUser userSoni MD5 lightlight DES
---in snmpd.conf(where SNMPCONFPATH is set)
rouser userSoni
This is how its mentioned in README.snmpv3 file and then I do
snmpget -v 3 -l noAuthNoPriv -u userSoni 192.168.1.189:9000
Thanks dave. Please read my explanation after your remarks
Dave Shield wrote:
1) I create the following entries:
---in /var/ucd-snmp/snmpd.conf
createUser userSoni MD5 lightlight DES
Which version of the code are you using?
The v5 line would normally look in
?
trapsess -v 3 localhost:9001
Do I have to set anything else somewhere OR Do I have to provide
'version number' command line parameter while running snmptrapd??
Thanks
Soni
narinder soni wrote:
Hi all,
I am using UCD-SNMP-0.4.2.5 Everything used to work with SNMPv2 -
snmpget, snmpset and traps also
Thanks Dave. It works now :)
Soni
Dave Shield wrote:
when I give the version as --
trapsess -v 2c localhost:9001
then the snmptrapd receive all the traps, but with -v 3 it doesn't
receive anythingnot even the Cold Start trap from agent.
You need to specify *all* the SNMPv3
19 matches
Mail list logo