- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SNMP traps sent by EMS
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
Forums
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
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
10-28-2006 02:01 AM
10-28-2006 02:01 AM
Do I have to use snmpd.conf or something else?
I tried to set the destination in snmpd.conf but of no use.Can you suggest me some ideas.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2006 08:05 AM
10-28-2006 08:05 AM
Re: SNMP traps sent by EMS
Then you can use /etc/opt/resmon/lbin/send_test_event -a event_name (disk_em for example) to test.
You may also need a good tool to monitor/collect traps on your destination server. Sometimes the traps are sent to the destination host, just because the MIB file is wrong you won't see the events from those event monitor programs. (Tivoli Enterprise Event console, HP OV NM in my case).
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2006 07:05 PM
10-28-2006 07:05 PM
Re: SNMP traps sent by EMS
By the way where can I get the MIB for EMS.I tried to search in HP site, but I could not get that.
Can you help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-28-2006 09:28 PM
10-28-2006 09:28 PM
Re: SNMP traps sent by EMS
If you captured some traps. You can use the trap to find the MIB by searching in SNMP database.
http://www.assure24.com/databases/snmp-mib/
http://support.ipmonitor.com/snmp_center.aspx
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-29-2006 03:39 PM
10-29-2006 03:39 PM
Re: SNMP traps sent by EMS
Thanks Yang.I got the MIB.
But,I do have an another issue now.I configured the events in the SAM->Resource Management->Event Monitoting Service for few events like LAN status, filesystem status.. with notification type as SNMP.But when I checked this in the /var/stm/config/tools/monitor, I dont find any files being updated with my inputs.So, I tried to change the notification type to MAIL,it works.I reverted back to SNMP, but still I receive the MAILs now.
So, I dont receive any TRAPS though I configured for SNMP.I receive only the MAILs.
How can I overcome this?I even tried to stop the dianostic process and restarted it.
/sbin/init.d/diagnose [stop] [start].
I use the AdventNet SNMP Manager for recording the traps ( with the EMS mib).
I have the correct update in snmpd.conf.
But still I dont recieve any traps.
Is there any log available so that I can check if the SNMP traps are sent/generated.
I also tried to do the config with /etc/opt/resmon/lbin/monconfig for SNMP notifications but no results.
Any suggestions...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-30-2006 08:41 AM
10-30-2006 08:41 AM
Re: SNMP traps sent by EMS
If you use /etc/opt/resmon/lbin/monconfig to configure Events (with SNMP), it will ask you to save your configure to a new file and you should see several files changed in /var/stm/config/tools/monitor and your new configuration with "Target Type: SNMP" must be in one of those newly created/changed files.
I'm not sure if all traps sent by EMS will be logged but you can have a look at /etc/opt/resmon/log. There are several log files. Your change via SAM normally is recorded there. You can also find some Events logs.
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2006 03:07 AM
11-01-2006 03:07 AM
Re: SNMP traps sent by EMS
I tried now with HP OpenView NNM.
I can see my node with all details,but still I dont see the traps configured in the node for EMS.I tried to check NNM SNMP Operations fro that node.I dont see any graph for the traps sent from the node.
Now, I strongly believe that the traps are not generated from my node in EMS.Iam confused.
/etc/opt/resmon/log contains the log of the events set in EMS GUI but not the SNMP traps send out of the node.
Any views please.I somehow need to get the traps from my node.
By the way , how can I checck the EMS version installed in my HP node.swlist does not help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2006 03:31 AM
11-01-2006 03:31 AM
Re: SNMP traps sent by EMS
It may help if you can use the monitor you configured with EMS which could send you an email alert. At least you know that monitor works and you can trigger the alert if you want. Try to configure that one to send SNMP traps instead of email. Use OpenView or the other SNMP tool to capture the traps. Even without a MIB file you sould be able to capture the traps. MIB will help you to understand the traps.
EMS is a part of OnlineDiag, so if you run
swlist -l product OnlineDiag
you will find EMS version information.
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2006 10:49 PM
11-01-2006 10:49 PM
Re: SNMP traps sent by EMS
Thanks for your info.
As already mentioned I can receive the EMS traps through other notification mechanisms like Mail/log.But SNMP traps do not work.
OnlineDiag bundle I use is B.11.11.14.15
I also cross checked the SNMP Manager ( Advent Net ) through the snmptrap utility from my HP UX machine.I can see that trap in my Manager.
But not the traps sent by EMS.
:-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2006 01:26 AM
11-02-2006 01:26 AM
Solution1.edit /etc/SnmpAgent.d/snmpd.conf add snmp dist (you have done it)
2. restart snmpdm with /sbin/init.d/SnmpMaster stop/start (you may re-start it again, harmless)
3. check daemons needed for EMS SNMP straps
ps -ef|grep -iE "snmp|emsagent"
root 8891 1 0 14:54:24 ? 0:00 /usr/sbin/snmpdm
root 2324 1 0 Oct 5 ? 0:00 /etc/opt/resmon/lbin/emsagent
4. Add SNMP monitor for disk_em
/etc/opt/resmon/lbin/monconfig
-> Select (A)dd a monitoring request.
-> Select 3) /storage/events/disks/default
-> Select the Criteria Threshold:
Criteria Thresholds:
1) INFORMATION 2) MINOR WARNING 3) MAJOR WARNING
4) SERIOUS 5) CRITICAL
Enter selection {or (Q)uit,(H)elp} [4] 1
-> Select the Criteria Operator:
Criteria Operator:
1) < 2) <= 3) > 4) >= 5) = 6) !=
Enter selection {or (Q)uit,(H)elp} [4]
-> Select the Notification Method - SNMP:
Notification Method:
1) UDP 2) TCP 3) SNMP 4) TEXTLOG
5) SYSLOG 6) EMAIL 7) CONSOLE
Enter selection {or (Q)uit,(H)elp} [6] 3
-> Select the defaults for User Comment:
(C)lear (A)dd
Enter selection {or (Q)uit,(H)elp} [c]
Client Configuration File:
(C)lear (A)dd
Use Clear to use the default file.
Enter selection {or (Q)uit,(H)elp} [c]
-> Confirm the request:
New entry:
Send events generated by monitors
/storage/events/disks/default
with severity >= INFORMATION to SNMP
Are you sure you want to keep these changes?
{(Y)es,(N)o,(H)elp} [n] y
5. send test event:
/opt/resmon/bin/send_test_event -v disk_em
6. check if test event has been created:
cat /var/opt/resmon/log/event.log
....
Notification Time: Thu Nov 2 15:11:53 2006
brutest1 sent Event Monitor notification information:
/storage/events/disks/default/0_0_0_3_0.6.0 is >= 1.
Its current value is INFORMATION(1).
Event data from monitor:
Event Time..........: Thu Nov 2 15:11:53 2006
Severity............: INFORMATION
Monitor.............: disk_em
Event #.............: 103
System..............: myhost.at.my.com
Summary:
Disk at hardware path 0/0/0/3/0.6.0 : Test event
Description of Error:
This is a test message from the monitor to test the communication path
from the monitor to the notification mechanism.
.....
7. on my snmp dist server check the captured traps and find the EMS disk_em trap -- you can find the trap details from attachment.
Good luck.
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-04-2006 11:16 PM
11-04-2006 11:16 PM
Re: SNMP traps sent by EMS
Thanks for your attachment.
The problem is the Community name.
I used Public.
From your attachment I found it is hp_trapGroup.
On changing this in the Manager, Iam able to receive the traps in the destination.
Is it possible to change the Community name.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2006 07:44 PM
11-05-2006 07:44 PM
Re: SNMP traps sent by EMS
You can have a look in the file /var/stm/config/tools/monitor/dm_fc_hub.cfg
For the other monitors, I'm not sure if we can change snmp community and how to change it.
Yang
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 01:37 PM
11-08-2006 01:37 PM
Re: SNMP traps sent by EMS
Any idea about the SNMP Version used by EMS.
I consider this is V1.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2006 07:41 PM
11-08-2006 07:41 PM