Thank you so much again
>>Basically, just copy the new MIB files into the directory
>>where the rest of them live.
>> Typically this will be something like /usr/share/snmp/mibs
>>for a vendor-supplied setup
for example for my work that I said you before should I do anything about
MIB?
(receive
Thank you so much again
>>Basically, just copy the new MIB files into the directory
>>where the rest of them live.
>> Typically this will be something like /usr/share/snmp/mibs
>>for a vendor-supplied setup
for example for my work that I said you before should I do anything about
MIB?
(receive
On 26 July 2012 16:32, mohamad hosein jafari wrote:
>>> If you have the relevant MIB files, then you can install these
>>>on the linux side in the usual manner. See the on-line
>>>documentation for details.
>
> Can you help me about this more??
Basically, just copy the new MIB files into the di
thanks
>>But a trap is perfectly valid without the corresponding MIB file.
>>You can detect and log it, even if you don't have the MIB file.
>> The only difference is that things will be recorded using
>>numeric OIDs rather than MIB names. (And named values
>>will use the numeric value, rather
Thanks
>> If you have the relevant MIB files, then you can install these
>>on the linux side in the usual manner. See the on-line
>>documentation for details.
Can you help me about this more??
And I have another question : Is any script for windows to set all snmp
config that we can use it to
On 26 July 2012 11:01, mohamad hosein jafari wrote:
> My means by saying "linux MIB" is MIB format for linux system
The format of MIB files is standard - it will be the same on
Linux, Windows, Mac OS, etc, etc.
> I asked when windows agent send snmp trap as MIB files
Again - that doesn't make
yes My means by saying "linux MIB" is MIB format for linux system
I asked when windows agent send snmp trap as MIB files Is any configure for
my linux server for getting it or no?
Or is linux MIB format is equal to windows MIB format or no?
and my config for getting trap from windows agent was fin
On 26 July 2012 10:39, mohamad hosein jafari wrote:
> because of this I asked you "is any difference between linux MIB and windows?"
OK - let's address that question, then.
What do you mean by "Linux MIB" and "Windows MIB" ?
The reason that I said the question didn't make sense, is
that as
This work is in other step of our works
but I think we should get IDS logs from other agent and save them in our
log file(server log file)
so I should configure server completely for getting trap from linux and
windows agents continually
because of this I asked you "is any difference between lin
On 26 July 2012 10:14, mohamad hosein jafari wrote:
> I want agent that send trap to my server every time continually.
But *what* traps do you want the agent to send?
An SNMP trap is used to report some event or condition.
What events and conditions are you interested in?
>
Thank you so much for your helps
Now I set snmptrap config on my first windows system like this link
http://www.helpsystems.com/support/help-facts/configuring-windows-nt-send-snmp-traps-robottrapper
and I selected all service under the agent tab . I want agent that send
trap to my server every t
On 26 July 2012 09:46, mohamad hosein jafari wrote:
> I send trap with other windows agent and saw log file in my linux log file
So you are now in a state where you can send traps from your
Windows box to a trap receiver. Good
*NOW* you can start to think about what traps you want to generate
the output is :
2012-07-24 19:15:42 192.168.1.2(via UDP: [192.168.1.2]:58885) TRAP, SNMP
v1, community public
SNMPv2-SMI::enterprises.311.1.1.3.1.1 Link Up Trap (0) Uptime:
0:00:17.63
IF-MIB::ifIndex.37 = INTEGER: 37
in my log file
On Thu, Jul 26, 2012 at 1:16 PM, mohamad hosein
excuse me
I send trap with other windows agent and saw log file in my linux log file
On Thu, Jul 26, 2012 at 1:13 PM, Dave Shield wrote:
> On 26 July 2012 09:32, mohamad hosein jafari
> wrote:
> > I test It AND I saw log in my log file :)
> > Thank you . I got result
> >
> > Is there any work t
On 26 July 2012 09:32, mohamad hosein jafari wrote:
> I test It AND I saw log in my log file :)
> Thank you . I got result
>
> Is there any work to do?
You could start by telling me *what* you tested,
and what you saw?
Is this from another Linux system?
Sending traps from the Windows box?
or wha
On 26 July 2012 09:37, mohamad hosein jafari wrote:
> but what is problem in running it in one system?
There isn't. What makes you think there might be?
We've already shown that this works.
Why do you think there's still a problem?
Dave
---
but what is problem in running it in one system?
On Thu, Jul 26, 2012 at 1:02 PM, mohamad hosein jafari <
smhjafar...@gmail.com> wrote:
> Yes
>
> I test It AND I saw log in my log file :)
>
> Thank you . I got result
>
> Is there any work to do?
>
>
> On Thu, Jul 26, 2012 at 12:47 PM, Dave Shield
Yes
I test It AND I saw log in my log file :)
Thank you . I got result
Is there any work to do?
On Thu, Jul 26, 2012 at 12:47 PM, Dave Shield wrote:
> On 26 July 2012 09:03, mohamad hosein jafari
> wrote:
> > yes that is right . that was my friend system that I checked on . but
> now I
> > do
On 26 July 2012 09:03, mohamad hosein jafari wrote:
> yes that is right . that was my friend system that I checked on . but now I
> don't have that system .
> Is our problem is running snmptrap and receiver on one system??
No - there is no problem with running both trap sender and trap receiver
o
yes that is right . that was my friend system that I checked on . but now I
don't have that system .
Is our problem is running snmptrap and receiver on one system??
thnks but can't you help me in our question about linux config? dosn't have
any difference between these two system?
thnks
On Thu,
yes that is right . that was my friend system that I checked on . but now I
don't have that system .
Is our problem is running snmptrap and receiver on one system??
thnks but can't you help me in our question about linux config? dosn't have
any difference between these two system?
thnks
On Thu,
On 26 July 2012 08:44, mohamad hosein jafari wrote:
> yes I did
> but I didn't see anything in log file again
> what is problem?
I don't know - that's what we need to work out.
I seem to remember you saying that you have two Linux systems available
(one running CentOS, and one running Debian).
yes I did
but I didn't see anything in log file again
what is problem?
excuse me why my question "doesn't make sense" ??
I want to know should I do any config in my linux serever for receiving
trap from windows agent?
thanks
On Thu, Jul 26, 2012 at 12:04 PM, Dave Shield wrote:
> On 26 July 2012
On 26 July 2012 05:51, mohamad hosein jafari wrote:
> I set my snmp service to send trap on my IP then I went to my linux (VmWare)
> and I do setting about IPtable but I didn't see anything in linux log file
Did you restart the Windows SNMP agent *after* running the "iptables" command?
> So I h
Yes
but my agent and server in once .
I set my snmp service to send trap on my IP then I went to my linux
(VmWare)
and I do setting about IPtable but I didn't see anything in linux log file
So I have a question:
IS THERE any different between Linux MIB file and windows MIB file? OR
should I have
On 25 July 2012 19:29, mohamad hosein jafari wrote:
> Yes I did this config snmp service to 192.168.150.227
> and after restart agent
> I couldn't find this path ( /var/log/messages)in my windows command line .
> why?
Think about what's happening here.
You are sending traps *from* the windows box
Yes I did this config snmp service to 192.168.150.227
and after restart agent
I couldn't find this path ( /var/log/messages)in my windows command line .
why?
and also I couldn't see any new thing in my linux command line
On Wed, Jul 25, 2012 at 6:13 PM, Dave Shield wrote:
> On 25 July 2012 14:2
On 25 July 2012 14:23, mohamad hosein jafari wrote:
> Yes I used Microsoft provided by that step that was in that link that I sent
> before
>
> So what is your opinion about it? My cmd don't know any snmp and snmptrap
> command But I do microsoft configuration for snmp
>
> what can I do?
Try foll
Yes I used Microsoft provided by that step that was in that link that I
sent before
So what is your opinion about it? My cmd don't know any snmp and snmptrap
command But I do microsoft configuration for snmp
what can I do?
On Wed, Jul 25, 2012 at 5:43 PM, Dave Shield wrote:
> On 25 July 2012
On 25 July 2012 14:04, mohamad hosein jafari wrote:
> I downloaded for linux and windows
> But I didn't install it on windows.
So you are using the Microsoft-provided SNMP agent,
rather than the Net-SNMP agent - is that correct?
That is quite an important distinction - so it's useful that we've
I downloaded for linux and windows
But I didn't install it on windows . does it need for windows agent to got
net-snmp? Is configuration step like tis link step on windows service not
Enough ؟؟(without using cmd?)
http://www.helpsystems.com/support/help-facts/configuring-windows-xp-send-snmp-traps
On 25 July 2012 13:45, mohamad hosein jafari wrote:
> yes I tried command on CMD
> but cmd can't find instruction
> and I didn't get any result
OK.
Have you got the Net-SNMP package installed on your Windows box?
If so, I believe the command will probably be something like
C:\usr\bin\snmptr
On 25 July 2012 12:21, mohamad hosein jafari wrote:
> yes it happened
Good - so you know that the trap receiver is working properly.
Now you can start looking at your Windows machine!
Fire up a command window, and type the same 'snmptrap'
command that you used before (giving the same IP addres
yes it happened
On Wed, Jul 25, 2012 at 3:45 PM, Dave Shield wrote:
> On 25 July 2012 11:52, mohamad hosein jafari
> wrote:
> > and when I use this command :
> > tail -20 /var/log/messages
> >
> > I found :
> > Jul 24 14:09:43 my-pc snmptrapd[5079]: NET-SNMP version 5.3.2.2
> >
> > as the last l
On 25 July 2012 11:52, mohamad hosein jafari wrote:
> and when I use this command :
> tail -20 /var/log/messages
>
> I found :
> Jul 24 14:09:43 my-pc snmptrapd[5079]: NET-SNMP version 5.3.2.2
>
> as the last line
Right - so that's where incoming traps are being logged.
Now try the following:
and when I use this command :
tail -20 /var/log/messages
I found :
Jul 24 14:09:43 my-pc snmptrapd[5079]: NET-SNMP version 5.3.2.2
as the last line
On Wed, Jul 25, 2012 at 3:09 PM, mohamad hosein jafari <
smhjafar...@gmail.com> wrote:
> Yes I did it and I found this line
> when I type this comm
Yes I did it and I found this line
when I type this command : ls -ltr /var/log | tail
-rw-r--r-- 1 root root 25 Jul 24 14:09 snmptraps.log
On Wed, Jul 25, 2012 at 2:45 PM, Dave Shield wrote:
> On 25 July 2012 11:04, mohamad hosein jafari
> wrote:
> > I restart it
> > and I
On 25 July 2012 11:04, mohamad hosein jafari wrote:
> I restart it
> and I saw in first window:
>
> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (97) 0:00:00.97
> SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-MIB::coldStart
> SNMPv2-MIB::snmpTrapEnterprise.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
I restart it
and I saw in first window:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (97) 0:00:00.97
SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-MIB::coldStart
SNMPv2-MIB::snmpTrapEnterprise.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10
On Wed, Jul 25, 2012 at 2:28 PM, Dave Shield wrote:
> On 25
On 25 July 2012 10:54, mohamad hosein jafari wrote:
> yes . this is exactly :
> # where to send v2 traps:
> trap2sink 192.168.150.227 public
> # send traps on authentication failures
> authtrapenable 1
Right.
Assuming that the 'snmptrapd' command is still running
On 25 July 2012 10:35, mohamad hosein jafari wrote:
>> Is this the exact line as it appears in the file?
>> Or is there an actual IP address there?
>> If so - what is it?
>>
> No I replaced my system IP address like 192. by IP ADDRESS name
When I ask for the exact line - then that is wha
>
>
> In which path?
> What is the full location of this file?
>
in the path that you said
/etc/snmp/snmpd.conf
> Is this the exact line as it appears in the file?
> Or is there an actual IP address there?
> If so - what is it?
>
> No I replaced my system IP address like 192. by IP ADDR
On 25 July 2012 09:33, mohamad hosein jafari wrote:
> yes :) I think I,m too hasty
> because I have a limit time
In which case, you can't affort to race ahead of yourself!
You should also get in the habit of providing the *full* information
that I ask for. That will save time currently wasted
yes :) I think I,m too hasty
because I have a limit time
I have snmpd.conf in this path and contain
# where to send v2 traps:
trap2sink (server_ip_address) public
# send traps on authentication failures
authtrapenable 1
But I have a force to send a trap by wi
On 25 July 2012 04:56, mohamad hosein jafari wrote:
> yes I did it
>
> and in the first window I got Log of my snmptrap instruction
Good - that's progress
> But excuse me I have another question :
> How I can senf snmptrap by windows Agent?
> can you help me?
Too hasty you are, young padawan.
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
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.
"
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
> 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
e: Tue, 24 Jul 2012 09:13:44 +0430
> Subject: Re: SNMPTRAP doesn't work
> From: smhjafar...@gmail.com
> To: mohwaqa...@hotmail.com
>
>
> Thanks
>
> I run snmp trap demon and I get answer like this
> ]# snmptrapd -f -C -c /tmp/snmptrapd.conf -Le
> /tmp/snmptra
diagnose where
is the problem .
Regards,
Muhammad Waqas.
Date: Tue, 24 Jul 2012 09:13:44 +0430
Subject: Re: SNMPTRAP doesn't work
From: smhjafar...@gmail.com
To: mohwaqa...@hotmail.com
Thanks
I run snmp trap demon and I get answer like this]# snmptrapd -f -C -c
/tmp/snmptrapd.con
59 matches
Mail list logo