Hi,
I am currently working with a customer to integrate their SCOM 2012 app with a hosted instance of xmatters. I've worked through a couple of issues and I am now at the stage where SCOM is triggering notifications into the IA agent and the IA agent is connecting with the hosted instance. (see below to IADMIN get-status).
First off, a couple of generic questions that I would appreciate feedback on:-
1. Is the default generic integration enough to enable SCOM to generate and send notification via IA for all SCOM critical events
2. What is the best method of testing this, I have tried the Microsoft Notification test utiiity but this seems to only work for SCOM 2007, has anybody a method for generating test alerts in SCOM other than disconnecting a server from the network?
Secondly -
I can see that the IA is receiving alert notifications from SCOM but is refusing to process them and hence I recieve no notifications.
The errors I am recieving in the are as below, what are these telling me? I assume that error type 2 is the IA trying to delete a notification that does not exist (is this correct?). What is the error type one telling me? "Cannot call method "equals" of null"
Error type one
013-01-17 13:46:27,461 [inbound.msscom.msscom.normal-1] ERROR - Integration Service (msscom, msscom) was unable to process a request due to an unexpected exception: org.mozilla.javascript.EcmaError: TypeError: Cannot call method "equals" of null (C:\IA\IA\IA\integrationservices\msscom\msscom.js#99). Request: <?xml version="1.0" encoding="UTF-8"?>
<transaction id="1"><header><method>add</method><subclass>action</subclass></header><data><apia_priority type="string">normal</apia_priority><apia_source type="string">apclient: /127.0.0.1:60372</apia_source><apia_process_group type="string">apia_default_group</apia_process_group><fyi type="string">false</fyi><event_source type="string">AD Site Performance Health Degraded"1/17/2013</event_source><agent_client_id>msscom|msscom</agent_client_id><event_time type="string">1:45:39</event_time><company type="string">Default Company</company><incident_id type="string">PM {c8e0b1dd-c23e-4241-9f63-a3eec753c81e}HESCSCOMMGMT1 xMattersSCOMGroup1 2Spain255</incident_id></data></transaction>
org.mozilla.javascript.EcmaError: TypeError: Cannot call method "equals" of null (C:\IA\IA\IA\integrationservices\msscom\msscom.js#99)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3229)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3219)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3235)
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3254)
at org.mozilla.javascript.ScriptRuntime.undefCallError(ScriptRuntime.java:3273)
at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:1969)
at org.mozilla.javascript.gen.c15._c4(C:\IA\IA\IA\integrationservices\msscom\msscom.js:99)
at org.mozilla.javascript.gen.c15._c2(C:\IA\IA\IA\integrationservices\msscom\msscom.js:67)
at org.mozilla.javascript.gen.c15.call(C:\IA\IA\IA\integrationservices\msscom\msscom.js)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:340)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:2758)
at org.mozilla.javascript.gen.c15.call(C:\IA\IA\IA\integrationservices\msscom\msscom.js)
at com.alarmpoint.integrationagent.script.JavaScript.callFunction(JavaScript.java:173)
at com.alarmpoint.integrationagent.GenericService.callJSFunc(GenericService.java:576)
at com.alarmpoint.integrationagent.GenericService.processModernAPXML(GenericService.java:524)
at com.alarmpoint.integrationagent.GenericService.doProcessAPXML(GenericService.java:506)
at com.alarmpoint.integrationagent.GenericService.processInboundQueue(GenericService.java:195)
at com.alarmpoint.integrationagent.GenericService.onCall(GenericService.java:653)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.mule.impl.model.resolvers.DynamicEntryPoint.invokeMethod(DynamicEntryPoint.java:312)
at org.mule.impl.model.resolvers.DynamicEntryPoint.invoke(DynamicEntryPoint.java:259)
at org.mule.impl.DefaultLifecycleAdapter.intercept(DefaultLifecycleAdapter.java:194)
at org.mule.impl.InterceptorsInvoker.execute(InterceptorsInvoker.java:47)
at com.alarmpoint.integrationagent.services.ServiceProxyImpl$1.call(ServiceProxyImpl.java:774)
at com.alarmpoint.integrationagent.services.ServiceProxyImpl$1.call(ServiceProxyImpl.java:764)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at com.alarmpoint.integrationagent.util.TimedThreadPoolExecutor$1$1.run(TimedThreadPoolExecutor.java:43)
Error type two
2013-01-17 13:45:37,037 [MessageExchange-1] WARN - Submission of the APXML message <?xml version="1.0" encoding="UTF-8"?>
<transaction id="1"><header><method>del</method><subclass>action</subclass></header><data><apia_priority type="string">normal</apia_priority><agent_application_id>HESCSCOM2/10.112.48.71:8081</agent_application_id><apia_process_group type="string">apia_default_group</apia_process_group><apia_source type="string">apclient: /127.0.0.1:60220</apia_source><agent_client_id>del|del</agent_client_id><incident_id type="string">{1415551f-9a4d-4d8b-adbc-1847d269f275}</incident_id></data></transaction> resulted in the APXML error response <?xml version="1.0" encoding="UTF-8"?><transaction id="1"><header><method>ERROR</method></header><data><errordetail><message>The incident {1415551f-9a4d-4d8b-adbc-1847d269f275} does not exist. Cannot delete it.</message></errordetail><agent_client_id>del|del</agent_client_id><apia_process_group type="string">apia_default_group</apia_process_group><apia_source type="string">apclient: /127.0.0.1:60220</apia_source><errortext>Could not process message.</errortext><apia_priority type="string">normal</apia_priority><errorcode>HUB_POST</errorcode><apm_transmit_checksum>13c48c1f76a24e9c1b94994d0d7</apm_transmit_checksum><agent_application_id>HESCSCOM2/10.112.48.71:8081</agent_application_id><incoming_message><![CDATA[<?xml version="1.0" encoding="UTF-8"?><transaction id="1"><header><method>Del</method><subclass>Action</subclass></header><data><company_name>Hertz Europe</company_name><apm_transmit_checksum>13c48c1f76a24e9c1b94994d0d7</apm_transmit_checksum><incident_id type="string">{1415551f-9a4d-4d8b-adbc-1847d269f275}</incident_id><apia_process_group type="string">apia_default_group</apia_process_group><agent_application_id>HESCSCOM2/10.112.48.71:8081</agent_application_id><apia_priority type="string">normal</apia_priority><apia_source type="string">apclient: /127.0.0.1:60220</apia_source><agent_client_id>del|del</agent_client_id></data></transaction>]]></incoming_message><incident_id type="string">{1415551f-9a4d-4d8b-adbc-1847d269f275}</incident_id><company_name>Hertz Europe</company_name></data></transaction>. The submission will be retried up to 3 times. The next submission attempt will be retry 3.
2013-01-17 13:45:40,377 [MessageExchange-1] ERROR - Submission of the APXML message <?xml version="1.0" encoding="UTF-8"?>
<transaction id="1"><header><method>del</method><subclass>action</subclass></header><data><apia_priority type="string">normal</apia_priority><agent_application_id>HESCSCOM2/10.112.48.71:8081</agent_application_id><apia_process_group type="string">apia_default_group</apia_process_group><apia_source type="string">apclient: /127.0.0.1:60220</apia_source><agent_client_id>del|del</agent_client_id><incident_id type="string">{1415551f-9a4d-4d8b-adbc-1847d269f275}</incident_id></data></transaction> resulted in the APXML error response <?xml version="1.0" encoding="UTF-8"?><transaction id="1"><header><method>ERROR</method></header><data><errordetail><message>The incident {1415551f-9a4d-4d8b-adbc-1847d269f275} does not exist. Cannot delete it.</message></errordetail><agent_client_id>del|del</agent_client_id><apia_process_group type="string">apia_default_group</apia_process_group><apia_source type="string">apclient: /127.0.0.1:60220</apia_source><errortext>Could not process message.</errortext><apia_priority type="string">normal</apia_priority><errorcode>HUB_POST</errorcode><apm_transmit_checksum>13c48c204caaacd84a23096e874</apm_transmit_checksum><agent_application_id>HESCSCOM2/10.112.48.71:8081</agent_application_id><incoming_message><![CDATA[<?xml version="1.0" encoding="UTF-8"?><transaction id="1"><header><method>Del</method><subclass>Action</subclass></header><data><company_name>Hertz Europe</company_name><apm_transmit_checksum>13c48c204caaacd84a23096e874</apm_transmit_checksum><incident_id type="string">{1415551f-9a4d-4d8b-adbc-1847d269f275}</incident_id><apia_process_group type="string">apia_default_group</apia_process_group><agent_application_id>HESCSCOM2/10.112.48.71:8081</agent_application_id><apia_priority type="string">normal</apia_priority><apia_source type="string">apclient: /127.0.0.1:60220</apia_source><agent_client_id>del|del</agent_client_id></data></transaction>]]></incoming_message><incident_id type="string">{1415551f-9a4d-4d8b-adbc-1847d269f275}</incident_id><company_name>Hertz Europe</company_name></data></transaction>. The maximum number (3) of retries has occurred. The error response will be sent to the targeted Integration Service for response action scripting.
2013-01-17 13:45:43,727 [MessageExchange-1] WARN - Submis
iadmin get-status
elease date: 31-Oct-2012
Agent started: 17-Jan-2013 13:44:03
Agent ID: HESCSCOM2/10.112.48.71:8081
Integration Services:
Event domain: default
Name: sample
Clients: [APCLIENT, MG]
URL: http://localhost:8081/default_sample
Started: 17-Jan-2013 13:44:04
Last request: none
Status: ACTIVE
Pending request count: 0
Normal priority inbound APXML queue size: 0
High priority inbound APXML queue size: 0
Normal priority outbound APXML queue size: 0
High priority outbound APXML queue size: 0
Event domain: del
Name: del
Clients: [APCLIENT]
URL: http://localhost:8081/del_del
Started: 17-Jan-2013 13:44:04
Last request: 17-Jan-2013 14:35:08
Status: ACTIVE
Pending request count: 0
Normal priority inbound APXML queue size: 0
High priority inbound APXML queue size: 0
Normal priority outbound APXML queue size: 0
High priority outbound APXML queue size: 0
Event domain: generic
Name: generic
Clients: [APCLIENT, MG]
URL: http://localhost:8081/generic_generic
Started: 17-Jan-2013 13:44:04
Last request: none
Status: ACTIVE
Pending request count: 0
Normal priority inbound APXML queue size: 0
High priority inbound APXML queue size: 0
Normal priority outbound APXML queue size: 0
High priority outbound APXML queue size: 0
Event domain: msscom
Name: msscom
Clients: [APCLIENT, MG]
URL: http://localhost:8081/msscom_msscom
Started: 17-Jan-2013 13:44:04
Last request: 17-Jan-2013 14:35:27
Status: ACTIVE
Pending request count: 0
Normal priority inbound APXML queue size: 0
High priority inbound APXML queue size: 0
Normal priority outbound APXML queue size: 0
High priority outbound APXML queue size: 0
Event domain: ping
Name: ping
Clients: [APCLIENT, MG]
URL: http://localhost:8081/ping_ping
Started: 17-Jan-2013 13:44:04
Last request: none
Status: ACTIVE
Pending request count: 0
Normal priority inbound APXML queue size: 0
High priority inbound APXML queue size: 0
Normal priority outbound APXML queue size: 0
High priority outbound APXML queue size: 0
xMatters Servers:
URL: https://eu1.xmatters.com/api/services/AlarmPointWebService
Connectivity status: PRIMARY_ACCEPTED
Last heartbeat attempt: 17-Jan-2013 14:35:25
Regards,
SKEL