Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Please help me creating a script for the below, whenever a error come'' 42103 - The region, site, and department combination is not valid
. Select the region, site, and department from the field lists.", i want only a few llines to be displayed in a text file like as shown belowThu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[5]: 536870920, value: 0000125889
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[6]: 536870913, value: oevswsfs01.manrah.com
Example:Thu Apr 23 14:11:44 2009 EXM: INFO: [0] (main) > READ[1050]: <alertId>0000125889</alertId><mcname>EXMOV</mcname><5368
70925>EXMOV</536870925><7>New</7><8>oevswsfs01.manrah.com - Please see Description field
</8><536870921>Warning</536870921><536870919>oevswsfs01.hbi.ad.manrah.com - Please see Description</536870919> <536870920>0000125889</536870920><536870913>oevswsfs01.manrah.com</536870913> <536870924>MANRAH</536870924><536870927>Server</536870927><536870936>EventID: 0x84350463 (1123) - System Information Agent: Health: Post Errors were detected. One or more Power-On-Self-Test errors were detected during server startup. Details of the POST error m
essages can be found in Integrated Management Log. [SNMP TRAP: 6027 in CPQHLTH.MIB]</536870936><536870939>Server</536870939><5
36870928>test</536870928><536870929>test</536870929><536870930>Power supply</536870930><536870931>test</536870931> <536870932>Hardware</536870932><536870933>test</536870933><536870934>test</536870934><536870935>test</536870935>
Thu Apr 23 14:11:44 2009 EXM: INFO: (main) Create Incident
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) Here 1
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[0]: 536870925, value: EXMOV
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[1]: 7, value: New
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[2]: 8, value: oevswsfs01.manrah.com - Please see Description
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[3]: 536870921, value: Warning
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[4]: 536870919, value: oevswsfs01.hbi.ad.manrah.com - Please see Description
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[5]: 536870920, value: 0000125889
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[6]: 536870913, value: oevswsfs01.hbi.ad.manrah.com
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[7]: 536870924, value: MANRAH
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[8]: 536870927, value: Server
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[9]: 536870936, value: EventID: 0x84350463 (1123) - System
Information Agent: Health: Post Errors were detected. One or more Power-On-Self-Test errors were detected during server startu
p. Details of the POST error messages can be found in Integrated Management Log. [SNMP TRAP: 6027 in CPQHLTH.MIB]
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[10]: 536870939, value: Server
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[11]: 536870928, value: test
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[12]: 536870929, value: test
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[13]: 536870930, value: Power supply
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[14]: 536870931, value: test
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[15]: 536870932, value: Hardware
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[16]: 536870933, value: test
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[17]: 536870934, value: test
Thu Apr 23 14:11:44 2009 EXM: DEBUG: (C_I) 19: adding[18]: 536870935, value: test
Thu Apr 23 14:11:44 2009 EXM: INFO: (C_I) schema: CC2:PP_HPD user: admin
Thu Apr 23 14:11:44 2009 EXM: ERROR: (C_I) 2: 42103 - The region, site, and department combination is not valid
. Select the region, site, and department from the field lists.
Thu Apr 23 14:11:44 2009 EXM: INFO: (ISSupdate_field) updating field Invalid input~0000125889
Thu Apr 23 14:11:44 2009 EXM: INFO: (ISSupdate_field) Sending: <UF><alertId>0000125889</alertId><eventTime>2009/04/23 14:11:
44.00</eventTime><fieldname>incidentId</fieldname><oldvalue></oldvalue><newvalue>ird: Invalid input</newvalue><columnname></co
lumnname><updatedBy>EXM</updatedBy><newsection></newsection></UF>

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |