Creating SNMP Strings To Trap ALOM Console Messages


 
Thread Tools Search this Thread
Operating Systems Solaris Creating SNMP Strings To Trap ALOM Console Messages
# 1  
Old 03-27-2008
Creating SNMP Strings To Trap ALOM Console Messages

Greetings To All!

I am trying to accomplish the following:

Using a public SNMP string, create a trap which will trap ALOM console messages on a Solaris Sunfire T-1000 ALOM console. The platform is Solaris 10. These newly created traps need to be configured in such a way that they will send trapped ALOM console messages to a log file.

I have visited the docs.sun.com website as well as other websites and was able to find some background information, but not enough to put together a complete game plan. Specifically, I am missing the following information:

(1) The configuration file or files where I would configure the SNMP traps
(2) What process or processes/daemons need to be enabled/configured so as to implement/enable SNMP trapping
(3) The name of the log file where the results of ALOM console message trapping results would typically be routed to.

I think I have it all covered in steps 1-3 above, but if I am missing something or leaving something out, then I am not averse to being corrected and/or admonished. As I stated previously, I have visited several websites looking for enough information, but cannot seem to get it all altogether. I would deeply appreciate anyone who has ever done this before to share his/her advice/experience/notes with me. Thanks in advance!

Rob Sandifer
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Snmp trap command for Solaris 5.10

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

Need to transfer all kernel logs (var/log/messages) to the snmp listener as snmp trap

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

ALOM - Console -

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

SNMP Trap on Solaris...HELP!

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

Allow specific hosts for snmp trap

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

linux snmp trap relay

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

how to go to system console through ALOM in Sunfire V245

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

console -f not working in ALOM

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

Send A Snmp Trap

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

snmp trap generator

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
Login or Register to Ask a Question
SNMPTRAP(1)							     Net-SNMP							       SNMPTRAP(1)

NAME
snmptrap, snmpinform - sends an SNMP notification to a manager SYNOPSIS
snmptrap -v 1 [COMMON OPTIONS] [-Ci] enterprise-oid agent generic-trap specific-trap uptime [OID TYPE VALUE]... snmptrap -v [2c|3] [COMMON OPTIONS] [-Ci] uptime trap-oid [OID TYPE VALUE]... snmpinform -v [2c|3] [COMMON OPTIONS] uptime trap-oid [OID TYPE VALUE]... DESCRIPTION
snmptrap is an SNMP application that uses the SNMP TRAP operation to send information to a network manager. One or more object identifiers (OIDs) can be given as arguments on the command line. A type and a value must accompany each object identifier. Each variable name is given in the format specified in variables(5). When invoked as snmpinform, or when -Ci is added to the command line flags of snmptrap, it sends an INFORM-PDU, expecting a response from the trap receiver, retransmitting if required. Otherwise it sends an TRAP-PDU or TRAP2-PDU. If any of the required version 1 parameters, enterprise-oid, agent, and uptime are specified as empty, it defaults to 1.3.6.1.4.1.3.1.1 (enterprises.cmu.1.1), hostname, and host-uptime respectively. The TYPE is a single character, one of: i INTEGER u UNSIGNED c COUNTER32 s STRING x HEX STRING d DECIMAL STRING n NULLOBJ o OBJID t TIMETICKS a IPADDRESS b BITS which are handled in the same way as the snmpset command. For example: snmptrap -v 1 -c public manager enterprises.spider test-hub 3 0 '' interfaces.iftable.ifentry.ifindex.1 i 1 will send a generic linkUp trap to manager, for interface 1. OPTIONS
snmptrap takes the common options described in the snmpcmd(1) manual page in addition to the -Ci option described above. SEE ALSO
snmpcmd(1), snmpset(1), variables(5). 4th Berkeley Distribution 08 Feb 2002 SNMPTRAP(1)