- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Pass the Message Text from an Event to a command
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
05-17-2006 03:05 AM
05-17-2006 03:05 AM
Pass the Message Text from an Event to a command
i want to do an automatic action on an Event doing following:
- give the Text and all inforamtion to the script (batch)
- use the information to generate an opcmsg (to send it to OVO)
I need the Variables for:
- Message Text
- Server
- Severity
- IP Address
- ..
Has anyboday made a customer command for this before? if yes, please let me know how to do it.
thanx
ms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2006 07:45 AM
05-17-2006 07:45 AM
Re: Pass the Message Text from an Event to a command
COMPUTERNAME=BLMASTER
DEVICEIPADDRESS0=192.168.1.3
DEVICEIPADDRESS1=192.168.1.11
DEVICEIPADDRESSCOUNT=2
DEVICEMACADDRESS0=00:11:85:6B:7B:4D
DEVICEMACADDRESSCOUNT=2
DEVICENAME=virtualserver1-team
FP_NO_HOST_CHECK=NO
GENERICTRAPID=6
MPIP0=192.168.1.3
MPIP1=192.168.1.200
MPIP10=null
MPIP100=192.168.1.3
MPIP11=192.168.1.3
MPNAME0=virtualserver1-team
MPNAME1=ilo-slot2
MPNAME10=6U-Enclosure_TV7LMJS33C
MPNAME100=virtualserver1-team
MPNAME11=virtualserver1-team
MX_CMS=blmaster
MX_REPOSITORY=blmaster
MX_TARGETS=virtualserver1-team.bladesystem.net
MX_TASKID=361507_blmaster
MX_TOOL=set
MX_USER=blmaster\administrator
NOTICELABEL=Generic trap (11003)
NOTICEPLAINTEXT="|Event Name: Generic trap (11003)|Event originator: virtualserver1-team|Event Severity: Major|Event received: 17-May-2006, 14:41:03| |Event description: Generic trap.| |Text: Management Agents Test Trap sent - Wednesday, May 17, 2006 2:41:08 PM|"
NOTICERAWDATA="NOTICE_ID=1851510|NOTICE_TYPE=134|DEVICE_KEY=684|TRAP_ENT_OID=1.3.6.1.4.1.232|1.3.6.1.2.1.1.5.0=VIRTUALSERVER1|1.3.6.1.4.1.232.11.2.8.1.0=Management Agents Test Trap sent - Wednesday, May 17, 2006 2:41:08 PM|1.3.6.1.4.1.232.11.2.11.1.0=0|NOTICE_TYPE_STR=Trap.cpqHo2GenericTrap|NOTICE_STATE=2|NOTICE_SEVERITY=Major|TRAP_SPECIFIC_ID=11003|DEVICE=virtualserver1-team.bladesystem.net|TRAP_GENERIC_ID=6|GENERATED=Wed, 5/17/2006, 2:41:03 PM CEST"
NOTICESEVERITY=4
NOTICESEVERITYSTR=Major
NOTICESTATE=2
RELATEDDEVICECOUNT=5
RELATEDDEVICEIP0=192.168.1.3
RELATEDDEVICEIP1=192.168.1.200
RELATEDDEVICEIP10=null
RELATEDDEVICEIP100=192.168.1.3
RELATEDDEVICEIP11=192.168.1.3
RELATEDDEVICENAME0=virtualserver1-team
RELATEDDEVICENAME1=ilo-slot2
RELATEDDEVICENAME10=6U-Enclosure_TV7LMJS33C
RELATEDDEVICENAME100=virtualserver1-team
RELATEDDEVICENAME11=virtualserver1-team
RELATIONSHIP0=MgmtProcToServer_Ilo
RELATIONSHIP1=MgmtProcToServer_Ilo
RELATIONSHIP10=ServerToEnclosure
RELATIONSHIP100=VMGuestToVMHost
RELATIONSHIP11=VMGuestToVMHost
SPECIFICTRAPID=11003
SYSTEMHOSTNAME=virtualserver1-team.bladesystem.net
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2006 10:14 PM
05-17-2006 10:14 PM
Re: Pass the Message Text from an Event to a command
and dou you have an example script/batch how i can use the variables and pass them to the script? i'm new in SIM. regards ms
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 01:22 AM
06-22-2006 01:22 AM
Re: Pass the Message Text from an Event to a command
In your MYBATCH.BAT write echo %1 and you schold see the servername
regards
Winni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 02:14 AM
06-22-2006 02:14 AM
Re: Pass the Message Text from an Event to a command
good to know. lets talk about it offline in the office. maybe we can make such a tool to test it.
regards
ms