snmptrapd.conf need help

"rakesh zingade" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi all,

I have installed NET-SNMP version 5.4 on windows 2000 standalone server.

After installation I successfully generated snmpd.conf file by executing
'snmpconf -g basic_setup' command. The snmpget/set commands are working
fine.

I am facing some problems in configuring snmptrapd.conf file. I executed
only snmpconf command to configure snmptrapd.conf but this command is giving
following options it does not gave snmptrapd.conf option.

-------------------------------------------------------------------------------------------------------------------
C:\>snmpconf

The following installed configuration files were found:

   1:  C:/usr/etc/snmp/snmp.conf
   2:  C:/usr/etc/snmp/snmpd.conf
   3:  C:/usr/snmp/persist/snmpd.conf
   4:  c:/usr/etc/snmp/snmp.conf
   5:  c:/usr/etc/snmp/snmpd.conf

Would you like me to read them in?  Their content will be merged with the
output files created by this session.

Valid answer examples: "all", "none","3","1,2,5"

Read in which (default = all):
-------------------------------------------------------------------------------------------------------------------

When I run snmpconf -R snmptrad.conf then I am getting the snmptrapd.confoption
--------------------------------------------------------------------------------------------------------------------
C:\>snmpconf -R snmptrapd.conf
reading: snmptrapd.conf
snmptrapd.conf does not exist

I can create the following types of configuration files for you. Select the
file type you wish to create: (you can create more than one as you run this
program)

   1:  snmp.conf
   2:  snmptrapd.conf
   3:  snmpd.conf
Other options: quit

Select File:2
The configuration information which can be put into snmptrapd.conf is
divided into sections.  Select a configuration section for
snmptrapd.confthat you wish to create:

   1:  Authentication options
   2:  Output formatting for traps received.
   3:  Logging options
   4:  Runtime options
   5:  Trap Handlers
--------------------------------------------------------------------------------------------------------------------
After going through all the options a snmptrapd.conf file was generated ..
please see the attached file..
When I execute the snmptrapd command I am getting following strings
----------------------------------------------------------------------------------------------------------------------
C:\>snmptrapd -Le -f
2007-05-14 13:04:46 Warning: no access control information configured.
This receiver will *NOT* accept any incoming notifications.
2007-05-14 13:04:46 NET-SNMP version 5.4
----------------------------------------------------------------------------------------------------------------------
When I run any snmptrap command the I am not getting any output

Please help me in this regards..
If possible please provide me a sample snmptrapd.conf ...

Thanks
-- 
Rakesh P. Zingade
+919860129598

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
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
snmptrapd.conf (application/octet-stream, 1.1 KB)
###########################################################################
#
# snmptrapd.conf
#
#   - created by the snmpconf configuration program
#
###########################################################################
# SECTION: Authentication options
#
#   Authentication options

# ignoreauthfailure: Ignore authentication failure traps
#   arguments: (1|yes|true|0|no|false)

ignoreauthfailure  yes






###########################################################################
# SECTION: Logging options
#
#   Logging options

# donotlogtraps: Prevent traps from being logged
#   Useful when you only want to use traphandles
#   arguments: (1|yes|true|0|no|false)

donotlogtraps  no

# printeventnumbers: Print event numbers (rising/falling alarm, etc.)
#   arguments: (1|yes|true|0|no|false)

printeventnumbers  1



###########################################################################
# SECTION: Runtime options
#
#   Runtime options

# donotfork: Do not fork from the shell
#   arguments: (1|yes|true|0|no|false)

donotfork  1
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.