Net-SNMP(ASAP)

Umesh Kamath <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <OF932C5821.05885C4B-ON6525741A.00517DD8-8625741A.00550B2A@in.ibm.com>
Dave,


Still i am unable to generate trap messages.   Please let me know where  i 
did mistake.



$ sudo /usr/sbin/snmptrapd  -f -Lo -d -c /home/uk1577/snmptrapd.conf
Password:
Last   successful login for uk1577: Fri Mar 28 10:33:35 EST5EDT 2008 on 
pts/ti
Last unsuccessful login for uk1577: Fri Mar 28 10:34:10 EST5EDT 2008 on e
NET-SNMP version 5.4.1




$ snmptrap  -v 1 -c public localhost  "" ""  2 0 ""
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



here is from snnmptarpd.conf file

traphandle  SNMPv2-MIB::coldStart  /home/uk1577/trap.sh cold
traphandle  SNMPv2-MIB::warmStart /home/uk1577/trap.sh warm
traphandle  IF-MIB::linkDown /home/uk1577/trap.sh down
traphandle  IF-MIB::linkUp /home/uk1577/trap.sh up

ignoreauthfailure  1
disableAuthorization yes



snmpd.conf

# SECTION: Trap Destinations
#
#   Here we define who the agent will send traps to.

# trapsink: A SNMPv1 trap receiver
#   arguments: host [community] [portnum]

trapsink   localhost  public

# trap2sink: A SNMPv2c trap receiver
#   arguments: host [community] [portnum]

trap2sink   localhost  public

# informsink: A SNMPv2c inform (acknowledged trap) receiver
#   arguments: host [community] [portnum]

informsink   localhost  public

# trapcommunity: Default trap sink community to use
#   arguments: community-string

trapcommunity  public


authtrapenable  1

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________
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
(unnamed) (image/gif, 5.5 KB) - not displayed
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.