I also noticed that agent_session created twice after the send_trap, I suspect the problem is the first agent_session was never released. Will that cause select() stop and master agent lose response?
snmp_agent: agent_sesion 0x1015de90 created
agentx/master: handle pdu (req=0x2104c5ba,trans=0x0,s
I got more debug information of the problem in the master agent when a subagent sent traps.
I started snmpd with debug tokens as below:
snmpd -f -Le -Dsnmpd/select -Dsnmp_agent -Dtrap -Dagentx/master
In the working case, I see snmpd/select is called right after agent_session release and before
On Fri, 24 Jun 2005 16:06:18 +0200 Thomas wrote:
TA> I'm not sure I agree. Why require people to configure like this for the
TA> whole toolkit when all they want is to configure like this for a certain
TA> application instance? Why not even have a "noPersistentStore" config token?
Good point...
On Fri, Jun 24, 2005 at 04:06:18PM +0200, Thomas Anders wrote:
> >TA> misleading.
> >
> >Right, but we could easily define a new one, with the same value, and use
> >that
> >one in all the code (leaving the old one in the header for backwards
> >compatability).
>
> Agreed. Steve, are you willing
Robert Story wrote:
On Thu, 23 Jun 2005 16:36:51 +0200 Thomas wrote:
TA> Unfortunately our compatiblity credo doesn't seem to allow us to rename
TA> that #define to something better, because I think it's *really*
TA> misleading.
Right, but we could easily define a new one, with the same value
Robert Story wrote:
On Thu, 23 Jun 2005 13:11:15 +0200 Thomas wrote:
TA> As Robert has just removed this (obsolete) token from
TA> agent/mibgroup/ucd-snmp/diskio.c, I'm not sure why he still applied my
TA> diskio change to snmpd.conf.5.def. It should be removed.
Hmm.. in what branch do you st
On Thu, 23 Jun 2005 13:11:15 +0200 Thomas wrote:
TA> As Robert has just removed this (obsolete) token from
TA> agent/mibgroup/ucd-snmp/diskio.c, I'm not sure why he still applied my
TA> diskio change to snmpd.conf.5.def. It should be removed.
Hmm.. in what branch do you still see it? I didn't ap
On Thu, 23 Jun 2005 20:07:03 -0400 bryce wrote:
B> Can the latest Net-SNMP binaries (windows XP) be set up to monitor my traps?
B> [..] The snmptrapd responds with a 0x5de error, so its receiving something
B> but its garbage.
Seems like you've answered your own question there!
B> What are the co
On Fri, 24 Jun 2005 00:21:15 -0700 (PDT) mahua wrote:
MD> how to load modules Dynamically in windows 2000? In solaris 10 There is
MD> dlmod option which you can set in the snmpd.conf file. In windows it gives
MD> "Warning: Unknown token: dlmod.".
MD>
MD> Please let me know how can I do the same in
Hello,
I have found the solution in the mailing list. I have forgot the SOCK_STARTUP
function in my C Program. Now it works fine as Master and agentx Agent :-))
regards,
Peter Naber
-Ursprüngliche Nachricht-
Von: Robert Story [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 24. Juni 2005
On Thu, 23 Jun 2005 19:45:16 +0200 Naber, wrote:
NP> i have a problem with my own agent. I have developed a small agent and
NP> compiled it with gcc under cygwin. The agent works fine with snmd-5.2.1 and
NP> agentx Interface on localhost:705
First, some terminology. The 'agent' or 'master agent' i
On Thu, 23 Jun 2005 16:36:51 +0200 Thomas wrote:
TA> Unfortunately our compatiblity credo doesn't seem to allow us to rename
TA> that #define to something better, because I think it's *really*
TA> misleading.
Right, but we could easily define a new one, with the same value, and use that
one in a
On Thu, 23 Jun 2005 17:51:14 +0530 amit wrote:
A> ucd-snmp/versioninfo.c:97:37: warning: character constant too long for its
A> type
That one is easy.. there is an extra set of quotes around the string on line 97
of that file. Delete them.
--
NOTE: messages sent directly to me, instead of the
On Thu, 23 Jun 2005 10:09:23 +0100 Dave wrote:
DS> On Thu, 2005-06-23 at 07:38, aakansha rajvi wrote:
DS> Then you need to check the length of the incoming value, to
DS> see whether it will fit. Something like:
DS>
DS> if (requests->requestvb->val_len >= 10 ) {
DS> netsnmp_set_reques
On Thu, 23 Jun 2005 09:49:55 +0100 Dave wrote:
DS> I'm wondering whether it might not be safer to define these
DS> typedefs ourselves...
Blech. But you are probably right. Do we define them in the source, or in a
header somewhere? I'd say in the source, to discourage their use elsewhere in
the cod
Yes dev sir it works.
Dave Shield <[EMAIL PROTECTED]> wrote:
On Fri, 2005-06-24 at 13:25, mahua dutta wrote:> I am tring to run "snmpwalk -v 1 -c public localhost system" ..> It is is giving error as "Timeout: No Response from localhost".That's because you haven't configured "public" as an acceptab
No , still the same problem One more thing I saw in the logfile "snmpd: send_trap: Timeout (No such file or directory)"
Any idea?
Akshatha Baliga <[EMAIL PROTECTED]> wrote:
Try setting the rocommunity as "public" instead of "default"On Fri, 2005-06-24 at 17:55, mahua dutta wrote:> Can any one give
On Fri, 2005-06-24 at 13:25, mahua dutta wrote:
> I am tring to run "snmpwalk -v 1 -c public localhost system" ..
> It is is giving error as "Timeout: No Response from localhost".
That's because you haven't configured "public" as an acceptable
community string. The *only* community string that y
Try setting the rocommunity as "public" instead of "default"
On Fri, 2005-06-24 at 17:55, mahua dutta wrote:
> Can any one give me some help on basic setup of configuration files? I
> think if any one is having the snmpd.conf with basic set up. it will be
> fine for me.
>
> I am trying to config
Can any one give me some help on basic setup of configuration files? I think if any one is having the snmpd.conf with basic set up. it will be fine for me.
I am trying to configure it by running "snmpconf -g basic_setup". I am trying to provide everything as default. I am attaching the snmpd.co
Dave,
It is working fine now. :-)
The problem is for a Read-Write OID I didnt implement
SET_ACTION,RESERVE1 etc., Now I fixed that issue.
Moreover sysLocation and sysContact being a read-write oid, I
configured them in snmpd.conf
during agent configuration which will write-protect these oids.
On Thu, 2005-06-23 at 11:44, Hongjunli wrote:
> stationName OBJECT-TYPE
> SYNTAX OCTET STRING (SIZE (0..63))
> MAX-ACCESS read-write
> STATUS current
> DESCRIPTION
> "Station name."
> ::= { meshInfoEntry 1 }
>
> I want to change value of it using command:
On Fri, 2005-06-24 at 07:33, aakansha rajvi wrote:
> I want to capture the snmp packets alone as a result of snmpget
> and snmpset operations.
> I want to know how to frame the "tcpdump" command to do this.
Untested, but something like
tcpdump udp port 161
should do the trick.
You mi
hi ,
i tried compiling the net-snmp-5.1.2 for aix 5.1 again
and got a different error.
gcc -I../../include -I../../include -I. -I../.. -I. -I./../..
-I./../../snmplib -I./.. -I.. -g -O2 -Daix5 -c ucd-snmp/versioninfo.c -o
ucd-snmp/versioninfo.o
ucd-snmp/versioninfo.c:97:37: warning: character
hi ,
this is the errror i get when doing make , i m compiling net snmp 5.1.2
for aix 5.1
echo timestamp > debug_handler.lo
/bin/sh ../../libtool --mode=compile gcc -I../../include
-I../../include -I. -I.. -I../.. -I. -I./.. -I./../mibgroup -I./../..
-I./../../snmplib -g -O2 -
stationName OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (0..63))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Station name."
::= { meshInfoEntry 1 }
I want to change value of it using command:snmpset -v 2c -c private
localhost:163 stationName.234 s "tester
how to load modules Dynamically in windows 2000? In solaris 10 There is dlmod option which you can set in the snmpd.conf file. In windows it gives "Warning: Unknown token: dlmod.".
Please let me know how can I do the same in windows platform.__Do You
27 matches
Mail list logo