Warnings in using NetSNMP::TrapReceiver while starting Snmptrapd - Pls help

Chetan Mahadev <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I am getting the following warnings when I try to start the snmptrapd
daemon.
Can you let me what is wrong with the usage??

[root@dhcp-64-104-139-158 ~]# /FNMT_SAN_DISK/fnmt/sbin/snmptrapd -f -Le -On
-C -c /FNMT_SAN_DISK/fnmt/etc/snmptrapd.conf  -p
/var/run/snmptrapd.pid          netsnmp_assert !"registration != duplicate"
failed agent_registry.c:535 netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
netsnmp_subtree_load()
netsnmp_assert !"registration != duplicate" failed agent_registry.c:535
netsnmp_subtree_load()
/FNMT_SAN_DISK/fnmt/etc/snmptrapd.conf: line 66: Warning: Unknown token:
/usr/local/fnmt/bin/perl.
/FNMT_SAN_DISK/fnmt/etc/snmptrapd.conf: line 67: Warning: Unknown token:
/usr/local/fnmt/bin/perl.
NET-SNMP version 5.4.1

Following is the corresponding lines in snmptrapd.conf

  60 # format2: How SNMPv2 and SNMPv3 traps are formatted.
     61 #   See the snmptrapd.conf manual page for format string details.
     62 #   arguments: formatstring
     63
     64 format2  "%.3M %.2L %.02H:%.02J:%.02K %b/%b %M/%L/%Y %H:%J:%K E=%N
T=%w/%q D=%W %V=%v"
     65
     66 /usr/local/fnmt/bin/perl NetSNMP::TrapReceiver::register("all",
\&my_receiver);
     67 /usr/local/fnmt/bin/perl do
"/usr/local/fnmt/bin/genericTrapHandler.pl";
     68
     69




Regds
Chetan

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

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