Sponsored Content
Full Discussion: snmptrapd.conf
Top Forums UNIX for Dummies Questions & Answers snmptrapd.conf Post 302185003 by jeenat on Monday 14th of April 2008 02:38:08 AM
Old 04-14-2008
snmptrapd.conf

i tried this to get snmptrapd.conf bt unable...




[root@localhost /]# snmpconf

The following installed configuration files were found:

1: /etc/snmp/snmp.conf
2: /etc/snmp/snmpd.conf
3: /usr/share/snmp/snmp.conf
4: /usr/share/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): none

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: snmpd.conf
2: snmptrapd.conf
3: snmp.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.conf
that you wish to create:

1: Authentication options
2: Output formatting for traps received.
3: Runtime options
4: Logging options
5: Trap Handlers

Other options: finished

Select section: 4

Section: Logging options
Description:
Logging options

Select from:

1: Prevent traps from being logged
2: Set options controlling where to log to
3: Toggle options controlling output display
4: Print event numbers (rising/falling alarm, etc.)

Other options: finished, list

Select section: 2

Configuring: logoption
Description:
Set options controlling where to log to
See -L options in the snmptrapd.conf man page

Logging options: -Lf FILE

Finished Output: logoption "-Lf FILE"

Section: Logging options
Description:
Logging options

Select from:

1: Prevent traps from being logged
2: Set options controlling where to log to
3: Toggle options controlling output display
4: Print event numbers (rising/falling alarm, etc.)

Other options: finished, list

Select section: 2

Configuring: logoption
Description:
Set options controlling where to log to
See -L options in the snmptrapd.conf man page

Logging options: -Lf etc/snmp

Finished Output: logoption "-Lf etc/snmp"

Section: Logging options
Description:
Logging options

Select from:

1: Prevent traps from being logged
2: Set options controlling where to log to
3: Toggle options controlling output display
4: Print event numbers (rising/falling alarm, etc.)

Other options: finished, list

Select section:

:: what sud i do nw???

Thanx
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

snmptrapd.conf

Hi All Can anybody tell me how to configure snmptrapd.conf ? Thanx (0 Replies)
Discussion started by: jeenat
0 Replies

2. UNIX for Advanced & Expert Users

Configuring snmpd.conf and snmptrapd.conf

HI, I want a help for Configuring snmpd.conf and snmptrapd.conf (i.e Configuring SNMP) for receiving TRAPS in my networks. I am using RHEL4.0 OS. Please tell me How I can configure above two files in a proper way and at an advanced level. Especially I am getting... (2 Replies)
Discussion started by: jagdish.machhi@
2 Replies

3. UNIX for Dummies Questions & Answers

snmptrapd uses all the CPU and 4 Go memory

Hello all, Below what I saw on my solaris 10 box : $ prstat PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP 683 root 4082M 91M run 10 0 41:45:39 96% snmptrapd/1 syslog gives a lot of : snmptrapd: illegal data attempted to be added to table nlmLogVariableTable... (0 Replies)
Discussion started by: Gino_75
0 Replies

4. Solaris

basic question on sd.conf and lpc.conf file

Hello Guys, Do we need to configure this file only if we add SAN disk or even if we add local disk, do we need to modify? (4 Replies)
Discussion started by: mokkan
4 Replies

5. UNIX for Advanced & Expert Users

snmptrapd

Hi everybody, I'm trying to run a SNMP supervisor on Debian Lenny to supervise Uninteruptible Power Systems which support SNMP. I've installed snmp and snmpd debian packages for NET-SNMP 5.4.1 et i've configured /etc/snmp file with the snmpconf perl script : file /etc/snmp/snmp.conf #... (0 Replies)
Discussion started by: dedibox
0 Replies

6. UNIX for Advanced & Expert Users

snmptrapd trap variable value truncated

I have configured snmptrapd to log the traps to log file. the traps received and logged ok based on the mib file definition. there is only one problem. the value of one of the variables seems to be truncated due to end of line or some special char. linux is centos 6.2 snmp software... (4 Replies)
Discussion started by: ahmad.zuhd
4 Replies

7. UNIX for Advanced & Expert Users

logOption warning in snmptrapd.conf

Hi, trying to get snmp traps logged in /var/log/messages. I put this option in snmptrapd.conf: logOption Ls d then restarting the snmptrad daemon I got this warning: Unknown token: logoption. and server is not logging traps. Starting snmptrapd manually works, traps are logged.... (0 Replies)
Discussion started by: neutrino
0 Replies

8. Shell Programming and Scripting

Script to update rsyslog.conf and auditd.conf

Hello all, Newbie here. I'm currently tasked with updating rsyslog.conf and auditd.conf on a large set of servers. I know the exact logging configurations that I want to enable. I have updated both files on on a server and hope to use the updated files as a template for the rest of the... (3 Replies)
Discussion started by: Mide
3 Replies

9. Solaris

Configure resolv.conf and nsswitch.conf

Hi, I've installed Solaris 11.3(live media) and configured DNS. Everytime I reboot the server, resolv.conf got deleted and it created a new nsswitch.conf. I used below to configure both settings: # svccfg -s dns/client svc:/network/dns/client> setprop config/nameserver = (xx.xx.xx.aa... (1 Reply)
Discussion started by: flexihopper18
1 Replies

10. UNIX for Beginners Questions & Answers

Snmptrapd configuration on rhel 8

I need to configure snmptrap on rhel 8 server and send trap to nimsoft for file system , memory and cpu load and network diconnection status. please help me, if any one configured. (1 Reply)
Discussion started by: yash_message
1 Replies
PMDASNMP(1)						       Performance Co-Pilot						       PMDASNMP(1)

NAME
pmdasnmp - Gateway from SNMP to PCP (PMDA) DESCRIPTION
pmdasnmp is a Performance Metrics Domain Agent (PMDA) which provides a generic gateway from PCP queries from a PCP client to SNMP queries to one or more SNMP agents. INSTALLATION
If you want access to the SNMP gateway performance metrics, do the following as root: # cd $PCP_PMDAS_DIR/snmp # ./Install If you want to undo the installation, do the following as root: # cd $PCP_PMDAS_DIR/snmp # ./Remove pmdasnmp is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is installed or removed. CONFIGURATION
TODO: define config file format here - map/set/host/... etc FILES
$PCP_PMDAS_DIR/snmp/snmp.conf optional configuration file for pmdasnmp $PCP_PMDAS_DIR/snmp/Install installation script for the pmdasnmp agent $PCP_PMDAS_DIR/snmp/Remove undo installation script for the pmdasnmp agent $PCP_LOG_DIR/pmcd/snmp.log default log file for error and warn() messages from pmdasnmp SEE ALSO
pmcd(1) and SNMP 3.8.10 Performance Co-Pilot PMDASNMP(1)
All times are GMT -4. The time now is 03:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy