yes I did it
and in the first window I got Log of my snmptrap instruction
thanks
But excuse me I have another question :
How I can senf snmptrap by windows Agent?
can you help me?
Thanks
On Tue, Jul 24, 2012 at 4:40 PM, Dave Shield wrote:
> On 24 July 2012 12:19, mohamad hosein jafari
> wrot
On 24 July 2012 12:19, mohamad hosein jafari wrote:
> yes I think because my agent and server is on 1 system
No - ther's absolutely no problem about running an SNMP agent
and a trap receiver on the same system.They are different
services, and listen on different network ports. They shouldn'
Thank
yes I think because my agent and server is on 1 system
I do your instruction to kill snmptrapd and then I rewrite that
instruction snmptrapd -f -Le
but my output take long time and I didn't receive anything so I stopped it
this is my output
NET-SNMP version 5.3.2.2
2012-07-23 17:26:38 N
Hi Dave
The problem was indeed solved when I got the indices from string as
separated characters - (idx->val.string)[0], (idx->val.string)[1],...
The set method stayed as it was and it works great!
*(idx->val.integer) = key_pointer->dest_ip;
Thank you!
-Original Message-
From: dave.shi..
On 24 July 2012 09:43, Matson, Stuart (UK) wrote:
> I’ve discovered that ‘execute’ trap handling works fine if I start snmptrapd
> on the command line. If snmptrapd is running as a service however the
> ‘execute’ trap handling doesn’t work (logging does still work). I would
> prefer to run it as a
On 24 July 2012 09:16, mohamad hosein jafari wrote:
> you means I use Killall snmptrap command?
No
You are still getting confused between "snmptrap" and "snmptrapd"
"snmptrapd" is the trap receiver - the program that runs all the time, listening
for incoming traps and processing/logging them.
"
Following my query
http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg29840.html
I've discovered that 'execute' trap handling works fine if I start snmptrapd on
the command line. If snmptrapd is running as a service however the 'execute'
trap handling doesn't work (logging does
and why I can't find
/etc/default/snmptrap.conf
???
can you help me?
On Tue, Jul 24, 2012 at 12:46 PM, mohamad hosein jafari <
smhjafar...@gmail.com> wrote:
> you means I use Killall snmptrap command?
>
>
> On Tue, Jul 24, 2012 at 12:41 PM, Dave Shield
> wrote:
>
>> On 24 July 2012 09:10, moh
you means I use Killall snmptrap command?
On Tue, Jul 24, 2012 at 12:41 PM, Dave Shield wrote:
> On 24 July 2012 09:10, mohamad hosein jafari
> wrote:
> > I use these command
> >
> > and I get this answer:
> >
> > NET-SNMP version 5.3.2.2
> > couldn't open udp:162 -- errno 98 ("Address already
On 24 July 2012 09:10, mohamad hosein jafari wrote:
> I use these command
>
> and I get this answer:
>
> NET-SNMP version 5.3.2.2
> couldn't open udp:162 -- errno 98 ("Address already in use")
OK - that shows you've already got a trap receiver running.
Shut that down, and try again
Dave
---
I use these command
and I get this answer:
NET-SNMP version 5.3.2.2
couldn't open udp:162 -- errno 98 ("Address already in use")
On Tue, Jul 24, 2012 at 12:36 PM, Dave Shield wrote:
> On 24 July 2012 08:58, mohamad hosein jafari
> wrote:
> > I want to use snmptrap but I think first of all I s
On 24 July 2012 08:58, mohamad hosein jafari wrote:
> I want to use snmptrap but I think first of all I should config snmptrapd on
> my server to receive snmp information on server .Am I Right???
Correct
> my snmptrapd.conf is in /etc/snmp/snmptrapd.conf
So why were you telling snmptrapd to l
Thanks my friend
I want to use snmptrap but I think first of all I should config snmptrapd
on my server to receive snmp information on server .Am I Right??? Or Please
tell me true thing
>> I run snmp trap demon and I get answer like this
>> ]# snmptrapd -f -C -c /tmp/snmptrapd.conf -Le
>>You are
On 24 July 2012 06:45, Naama Bar Menachem
wrote:
> I took your advice and tried a single getnext.
> No matter what index I write, it always receives 0,0,0,what-i-insert
> (the first 3 are received as 0, only the fourth is received properly).
First of all - an apology.
I've had a closer look at th
> I run snmp trap demon and I get answer like this
> ]# snmptrapd -f -C -c /tmp/snmptrapd.conf -Le
You are explicitly telling the trap receiver to use the
configuration file '/tmp/snmptrapd.conf'
(That's the meaning of the -c option)
Have you created this file?
> /tmp/snmptrapd.conf: No such
On 24 July 2012 01:24, mohamad hosein jafari wrote:
> I set snmptrap configure and then I change these conf file but I can't fine
> /etc/default/snmptrap.conf
First thing - are you talking about "snmptrap" or "snmptrapd"?
These are very different!
Secondly, /etc/default is typically provided by
16 matches
Mail list logo