snmptrap under IPv6 after setting clientaddr

2014-11-20 Thread Rizwan Ansari
Hi all, Under IPv6 environment, sent snmptrap after setting clientaddr in snmp.conf, It is sent from another interface. Test Details.. [root@cghvhp1 ~]# cat /etc/snmp/snmp.conf clientaddr 2001:ccc1::2 [root@cghvhp1 ~]# [root@cghvhp1 snmp]# ifconfig eth3 eth3 Link encap:Ethernet HWaddr 2C:

snmpd.conf and 'sys*' Configuration Directives

2014-11-20 Thread David Hauck
Hi, In case anyone is reading this list ;)... It seems that there is no way to "reset" the sys* configuration directives (sysName/sysDescr/sysLocation/sysContact - I've actually only played with a couple of these but I suspect they all work similarly in this regard). I can successfully change

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

Error: Couldn't open a master agentx socket to listen on (tcp:localhost:1705):

2014-11-20 Thread yuvaraj r
Hi, I am running snmpd daemon with following options to communicate with my SubAgent. *snmpd -f -Lo -C --rwcommunity=public --master=agentx -Dagentx --agentXSocket=tcp:localhost:1705 udp:161* During execution of snmpd, i am getting error like *Error: Couldn't open a master agentx socket to lis

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