On 25 July 2012 04:56, mohamad hosein jafari smhjafar...@gmail.com 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,
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
On 25 July 2012 09:33, mohamad hosein jafari smhjafar...@gmail.com 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
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 ADDRESS name
On 25 July 2012 10:35, mohamad hosein jafari smhjafar...@gmail.com 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
sigh
When I ask for the exact line -
On 25 July 2012 10:54, mohamad hosein jafari smhjafar...@gmail.com 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
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
On 25 July 2012 11:04, mohamad hosein jafari smhjafar...@gmail.com 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:
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 d.t.shi...@liverpool.ac.ukwrote:
On 25 July 2012 11:04, mohamad hosein jafari
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 command
On 25 July 2012 11:52, mohamad hosein jafari smhjafar...@gmail.com 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
yes it happened
On Wed, Jul 25, 2012 at 3:45 PM, Dave Shield d.t.shi...@liverpool.ac.ukwrote:
On 25 July 2012 11:52, mohamad hosein jafari smhjafar...@gmail.com
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
On 25 July 2012 12:21, mohamad hosein jafari smhjafar...@gmail.com 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
On 25 July 2012 13:45, mohamad hosein jafari smhjafar...@gmail.com 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
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?)
On 25 July 2012 14:04, mohamad hosein jafari smhjafar...@gmail.com 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
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
On 25 July 2012 14:23, mohamad hosein jafari smhjafar...@gmail.com 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 am out of the office until 07/30/2012.
For build related issues please contact Roman.
Note: This is an automated response to your message Net-snmp-users
Digest, Vol 74, Issue 4 sent on 07/25/2012 4:52:49.
This is the only notification you will receive while this person is
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
On 25 July 2012 19:29, mohamad hosein jafari smhjafar...@gmail.com 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
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
22 matches
Mail list logo