09-11-2009
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
Last edited by nrbhole; 09-11-2009 at 09:04 AM..
10 More Discussions You Might Find Interesting
1. 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
2. Solaris
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
3. 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
4. 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
5. 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
6. 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
7. 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
8. 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
9. Proxy Server
Hi there,
I have a VPS and am working on a little side project for myself and friend which is a DNS proxy. Everything was great till recently. My VPS IP has been detected by some botnet or something, and I believe SMURF attacks are occuring. The VPS provider keeps shutting down my VPS... (3 Replies)
Discussion started by: phi0x
3 Replies
10. Red Hat
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
LEARN ABOUT DEBIAN
crm_mon
PACEMAKER(8) System Administration Utilities PACEMAKER(8)
NAME
Pacemaker - Part of the Pacemaker cluster resource manager
SYNOPSIS
crm_mon mode [options]
DESCRIPTION
crm_mon - Provides a summary of cluster's current state.
Outputs varying levels of detail in a number of different formats.
OPTIONS
-?, --help
This text
-$, --version
Version information
-V, --verbose
Increase debug output
-Q, --quiet
Display only essential output
Modes:
-h, --as-html=value
Write cluster status to the named html file
-X, --as-xml
Write cluster status as xml to stdout.
-w, --web-cgi
Web mode with output suitable for cgi
-s, --simple-status
Display the cluster status once as a simple one line output (suitable for nagios)
-S, --snmp-traps=value Send SNMP traps to this station
-C, --snmp-community=value
Specify community for SNMP traps(default is NULL)
-T, --mail-to=value
Send Mail alerts to this user. See also --mail-from, --mail-host, --mail-prefix
Display Options:
-n, --group-by-node
Group resources by node
-r, --inactive
Display inactive resources
-f, --failcounts
Display resource fail counts
-o, --operations
Display resource operation history
-t, --timing-details
Display resource operation history with timing details
-A, --show-node-attributes
Display node attributes
-c, --tickets
Display cluster tickets
Additional Options:
-i, --interval=value
Update frequency in seconds
-1, --one-shot
Display the cluster status once on the console and exit
-N, --disable-ncurses
Disable the use of ncurses
-d, --daemonize
Run in the background as a daemon
-p, --pid-file=value
(Advanced) Daemon pid file location
-F, --mail-from=value
Mail alerts should come from the named user
-H, --mail-host=value
Mail alerts should be sent via the named host
-P, --mail-prefix=value
Subjects for mail alerts should start with this string
-E, --external-agent=value
A program to run when resource operations take place.
-e, --external-recipient=value A recipient for your program (assuming you want the program to send something to someone).
EXAMPLES
Display the cluster status on the console with updates as they occur:
# crm_mon
Display the cluster status on the console just once then exit:
# crm_mon -1
Display your cluster status, group resources by node, and include inactive resources in the list:
# crm_mon --group-by-node --inactive
Start crm_mon as a background daemon and have it write the cluster status to an HTML file:
# crm_mon --daemonize --as-html /path/to/docroot/filename.html
Start crm_mon and export the current cluster status as xml to stdout, then exit.:
# crm_mon --one-shot --as-xml
Start crm_mon as a background daemon and have it send email alerts:
# crm_mon --daemonize --mail-to user@example.com --mail-host mail.example.com
Start crm_mon as a background daemon and have it send SNMP alerts:
# crm_mon --daemonize --snmp-traps snmptrapd.example.com
AUTHOR
Written by Andrew Beekhof
REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org
Pacemaker 1.1.7 April 2012 PACEMAKER(8)