- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- How to enable SNMP traps on ProLiants on Linux?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2012 09:34 AM
05-09-2012 09:34 AM
How to enable SNMP traps on ProLiants on Linux?
I've got HP SNMP agents and associated packages installed with NetSNMP. I can poll SNMP for status of the hardware (eg. status of Drive Arrays or CPUs) but for example when I disconnected a PSU from the system no trap was triggered. How do I turn on the traps?
SNMPD config is below:
#SNMP Daemon Configuration #HP ProLiant DL360 G7 Servers #Required for 64bit dlmod cmaX /usr/lib64/libcmaX64.so #Localtion & Contact Information syslocation Santiago, Chile syscontact Lukasz Piwowarek, Skype: lpiwowarek #Community Definitions #Community Password IPs (Single/Range/Subnet) #Local Read-Write Access rwcommunity vERe9r4X 127.0.0.1 #Local Read Only rocommunity ye2efUhA 127.0.0.1 #VLAN621 Read Only rocommunity 3adRabRu 172.16.37.32/255.255.255.224 #Trap Communities trapcommunity callmetraps trapsink 172.16.37.37 traps 162 #Map Community Names to SNMP Security Names # SecName Soruce Community com2sec rwlocal default vERe9r4X com2sec rolocal default ye2efUhA com2sec subnet default 3adRabRu #Map SecName to Group Name. #Note that I mapped rolocal and subnet to the same group. #This is because I want to the same read-only permissions #for both communities. # Group SNMP Ver SecName group rwv1 v1 rwlocal group rov1 v1 rolocal group rov1 v1 subnet #Same thing but to use v2c as well group rwv2c v2c rwlocal group rov2c v2c rolocal group rov2c v2c subnet #Next create views to which given community has access #Since we need to see everything lets just enable all # #Instead of incldued you can exclude specific values form being #accessible. This is useful if you want to eliminated empty OIDs #from SNMPWALK results. # Name Included Subtree Mask view all included .1 #Finally grant access to each group as needed: # Group Context SNMP Ver Sec Level Prefix Read Write NotIf access rwv1 "" any noauth exact all all none access rwv2c "" any noauth exact all all none access rov1 "" any noauth exact all none none access rwv2c "" any noauth exact all none none
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2012 03:58 AM
05-10-2012 03:58 AM
Re: How to enable SNMP traps on ProLiants on Linux?
Hi there,
take a look at the following article for SNMP configuration
thanks,
Aftab
How to say thanks, Click on Star Kudos
Looking for a quick resolution to a technical issue for your HPE products? HPE Support Center Knowledge-base – Just a Click Away!
See Self Help Post for more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2012 10:10 AM
05-10-2012 10:10 AM
Re: How to enable SNMP traps on ProLiants on Linux?
Has anyone tried this in Solaris? I have the agents loaded and working and can get snmp requests, do not see traps going out.