Re: SNMPTRAP doesn't work

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

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 wi

Re: SNMPTRAP doesn't work

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

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 ADDR

Re: SNMPTRAP doesn't work

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

Re: SNMPTRAP doesn't work

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

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 wrote: > On 25

Re: SNMPTRAP doesn't work

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

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 wrote: > On 25 July 2012 11:04, mohamad hosein jafari > wrote: > > I restart it > > and I

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 comm

Re: SNMPTRAP doesn't work

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

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 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

Re: SNMPTRAP doesn't work

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

Re: SNMPTRAP doesn't work

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

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?) http://www.helpsystems.com/support/help-facts/configuring-windows-xp-send-snmp-traps

Re: SNMPTRAP doesn't work

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

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 wrote: > On 25 July 2012

Re: SNMPTRAP doesn't work

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

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 away.--

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 wrote: > On 25 July 2012 14:2

Re: SNMPTRAP doesn't work

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

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

RE: How to delete/add line from raw table?

2012-07-25 Thread Naama Bar Menachem
Hi Dave I have read many RowStatus documentations and still not sure how to use it. My tables are actually kept in kernel, and not in agent itself and I use "mib2c.raw-table.conf" to create their structure in mib2c. After adding RowStatus column, mib2c created a c file with variables with the na