Snmp trap command for Solaris 5.10


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Snmp trap command for Solaris 5.10
# 1  
Old 04-04-2014
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:
Code:
/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:
Code:
/usr/sbin/snmptrap_send  ?????


Last edited by bartus11; 04-04-2014 at 12:13 PM.. Reason: Please use [code][/code] tags.
# 2  
Old 04-04-2014
you can use this package to have sendtrap in your Solaris
netsnmp - Solaris package

Installation
http://www.tuc.gr/fileadmin/Download...in_Solaris.pdf
# 3  
Old 04-04-2014
I cant install new packages on our system , I have to use the exiting snmp_trapsend utility.
# 4  
Old 04-08-2014
no one ?
# 5  
Old 04-08-2014
# 6  
Old 04-09-2014
I tried this but it just hangs .
Code:
/usr/sbin/snmp_trapsend -h 10.100.10.112 -i 10.200.32.22 -g 6 -s 1 -a "1.3.6.1.4.1.791.2.9.2 STRING (testing)"


Last edited by Franklin52; 04-10-2014 at 03:07 AM.. Reason: Please use code tags
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Snmp [xx] Got trap from peer in Red Hat Linux

hi I get below error from console and message log in red hat linux snmp Got trap from peer on fd 13 . Any idea why there is error and how to fix it ?? Please use CODE tags as required by forum rules! (0 Replies)
Discussion started by: chuikingman
0 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

snmp trap for passwd file deltas in solaris

Hello I am trying to monitor when a user account gets added to my solaris server. Does anyone know how I can set up an snmptrap for changes in the /etc/passwd file ? (4 Replies)
Discussion started by: prince2010
4 Replies

4. Infrastructure Monitoring

Solaris 10 Snmp command to MiB OID

Hi guys, I am doing follow this guy Tech deposits. : iostat monitoring for zenoss and such I stuck at this step: Add a line into /etc/snmp/snmpd.conf file: pass .1.3.6.1.4.1.2021.255.1 /usr/local/bin/sar_iostat_snmp.sh -m 1 -d dev253 -o .1.3.6.1.4.1.2021.255.1 and test snmp by the... (1 Reply)
Discussion started by: tien86
1 Replies

5. 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

6. 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

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

8. 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

9. Solaris

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... (0 Replies)
Discussion started by: RobSand
0 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