Re: SNMPTRAP doesn't work

2012-07-25 Thread Dave Shield
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,

Re: SNMPTRAP doesn't work

2012-07-25 Thread mohamad hosein jafari
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

Re: SNMPTRAP doesn't work

2012-07-25 Thread Dave Shield
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

Re: SNMPTRAP doesn't work

2012-07-25 Thread mohamad hosein jafari
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

Re: SNMPTRAP doesn't work

2012-07-25 Thread Dave Shield
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 -

Re: SNMPTRAP doesn't work

2012-07-25 Thread Dave Shield
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

Re: SNMPTRAP doesn't work

2012-07-25 Thread mohamad hosein jafari
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

Re: SNMPTRAP doesn't work

2012-07-25 Thread 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:

Re: SNMPTRAP doesn't work

2012-07-25 Thread mohamad hosein jafari
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

Re: SNMPTRAP doesn't work

2012-07-25 Thread 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

Re: SNMPTRAP doesn't work

2012-07-25 Thread Dave Shield
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

Re: SNMPTRAP doesn't work

2012-07-25 Thread mohamad hosein jafari
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

Re: SNMPTRAP doesn't work

2012-07-25 Thread Dave Shield
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

Re: SNMPTRAP doesn't work

2012-07-25 Thread Dave Shield
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

Re: SNMPTRAP doesn't work

2012-07-25 Thread mohamad hosein jafari
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?)

Re: SNMPTRAP doesn't work

2012-07-25 Thread Dave Shield
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

Re: SNMPTRAP doesn't work

2012-07-25 Thread mohamad hosein jafari
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

Re: SNMPTRAP doesn't work

2012-07-25 Thread 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

AUTO: Craig Laverone/San Jose/IBM is out of the office (returning 07/30/2012)

2012-07-25 Thread Craig Laverone
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

Re: SNMPTRAP doesn't work

2012-07-25 Thread mohamad hosein jafari
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

Re: SNMPTRAP doesn't work

2012-07-25 Thread 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

Re: SNMPTRAP doesn't work

2012-07-25 Thread mohamad hosein jafari
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