Re: Need of snmpDaemon while sending snmp traps

Pranesh Kulkarni <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CACdN3Wd-jDBcZDJ573A_p_LduDke6WY4N8_t2eNas5GmU8UnPw@mail.gmail.com>
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 <
[email protected]> wrote:

> 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/5    00:00:00 grep --color=auto snmp
>  ps -eaf |grep snmpd
> user2  28719  3434  0 18:03 pts/5    00:00:00 grep --color=auto snmpd
>
> >>>>send snmp trap
> $ snmptrap -v 2c -c public 172.16.1.122 "" .1.3.6.1.4.1.8072.2.3.1
> .1.3.6.1.4.1.8072.2.1.1 i 4455
> read_config_store open failure on /var/net-snmp/snmpapp.conf
> read_config_store open failure on /var/net-snmp/snmpapp.conf
> read_config_store open failure on /var/net-snmp/snmpapp.conf
>
>
> On system2: act as NMS, 172.16.1.122, ubuntu,
> >>>> trapreceiver running on same machine (localhost) able to receive the
> trap been sent
> 2014-11-20 18:09:17 172.16.1.131 [UDP:
> [172.16.1.131]:59358->[172.16.1.122]]:
> iso.3.6.1.2.1.1.3.0 = Timeticks: (3150010) 8:45:00.10
> iso.3.6.1.6.3.1.1.4.1.0 = OID: iso.3.6.1.4.1.8072.2.3.1
> iso.3.6.1.4.1.8072.2.1.1 = INTEGER: 4455
>
>
> result:  system1, ie172.16.1.131 able to send traps without snmpd
>
>
> On Thu, Nov 20, 2014 at 3:51 PM, Pranesh Kulkarni <[email protected]>
> wrote:
>
>>
>> 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 <
>> [email protected]> wrote:
>>
>>> 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?
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
>>> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
>>> with Interactivity, Sharing, Native Excel Exports, App Integration & more
>>> Get technology previously reserved for billion-dollar corporations, FREE
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Net-snmp-users mailing list
>>> [email protected]
>>> Please see the following page to unsubscribe or change other options:
>>> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>>>
>>>
>>
>>
>> --
>> Thanks,
>> Pranesh
>>
>
>


-- 
Thanks,
Pranesh

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.