HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to change community name for trap triggere...
Operating System - HP-UX
1833869
Members
1685
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
11-14-2005 06:51 PM
11-14-2005 06:51 PM
how to change community name for trap triggered by EMS ?
I've declared a monitor request using next command:
emscli -a /storage/status/disks/default/10_0_15_0.6.0 -n 1 -r eq -o ini -p 300 -u sec -t snmp -s cri -c "Created by CLI"
When the alarm condition is meet, an snmp trap is generated with community name = hp_trapGroup.
Is there a way to change the community name of traps generated by ems ?
Pascal Giaumé
emscli -a /storage/status/disks/default/10_0_15_0.6.0 -n 1 -r eq -o ini -p 300 -u sec -t snmp -s cri -c "Created by CLI"
When the alarm condition is meet, an snmp trap is generated with community name = hp_trapGroup.
Is there a way to change the community name of traps generated by ems ?
Pascal Giaumé
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-14-2005 07:25 PM
11-14-2005 07:25 PM
Re: how to change community name for trap triggered by EMS ?
Hi Pascal,
In an EMS HA Monitor environment, perform the following steps to change the SNMP community name:
1. Edit snmpd.conf in order to change the community name.
2. Kill snmpdm.
3. Execute "snmpd" to start the snmp master agent and subagents.
4. Edit the following two files to add the "-c" string in each line starting MONITOR:
/etc/opt/resmon/dictionary/mibmond.dict
/etc/opt/resmon/dictionary/rdbmsmond.dict
Note: Make sure not to save a backup copy of the original dictionary files in the /etc/opt/resmon/dictionary directory or in any subdirectory of it.
5. Kill the HA Monitors (mibmond, fsmond, pkgmond, etc.. ). These processes will be restarted automatically if needed.
6. Test with "resls -s /system/jobQueue15Min".
Hope this information can help you.
Cheers,
AW
In an EMS HA Monitor environment, perform the following steps to change the SNMP community name:
1. Edit snmpd.conf in order to change the community name.
2. Kill snmpdm.
3. Execute "snmpd" to start the snmp master agent and subagents.
4. Edit the following two files to add the "-c
/etc/opt/resmon/dictionary/mibmond.dict
/etc/opt/resmon/dictionary/rdbmsmond.dict
Note: Make sure not to save a backup copy of the original dictionary files in the /etc/opt/resmon/dictionary directory or in any subdirectory of it.
5. Kill the HA Monitors (mibmond, fsmond, pkgmond, etc.. ). These processes will be restarted automatically if needed.
6. Test with "resls -s /system/jobQueue15Min".
Hope this information can help you.
Cheers,
AW
now working, next not working ... that's unix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2005 04:36 AM
11-15-2005 04:36 AM
Re: how to change community name for trap triggered by EMS ?
Thanks for your help.
Unfortunately it does not solve my problem: all trap community name is still set to "hp_trapGroup".
Here is list of deamons, monitors and snmp processes running:
root 14861 1 0 17:56:16 pts/tf 0:00 ./fsmond
root 14864 1 0 17:56:16 pts/tf 0:00 ./mibmond
root 14869 1 0 17:56:16 pts/tf 0:00 ./clustermond
root 14873 1 0 17:56:16 pts/tf 0:00 ./krmond
root 14876 1 0 17:56:16 pts/tf 0:00 ./p_client
root 14674 1 0 17:56:12 ? 0:00 /etc/opt/resmon/lbin/p_client
root 14881 1 0 17:56:16 ? 0:00 ./emsagent
root 23900 1 0 18:17:12 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/disk_em -c public
root 23447 1 0 18:16:20 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/fpl_em -c public
root 23459 1 0 18:16:20 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/psmmon -c public
root 23942 1 0 18:17:13 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/sysstat_em -c public
root 23888 1 0 18:17:12 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/dm_stape -c public
root 23933 1 0 18:17:13 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/lpmc_em -c public
root 23912 1 0 18:17:13 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/dm_memory -c public
root 23476 1 0 18:16:21 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/ia64_corehw -c public
root 23924 1 0 18:17:13 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/dm_core_hw -c public
root 22007 1 0 18:10:08 ? 0:00 /usr/sbin/mib2agt
root 22005 1 0 18:10:08 ? 0:00 /usr/sbin/snmpdm
root 22009 1 0 18:10:08 ? 0:00 /usr/sbin/hp_unixagt
root 22011 1 0 18:10:08 ? 0:00 /usr/sbin/trapdestagt
I've added next entries into snmpd.conf
get-community-name: public
set-community-name: public
On my HP server, there is no /etc/opt/resmon/dictionary/rdbmsmond.dict. I added "-c public" to each monitors dictonary.
I also started /usr/sbin/snmpdm -c public with no success.
Finally I deleted the ems request and created it again with no more success.
Any clue ?
Unfortunately it does not solve my problem: all trap community name is still set to "hp_trapGroup".
Here is list of deamons, monitors and snmp processes running:
root 14861 1 0 17:56:16 pts/tf 0:00 ./fsmond
root 14864 1 0 17:56:16 pts/tf 0:00 ./mibmond
root 14869 1 0 17:56:16 pts/tf 0:00 ./clustermond
root 14873 1 0 17:56:16 pts/tf 0:00 ./krmond
root 14876 1 0 17:56:16 pts/tf 0:00 ./p_client
root 14674 1 0 17:56:12 ? 0:00 /etc/opt/resmon/lbin/p_client
root 14881 1 0 17:56:16 ? 0:00 ./emsagent
root 23900 1 0 18:17:12 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/disk_em -c public
root 23447 1 0 18:16:20 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/fpl_em -c public
root 23459 1 0 18:16:20 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/psmmon -c public
root 23942 1 0 18:17:13 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/sysstat_em -c public
root 23888 1 0 18:17:12 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/dm_stape -c public
root 23933 1 0 18:17:13 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/lpmc_em -c public
root 23912 1 0 18:17:13 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/dm_memory -c public
root 23476 1 0 18:16:21 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/ia64_corehw -c public
root 23924 1 0 18:17:13 ? 0:00 /usr/sbin/stm/uut/bin/tools/monitor/dm_core_hw -c public
root 22007 1 0 18:10:08 ? 0:00 /usr/sbin/mib2agt
root 22005 1 0 18:10:08 ? 0:00 /usr/sbin/snmpdm
root 22009 1 0 18:10:08 ? 0:00 /usr/sbin/hp_unixagt
root 22011 1 0 18:10:08 ? 0:00 /usr/sbin/trapdestagt
I've added next entries into snmpd.conf
get-community-name: public
set-community-name: public
On my HP server, there is no /etc/opt/resmon/dictionary/rdbmsmond.dict. I added "-c public" to each monitors dictonary.
I also started /usr/sbin/snmpdm -c public with no success.
Finally I deleted the ems request and created it again with no more success.
Any clue ?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP