09-07-2001
Sending SNMP Traps in AIX / Unix
Hi,
Just wondering if anyone knows how can I send an SNMP Trap in Unix Environment(AIX) to another machine (NT/Ux) after having activated the SNMP in the AIX.
Can this be done by using a single command line or do I have to write a script for it?
Thanks in advance for your advices.
10 More Discussions You Might Find Interesting
1. 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
2. Linux
Can anybody please tell me how to configure linux to receive snmp traps from a windows server? I am not able to receieve snmp traps on unix machines specifically linux and solaris. I have tried starting snmptrapd service on linux but it didn't work. Is there anything special that I have to do on... (2 Replies)
Discussion started by: iamtulipin
2 Replies
3. Solaris
Hi,
I want the list of SNMP traps supported by Solaris 10. DO anyone has the list prepared.
Regards,
Rajesh (1 Reply)
Discussion started by: grrajeish
1 Replies
4. Infrastructure Monitoring
Good morning to you all
I´m kinda of a noob to scripting, and my knowledge is still very basic: anyway, I´ve developed a small .sh script with the following purpose:
- it will check a result file, checking if it has any values, or if it´s empty
- if it´s empty it will send an email
What... (0 Replies)
Discussion started by: zarahel
0 Replies
5. Infrastructure Monitoring
Hi all,
lately i managed to install SNMP agent on Solaris 9 & 10. The second objective is now to configure traps. However (since i'm totally new to the SUN world) i don't know a way of how to start. Can somebody help me with details? What is the first thing that you need to do to start trapping?... (3 Replies)
Discussion started by: Wizard_1979
3 Replies
6. IP Networking
Hi ,
Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (0 Replies)
Discussion started by: prabakar4all
0 Replies
7. Red Hat
Hi ,
Currently DELL OMSA SNMP sends data through default udp port 161.I want my custom SNMP MIB also to send data in the same udp port 161.Whether its possible.If yes where to configure .I tried starting my custom MIB in udp port 161,but it throws port already in use.Kindly guide. (1 Reply)
Discussion started by: prabakar4all
1 Replies
8. UNIX for Dummies Questions & Answers
All,
I have a question regarding setting up a virtual interface to recieve snmp traps from network devices.
My Solaris 10 server is running the HPOV-NNMi application. The network devices in our environment (many thousands) are all pre-configured to send their snmp traps to a specific IP... (4 Replies)
Discussion started by: turk22
4 Replies
9. UNIX for Dummies Questions & Answers
Hi,
We are using Zyrion Traverse to monitor all the servers. I like to set the traps on all of the Linux servers to send the traps to that servers.
So for on the /etc/snmp/snmp.conf file, this is what I have...
### SNMP Traps ###
trap2sink x.x.x.x # Traverse server
My... (4 Replies)
Discussion started by: samnyc
4 Replies
10. Infrastructure Monitoring
Dear Champs,
I am new to unix, and need to configure linux server to send below traps to a SNMP server.
Monitoring TRAP Disk Space Low
Monitoring TRAP Memory Low
Monitoring TRAP CPU high
Monitoring TRAP Admin login/Logoff
Please help me how to send this information to my SNMP server... (2 Replies)
Discussion started by: stavar
2 Replies
LEARN ABOUT DEBIAN
snmp::info::layer3::netsnmp
Info::Layer3::NetSNMP(3pm) User Contributed Perl Documentation Info::Layer3::NetSNMP(3pm)
NAME
SNMP::Info::Layer3::NetSNMP - SNMP Interface to L3 Net-SNMP Devices
AUTHORS
Bradley Baetz and Bill Fenner
SYNOPSIS
# Let SNMP::Info determine the correct subclass for you.
my $netsnmp = new SNMP::Info(
AutoSpecify => 1,
Debug => 1,
DestHost => 'myrouter',
Community => 'public',
Version => 2
)
or die "Can't connect to DestHost.
";
my $class = $netsnmp->class();
print "SNMP::Info determined this device to fall under subclass : $class
";
DESCRIPTION
Subclass for Generic Net-SNMP devices
Inherited Classes
SNMP::Info::Layer3
Required MIBs
UCD-SNMP-MIB
NET-SNMP-TC
HOST-RESOURCES-MIB
Inherited Classes' MIBs
See SNMP::Info::Layer3 for its own MIB requirements.
GLOBALS
These are methods that return scalar value from SNMP
$netsnmp->vendor()
Returns 'Net-SNMP'.
$netsnmp->os()
Returns the OS extracted from "sysDescr".
$netsnmp->os_ver()
Returns the software version extracted from "sysDescr", along with the Net-SNMP version.
$netsnmp->uptime()
Returns the system uptime instead of the agent uptime. NOTE: discontinuity timers and other Time Stamp based objects are based on
agent uptime, so use orig_uptime().
$netsnmp->serial()
Returns ''.
Globals imported from SNMP::Info::Layer3
See documentation in SNMP::Info::Layer3 for details.
TABLE ENTRIES
These are methods that return tables of information in the form of a reference to a hash.
Overrides
$netsnmp->i_ignore()
Returns reference to hash. Increments value of IID if port is to be ignored.
Ignores loopback
Table Methods imported from SNMP::Info::Layer3
See documentation in SNMP::Info::Layer3 for details.
NOTES
In order to cause SNMP::Info to classify your device into this class, it may be necessary to put a configuration line into your snmpd.conf
similar to
sysobjectid .1.3.6.1.4.1.8072.3.2.N
where N is the object ID for your OS from the "NET-SNMP-TC" MIB (or 255 if not listed). Some Net-SNMP installations default to an
incorrect return value for "system.sysObjectId".
In order to recognize a Net-SNMP device as Layer3, it may be necessary to put a configuration line similar to
sysservices 76
in your snmpd.conf.
perl v5.12.4 2011-09-28 Info::Layer3::NetSNMP(3pm)