Re: Need of snmpDaemon while sending snmp traps

2014-11-28 Thread Pushpa Thimmaiah
Thank You Wes Hardaker and Pranesh. This information is very helpful. So both snmpDaemon and snmptrap able to send traps out and can be used either of them according to situation. On Sat, Nov 29, 2014 at 7:51 AM, Wes Hardaker < harda...@users.sourceforge.net> wrote: > Pranesh Kulkarni writes

Re: Need of snmpDaemon while sending snmp traps

2014-11-28 Thread Wes Hardaker
Pranesh Kulkarni writes: > snmpd -- > SNMP Agent Daemon which sends the trapĀ  > snmptrapd -> SNMP Trap Daemon which recevies the trap > snmptrap -> Application which sends the trap Pranesh is right: Functionally snmptrap sends a manual trap to a given destination and it has nothing to do with t

Re: Need of snmpDaemon while sending snmp traps

2014-11-21 Thread Pranesh Kulkarni
snmpd -- > SNMP Agent Daemon which sends the trap snmptrapd -> SNMP Trap Daemon which recevies the trap snmptrap -> Application which sends the trap You need to code to send traps from the agent. Please follow tutorials. On Thu, Nov 20, 2014 at 11:23 PM, Pushpa Thimmaiah < pushpa.thimma...@gmail

Re: Need of snmpDaemon while sending snmp traps

2014-11-20 Thread Pushpa Thimmaiah
Is there any difference between sending traps through snmpd and snmptrapd ? how to make agent to send example traps that are defined by me? On Thu, Nov 20, 2014 at 6:28 PM, Pranesh Kulkarni wrote: > snmptrap is the command which sends the trap . > > If your agent wants to send the trap , you

Re: Need of snmpDaemon while sending snmp traps

2014-11-20 Thread Pranesh Kulkarni
snmptrap is the command which sends the trap . If your agent wants to send the trap , you need to run the snmpagent(snmpd) On Thu, Nov 20, 2014 at 6:13 PM, Pushpa Thimmaiah < pushpa.thimma...@gmail.com> wrote: > Hi, > Following is the setup: > > On system1: 172.16.1.131, ubuntu > > stoped sn

Re: Need of snmpDaemon while sending snmp traps

2014-11-20 Thread Pushpa Thimmaiah
Hi, Following is the setup: On system1: 172.16.1.131, ubuntu > stoped snmpd ps -eaf |grep snmp user1 28717 3434 0 18:03 pts/500:00:00 grep --color=auto snmp ps -eaf |grep snmpd user2 28719 3434 0 18:03 pts/500:00:00 grep --color=auto snmpd send snmp trap $ snmptrap -v 2c -c

Re: Need of snmpDaemon while sending snmp traps

2014-11-20 Thread Pranesh Kulkarni
please check with ps -eaf | grep snmpd The SNMP agent is the one which sends trap. In case if the agent is not running , the trap receiver may be receiving traps from the other agent(other machine) please check the ipaddress in the trap PDU. On Thu, Nov 20, 2014 at 2:47 PM, Pushpa Thimmaiah

Need of snmpDaemon while sending snmp traps

2014-11-20 Thread Pushpa Thimmaiah
Hello everybody, It seems snmptraps can be sent out without snmpDaemon running background. I have used command 'snmptrap' to send traps without SNMPDaemon running and traps sent out successfully.OS: ubuntu Can anybody let me know why snmpDeamon not necessary while sending traps? -