10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am using the following command to successfully send snmp traps on Linux but I cant get it to work on Solaris , can someone give me the syntax plz?
Linux:
/usr/sbin/snmptrap -v 2c -c org 10.100.10.211 \'\' 1.3.6.1.4.1.791.2.9.2 1.3.6.1.4.1.791.2.9.2 s \"$1 \"
Solaris:... (5 Replies)
Discussion started by: aliyesami
5 Replies
2. UNIX for Dummies Questions & Answers
i am working with embedded system -Dell DCS management sub system. my question is as below:
currently we are using linux kernel 2.6.30 build and we have a kernel logs stored to the /var/log/messages path. now we have to transfer all this logs to the specified SNMP target as a part of SNMP... (4 Replies)
Discussion started by: vipul_prajapati
4 Replies
3. Solaris
Hello forum,
I have a SUN v250 at home that I have to practice Solaris. I currently have Solaris 9 installed and the ALOM Sun(tm) Advanced Lights Out Manager 1.5.2.
From the ALOM I want to access the console.
sc> console -f
Enter #. to return to ALOM.
after that there is no response.... (19 Replies)
Discussion started by: br1an
19 Replies
4. Infrastructure Monitoring
Hi all,
I am currently doing a project regarding traps and would like to help me in this issue. I am knew to the trap world :confused::) and thought that by posting this thread helps me move forward in this project.
First of all I will begin exactly from the very beginning, i.e. the net-snmp... (0 Replies)
Discussion started by: Wizard_1979
0 Replies
5. Infrastructure Monitoring
I want to receive snmp traps only from specifis ip's or host.
I tried to get help from VACM , but it's complicated. Can any one please suggest me simple way to do it (0 Replies)
Discussion started by: nrbhole
0 Replies
6. Infrastructure Monitoring
Hi all,
I'm after a linux utility that can relay all incoming traffic on a certain port to another server. Can anyone recommend a good program?
I've taken a look at snmptrapd, but it's not obvious how this can be configured for my requirements.
Many thanks. (1 Reply)
Discussion started by: badoshi
1 Replies
7. Solaris
Hello ,
I am connecting sumfire v245 server to my laptop Through ALOM method.i got the ALOM prompt but after that i am typing sc> console to go to system console but i am not able to,after typing console only this line is coming Type #. to go back to ALOM.
What to do ??
That server having... (5 Replies)
Discussion started by: avi157
5 Replies
8. Solaris
Hi,
I connected to ALOM on V240 installed with Solaris 10.
console -f does not give me console on screen.
Sun(tm) Advanced Lights Out Manager 1.6.8
sc> console -f
Enter #. to return to ALOM. ...I pressed ENTER a lot of times but does not give me console.
Another observation in this... (5 Replies)
Discussion started by: upengan78
5 Replies
9. IP Networking
Hi,
do you know the syntax to send a snmp trap to a server ?
Many htanks. (2 Replies)
Discussion started by: big123456
2 Replies
10. IP Networking
Hi,
I am writing a program in java to simulate a trap being sent from a device. I came to know that rawsocket cant be opened in java. Is there a provision to do in java?
My requirement is:
I am writing the java program in the machine 1.1.1.1
I want to simulate the trap being sent from a... (0 Replies)
Discussion started by: kkrish7
0 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)