Re: snmptrapd does not show any logs

Pranesh Kulkarni <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <CACdN3WdJG_khmvMxSD9UJca7-UKWyaqz_Kg9k1OVpQO-+KvzpQ@mail.gmail.com>
starting snmptrapd

*# snmptrapd -Lf /tmp/snmptraps.log*

*#/etc/init.d/snmpd restart*

*# cat /tmp/snmptraps.log*
NET-SNMP version 5.7.2.1 AgentX subagent connected
NET-SNMP version 5.7.2.1
2015-09-28 15:59:45 localhost [UDP: [127.0.0.1]:35283->[127.0.0.1]:162]:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (5267) 0:00:52.67
SNMPv2-MIB::snmpTrapOID.0 = OID: NET-SNMP-AGENT-MIB::nsNotifyShutdown
SNMPv2-MIB::snmpTrapEnterprise.0 = OID:
NET-SNMP-MIB::netSnmpNotificationPrefix
AgentX master disconnected us, reconnecting in 15
2015-09-28 15:59:45 localhost [UDP: [127.0.0.1]:55898->[127.0.0.1]:162]:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (2) 0:00:00.02
SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-MIB::coldStart
SNMPv2-MIB::snmpTrapEnterprise.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10

On Mon, Sep 28, 2015 at 2:01 PM, Vineela Tada <[email protected]> wrote:

> Hi,
>
> I am trying to enable debug logs or logs as such in general for snmptrapd.
> After i start my snmptrapd service and send some test SNMP packets, I do
> not see any logs being generated in the log file.
>
> Following is the command to start the snmptrapd -
>
> snmptrapd -u <user id> -Of -Ot -C -c <snmptrapd.conf file location> -m ALL
> -M <mibs directory>
>
> Any inputs?
>
> Thanks
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> 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

------------------------------------------------------------------------------

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