10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
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
2. Red Hat
Dear Linux Experts,
On my windows 7 desktop with the help of Vmware workstation (Version 7.1),
created virtual machine and installed Centos 5.7 successfully using ISO image.
Query : Is this possible to upgrade the Centos 5.7 using Centos 5.8 ISO image to Centos version 5.8?.. if yes kindly... (2 Replies)
Discussion started by: Ananthcn
2 Replies
3. UNIX for Advanced & Expert Users
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
4. UNIX for Advanced & Expert Users
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
5. UNIX for Advanced & Expert Users
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 Dummies Questions & Answers
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
7. UNIX for Dummies Questions & Answers
i tried this to get snmptrapd.conf bt unable...
# 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... (0 Replies)
Discussion started by: jeenat
0 Replies
8. UNIX for Dummies Questions & Answers
Hi All
Can anybody tell me how to configure snmptrapd.conf ?
Thanx (0 Replies)
Discussion started by: jeenat
0 Replies
9. Solaris
hi i am able to see the snmpd service running in my machine. i would like to get activate snmptrapd deamon services in my solaris box, could any one suggest me in getting activate the snmptrapd service (0 Replies)
Discussion started by: praveen.yenegal
0 Replies
10. Solaris
Hello
I am trying to check that SNMP traps could be sent from one server to other .
I am running this command from receiving server to see it can receive it
/usr/sbin/snoop udp port 162
and on the sending end I am running this commad
cst051 UDP D=162 S=1480 LEN=120
but i am... (1 Reply)
Discussion started by: Ajwat
1 Replies
SNMPTRAPFMT(8) System Manager's Manual SNMPTRAPFMT(8)
NAME
snmptrapfmt - Receive and log SNMP trap messages from a trap handler.
SYNOPSIS
snmptrapfmt [-d num] [-D] [-f cfgfile]
DESCRIPTION
Snmptrapfmt receives SNMP trap data through a local pipe. The trap data is written to this pipe by a SNMP trap handler which is called by
snmptrapd (configuration is done in /etc/snmp/snmptrapd.conf) during the installation if this package. Snmptrapfmt formats the received
trap data according to the specifications in the configuration file /etc/snmp/snmptrapfmt.conf (see this file for the syntax). The output
of the snmptrapfmt application may be written to a log file or forwarded to the syslog daemon.
The option -d 1 should be specified to enable tracing. Trace information is then written to the file /var/tmp/snmptrapfmt.trc.
If the option -f cfgfile is given, the output of the daemon is configured via the mentioned configuration file. If this option is not spec-
ified, a default output format is used.
If the option -D is given, the the program will daemonize into the background.
The syntax of the configuration file is explained in /etc/snmp/snmptrapfmt.conf !
FILES
/etc/init.d/snmptrapfmt is the start/stop script.
/etc/snmp/snmptrapfmt.conf is the configuration file.
/var/run/snmptrapfmt.pid is the PID file.
/etc/snmp/snmptrapd.conf is the configuration file of the snmptrapd daemon, which calls the trap handler snmptrapfmthdlr.
/usr/sbin/snmptrapfmt is the executable of the application.
/usr/sbin/snmptrapfmthdlr is the executable of the trap handler.
/var/run/snmptrapfmt.p is the communication pipe between the trap handler snmptrapfmthdlr and the formatter snmptrapfmt.
/var/tmp/snmptrapfmt.trc is the trace file if the option -d is specified.
/var/log/snmptrapfmt.log is the log file as specified in the configuration file.
SEE ALSO
snmptrapfmthdlr(8), syslog(8), variables(5), RFC 1155, RFC 1156, RFC 1157, SNMP Security Internet Drafts
4th Berkeley Distribution 19 DECEMBER 2002 SNMPTRAPFMT(8)