Quantcast
Channel: xCommunity : Popular Discussions - Discuss
Viewing all 932 articles
Browse latest View live

ISAPI_redirect is not working on Windows 2008 R2

$
0
0

Hi,

 

We installed xmatters alarmpoint 4.1.0 build.696 on Windows 2008 R2 VM node.

Alarmpoint installed succesfully and the jetty web server is accessible with the default url http://server/alarmpoint/signOn.do

 

Now we are fronting the Alarmpoint (Jetty) webserver with IIS (7.5) on the localhost itself.

 

We used the documentation from Alarmpoint and implemented the Jakarta Isapi Redirector solution by manually steps. And we explicit configured the application pool for 32 bits applications, as Alarmpoint is.

 

After a IIS restart we see that the isapi_redirect.dll is not loaded and we get eventID errors 2214 and 2268. On the M$ site they say that the dll is mostly not correct.

 

http://technet.microsoft.com/en-us/library/dd349245(WS.10).aspx

 

So it could be because of the version that Alarmpoint delivers, but also with the newest 32 bits version of  isapi_redirect.dll we get the same problem.

 

After that we loaded the 64 bits version and this one is working correctly in IIS 7.5. We can acces the http://localhost:81/jkmanager page correctly, but the http://localhost:81/alarmpoint/ is not working.

 

We get the following error in our browser. Also with setting a isapi timeout it still occurs.

 

502 - Web server received an invalid response while acting as a gateway or proxy server.

 

In the isapi.log ( debugmode) we see the error below.

 

[Thu Jul 21 09:49:23.490 2011] [3332:6292] [info] ajp_connection_tcp_get_message::jk_ajp_common.c (1266): (alarmpoint) can't receive the response header message from tomcat, tomcat (127.0.0.1:8899) has forced a connection close for socket 536

[Thu Jul 21 09:49:23.491 2011] [3332:6292] [error] ajp_get_reply::jk_ajp_common.c (2118): (alarmpoint) Tomcat is down or refused connection. No response has been sent to the client (yet)

[Thu Jul 21 09:49:23.492 2011] [3332:6292] [info] ajp_service::jk_ajp_common.c (2607): (alarmpoint) sending request to tomcat failed (recoverable),  (attempt=1)

 

In the webserver main/error logs we see the following

 

main.log

2011-07-21 08:15:33,784 [main] INFO - AJP13 is not a secure protocol. Please protect port 8899
2011-07-21 08:15:33,789 [main] INFO - Started Ajp13SocketConnector@0.0.0.0:8899

 

errors.log

2011-07-21 09:49:23,484 [pool-1-thread-7] ERROR org.mortbay.log - handle failed
java.lang.NullPointerException
at org.mortbay.jetty.ajp.Ajp13Connection$RequestHandler.parsedRequestAttribute(Ajp13Connection.java:181)
at org.mortbay.jetty.ajp.Ajp13Parser.parseNext(Ajp13Parser.java:397)
at org.mortbay.jetty.ajp.Ajp13Parser.parseAvailable(Ajp13Parser.java:142)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:227)
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)
2011-07-21 09:49:23,654 [pool-1-thread-8] ERROR org.mortbay.log - handle failed
java.lang.NullPointerException
at org.mortbay.jetty.ajp.Ajp13Connection$RequestHandler.parsedRequestAttribute(Ajp13Connection.java:181)
at org.mortbay.jetty.ajp.Ajp13Parser.parseNext(Ajp13Parser.java:397)
at org.mortbay.jetty.ajp.Ajp13Parser.parseAvailable(Ajp13Parser.java:142)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:227)
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)

 

See attachments for more info.

 

Does anyone has allready got this working (with 32 bits isapi_redirect.dll) on Windows 2008 R2?

Is this tested when Windows 2008 R2 support was delivered?
With the 64 bits isapi_redirect the forwarding function is working, but not accepted by the jetty server ( mostly because of this is a 32 bits webserver).


Integration Agent 5.1 and 5.0.10 web service

$
0
0

Hello,

I am facing issue with making IA 5.1 work with 5.0.10 web service.

In IAConfig.xml, if I set the web service to:

http://<server>/api/services/xmatters-5.0.10

 

and then try to start the IA, I see below error:

 

2014-03-13 19:09:08,511 [Heartbeat-1] ERROR - The xMatters Web Server http://<server>/api/services/xmatters-5.0.10 is unavailable or completely rejected the heartbeat.

org.apache.axis2.AxisFault: namespace mismatch require http://www.xmatters.com/webservices/schema#5.0.10 found http://www.alarmpoint.com/webservices/schema

  at org.apache.axis2.util.Utils.getInboundFaultFromMessageContext(Utils.java:486)

  at org.apache.axis2.description.OutInAxisOperationClient.handleResponse(OutInAxisOperation.java:343)

  at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:389)

  at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:211)

  at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)

  at com.alarmpoint.integrationagent.soap.RegisterIntegrationAgentWebServiceStub.RegisterIntegrationAgent(RegisterIntegrationAgentWebServiceStub.java:185)

  at com.alarmpoint.integrationagent.HeartbeatManagerImpl.send(HeartbeatManagerImpl.java:836)

  at com.alarmpoint.integrationagent.HeartbeatManagerImpl.sendHeartbeat(HeartbeatManagerImpl.java:742)

  at com.alarmpoint.integrationagent.HeartbeatManagerImpl.sendHeartbeats(HeartbeatManagerImpl.java:713)

  at com.alarmpoint.integrationagent.HeartbeatManagerImpl.connectToServerGroup(HeartbeatManagerImpl.java:602)

  at com.alarmpoint.integrationagent.HeartbeatManagerImpl.pingPrimaryServers(HeartbeatManagerImpl.java:626)

  at com.alarmpoint.integrationagent.HeartbeatManagerImpl.doHeartbeat(HeartbeatManagerImpl.java:576)

  at com.alarmpoint.integrationagent.HeartbeatManagerImpl.access$300(HeartbeatManagerImpl.java:56)

  at com.alarmpoint.integrationagent.HeartbeatManagerImpl$2.run(HeartbeatManagerImpl.java:485)

  at com.alarmpoint.integrationagent.timer.ResilientTimerImpl$WorkerThread.run(ResilientTimerImpl.java:310)

 

So, based on the above error, I modified the schema name in IAConfig.xml to:

http://www.xmatters.com/webservices/schema#5.0.10

 

Now when I try to restart IA, I see below error:

 

2014/03/13 19:10:59.868 | main    | FATAL  | Exit code 65: Malformed IA config file located at /<xxxxx>/xmdev/app/xm41/IAgent/integrationagent-5.1.0/./conf/IAConfig.xml.  Reason: Error on line 10 of document  : cvc-elt.1: Cannot find the declaration of element 'integration-agent'. Nested exception: cvc-elt.1: Cannot find the declaration of element 'integration-agent'.

2014/03/13 19:10:59.868 | main    | ERROR  | com.alarmpoint.integrationagent.exceptions.ExitCodeException: Exit code 65: Malformed IA config file located at /svmgrdmmk2/xmdev/app/xm41/IAgent/integrationagent-5.1.0/./conf/IAConfig.xml.  Reason: Error on line 10 of document  : cvc-elt.1: Cannot find the declaration of element 'integration-agent'. Nested exception: cvc-elt.1: Cannot find the declaration of element 'integration-agent'.

  at com.alarmpoint.integrationagent.boot.IAServer.parseIAConfig(IAServer.java:201)

  at com.alarmpoint.integrationagent.boot.IAServer.main(IAServer.java:77)

  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.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)

  at java.lang.Thread.run(Unknown Source)

Caused by: org.dom4j.DocumentException: Error on line 10 of document  : cvc-elt.1: Cannot find the declaration of element 'integration-agent'. Nested exception: cvc-elt.1: Cannot find the declaration of element 'integration-agent'.

  at org.dom4j.io.SAXReader.read(SAXReader.java:482)

  at org.dom4j.io.SAXReader.read(SAXReader.java:365)

  at com.alarmpoint.integrationagent.config.xml.IAConfigFileImpl.<init>(IAConfigFileImpl.java:246)

  at com.alarmpoint.integrationagent.boot.IAServer.parseIAConfig(IAServer.java:197)

  ... 7 more

 

Any help with this?

Can we send manual Email alert from Xmatter

$
0
0

HI All,

 

I am facing ssue with Remedy and Xmatter integration and to figure out that whether there is issue with configuration which i did in alarm point or Remedy,I want t to try if i can send directly E-mail from Alarmpoint.

 

If atleast i am able to send this,then we will be sure that configurtaion at Xmatter end  is perectly fine and issue at remedy end .

 

I wnat to check how we can test this?

 

Regards,

Shweta

Helpful Tip: Secure cookies in IIS 7(7.5)

$
0
0

Well I've asked a ton of questions but now it's time to contribute.

 

We are fronting Alarmpoint with IIS 7.5 on Windows 2008 servers.  Our security folks around here like to dig into everything and one of the things I know they want to see is secure cookies.  The manual states:

 

Note: If you want to use a fronting server and you need to secure cookies, it is strongly

recommended that you use Apache httpd 2.2 (or higher) with xMatters (there is currently no

solution on IIS).

 

However with IIS 7.5 and the URL Rewrite module from http://www.iis.net/download/urlrewrite  which is a Microsoft site it is possible to mark your cookies as secure.

 

When you create rewrite rules  a files is created in the root of your site (i.e. C:\wwwroot\inetpub).  If there isn't one, you can create it however I found it easier to create a dummy rule to get the file created.  Then you can open the file with your favorite editor and add the outboundRules section below.  You will need everything beginningas <outboundRules> and ending at </outboundRules>

 

<rewrite>

            <rules>

               .

               .

               .

             </rules>

            <outboundRules>

               <rule name="Secure Cookie" enabled="true">

                    <match serverVariable="RESPONSE_SET_COOKIE" pattern="(JSESSIONID.*)" />

                    <conditions />

                    <action type="Rewrite" value="{R:1};Secure" />

                </rule>

            </outboundRules>

</rewrite>

 

 

This will mark your cookies as secure and keep your security folks happy. Remember this only works if you are using https.  If you aren't using https then you can't and shouldn't try to mark your cookies as secure.

Error - 9130: Error encountered while executing a Web Service for ()

$
0
0

Hi,

 

"Error - 9130: Error encountered while executing a Web Service for ()" this is displayed in the Short Description field of Remedy's form 'XM:Event Injection' whenever i create an incident record.

 

Anyone encountered the same error when integrating xmatters to bmc incident management 7.6.04?

I followed the guides with all the patch to the latest.

Alarmpoint web service is ok and the integration agent are all working fine.

 

Below is the error log from bmc inc mgmt:

Mon Aug 20 23:01:00 2012  390603 : The SQL database operation failed. : The statement has been terminated.Cannot insert the value NULL into column 'C8', table 'ARSystem.dbo.T3664'; column does not allow nulls. UPDATE fails. (SQL Server 515) (ARERR 552)

Mon Aug 20 23:01:00 2012  390603 : Error encountered while executing a Web Service : Couldn't find an appropriate operation for XML QName {http://www.xmatters.com/apia_http_bmcremedy/}TriggerRequest (ARERR 9130)

 

Any help?

 

Thanks!
Luis

How to handle notifications / page-outs to multiple groups simultaneously?

$
0
0

We have just started on our journey of using xMatters to help improve our on-call management and communications.

 

Instead of boring you with details on our set up and usage, I will dive right into a use case that has been cumbersome for us to deal with on a day to day basis.

 

Situation - We have a fairly serious incident that requires rapid support from multiple groups.

 

Current State - We construct messages for each on-call group individually.  We do this because when we put multiple groups in one message, the progression in xMatters stops when anyone on the message acknowledges the on-call.

 

Desired outcome - We would like to be able to put multpile groups in one message and have xMatters handle EACH included group's oncall schedule, notifications, and escalations separately by group.  So, when Group A's on-call acknowledges the message, the notification and escalations continue to occur for Groups B, C, and D until all groups have reached an on-call and are acknowledged.

 

We thought about using the Outbound Only option in this scenario, but the problem there is it notifies everyone in the groups and does not follow the schedules and escalations as needed (besides the fact that those messages do not require acknowledgement).

 

Anyone else have this same need?  If so, how are you dealing with it?

 

Thanks,

 

Harry

IIS Fronting, WSDLs, DevIDE, and disabled Jetty listeners

$
0
0

TL;DR: After fronting xM w/ IIS and disabling the Jetty listener on port 8888, I can no longer use the Dev IDE to connect to the Web Server and manage scripts, even after following advice from an additional forum threads regarding fronting web services.  All attempts result in error message:

 

Server call returned error Call to the server failed with com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0]. Please try again later or contact service support.

 

At this point I am completely unable to manage any Action Scripts.  I can always re-enable the jetty listener on port 8888 to get around this issue, but I'd prefer to find a proper method of accessing an IIS fronted xM instance with the DevIDE.  Anyone have any thoughts?

 

Side note: With the exception of this DevIDE issue, these are the exact steps I've followed in several instances to get xM fronted with IIS successfully.

 

All the Gory Details

xMatters 5.0.8 (r59516)

Windows Server 2008 R2 Enterprise x64

IIS 7.5.7600.16385

Apache JK2 Connector 1.2.37 x64

All in one installation

 

Notes: 5.0 documentation specifically calls for 1.2.27x64 version of the JK2 connector, but dealings with xM support have indicated that 1.2.37 x64 is also acceptable.

 

Steps followed (page numbers refer to the xm500_installadmin_guide.pdf downloaded today)

 

  • Page 476, steps 1 and 2:
    • Downloaded and extracted xMatters ISAPI 64 bit ISAPI package.
    • Copied Apache Software Foundation directory to C:\Program Files
    • Ran runme.reg to add registry entries.
    • Document Deviation:
      • Headed out to tomcat.apache.org and downloaded the 1.2.37x64 windows binaries of the JK2 ISAPI connectors.
      • Renamed C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector\bin\isapi_redirect.dll to isapi_redirect.1.2.27.dll
      • Copied isapi_redirect.dll from extracted 1.2.37x64 download to the above location.
      • Unblocked isapi_redirect.dll
  • Page 477, steps 3, 4, 5, and 6
    • Created "jakarta" virtual directory to Default Web Site
      • pointed at apache\jakarta\bin directory referenced above
      • edited jakarta virtual directory handler mappings, added execute permissions for ISAPI-dll
    • Added ISAPI Filter to Default Website
      • called jakarta, pointed at apache\jakarta\bin\isapi_redirect.dll
    • Added ISAPI and CGI Restrictions at Server level
      • called ISAPI Redirect, pointed at apache\jakarta\bin\isapi_redirect.dll, enabled execution
  • Page 480, "Fronting web services"
    • Edited xmhome\webserver\webapps\axis2\WIN-INF\conf\axis2.xml
  • Page 482, "Serving Static Content from Microsoft's IIS"
    • Added "static" virtual directory to Default Web Site
      • pointed at xmhome\webserver\webapps\cocoon\alarmpoint, set permissions to "Read" only.
    • Modified apache\jakarta\conf\uriworkermap.properties
      • commented out the /static/*=alarmpoint line
      • Document Deviation
        • Added some worker mounts to allow accesing xMatters and Alarmpoint w/out the trailing slash
          • Duplicated these lines
            • /alarmpoint/*=alarmpoint
            • /xmatters/*=alarmpoint
          • Modified duplicates to
            • /alarmpoint=alarmpoint
            • /xmatters=alarmpoint
  • Page 488, "Enabling AJP on xMatters web server"
    • Renamed xmhome\webserver\etc\jetty-ajp.xml.tmpl to
    • jetty-ajp.xml
  • Bounced xM Webserver
  • Bounced IIS at Server Level via IIS Manager


Fronting Results:

 

Support had me undo the following steps, so these are no longer in play in my system.

 

Disabling xMatters Jetty listener on port 8888

    • Eventually we'll be forcing SSL connections via IIS, so it is necessary to disable the non-ssl 8888 port for xM.  For now we're doing proof of concept work to indicate that we can connect to everything properly w/ fronting enabled and all access required to go through IIS.
  • Page 479, Step 7
    • Edited \xmhome\etc\jetty.xml
      • Commented out the entire <call>...</call> section by adding <!-- in front of <call> and --> after </call>
  • Bounced xM Webserver

 

Fronting Results:


Started doing some forum search at this point, came to an article entitled


Fronting Results:

APSDI:Alarmpoint Integration console in Remedy is Showing inactive alerts

$
0
0

Hi ,

APSDI:Alarmpoint  Integration console in remedy states the console has Currently  active Alarmpoint actions, but i see the console is also showing the Externally Terminated alerts in the Console. the console is fully loaded with inactive alerts also from long back.

can any one please help me to  get the inactive Exterally  terminated alerts out of the console.

 

 

Thanks in Adv

Murthy


Can someone help me out on Alarmpoint setup for Testing purpose on UAT server

$
0
0

Hi,

 

We need to Install alarmpoint software on UAT server for testing purpose.We had some issues with licensing.Do let us know if the temporary license will be fine to set up,if so is there any way for all active alarmpoint users not to be notified.

 

Kindly suggest.

 

Thanks & Regards,

Silpa

IA 5.0.6: JVM exited while loading the application.

$
0
0

Hey kids,

  I just downloaded the 5.0.6 Integration Agent and dropped it into a directory. I was able to install the windows service with the install_service.bat command, however, when I try to start this service from the services list, it gives the "Error 1067: The process terminated unexpectedly". I get similar results when I run the "startup.bat" or "start_service.bat" commands in the IA_home\bin directory.

 

There did not seem to be a log directory, so I created one, (but still got the error) and the apia.txt file was generated with this output:

 

2013/02/22 11:42:17.080 | srvmain | ERROR  | JVM exited while loading the application.

2013/02/22 11:42:21.606 | srvmain | ERROR  | JVM exited while loading the application.

2013/02/22 11:42:26.108 | srvmain | ERROR  | JVM exited while loading the application.

2013/02/22 11:42:30.502 | srvmain | ERROR  | JVM exited while loading the application.

2013/02/22 11:42:35.043 | srvmain | ERROR  | JVM exited while loading the application.

2013/02/22 11:42:35.151 | srvmain | FATAL  | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.

2013/02/22 11:42:35.154 | srvmain | FATAL  |   There may be a configuration problem: please check the logs.

 

So, I got creative and tried to see what the iadmin.bat command would do and it at least had a little more info:

D:\xM_IA\bin>iadmin.bat

Error occurred during initialization of VM

java/lang/ClassNotFoundException: error in opening JAR file D:\xM_IA\jre\lib\rt.jar

 

Google says this is due to a corrupted download of java... but since this is packaged from xMatters, is that relevant? Has anyone else successfully deployed the 5.0.6 IA?

 

Thanks!
   --- Travis

Can we send manual Email alert from Xmatter

$
0
0

HI All,

 

I am facing ssue with Remedy and Xmatter integration and to figure out that whether there is issue with configuration which i did in alarm point or Remedy,I want t to try if i can send directly E-mail from Alarmpoint.

 

If atleast i am able to send this,then we will be sure that configurtaion at Xmatter end  is perectly fine and issue at remedy end .

 

I wnat to check how we can test this?

 

Regards,

Shweta

Identify invalid user

$
0
0

Hello All,

Looking for some help.

We have scenario where in, if the Recipient is invalid, we need to take some action accordingly out side of xMatters.

Based on the below code, line 3 throws error since the recipient object has nothing.

Line 2 does print the recipient, how can we validate if the recipient exists or not?

 

1. @recipient = @event::getRecipient($event.recipients)

2. @script::log("Recipient is: " & $event.recipients)

3. $category = @recipient::getRecipientCategory()

 

Thanks

Rohit

Want to monitor temperature, moisture, doors and more?

$
0
0

Say "hi" to Twine: Mini Twine.png

 

Twine is a neat little project that started on Kickstarter. Definitely go to their web site and read up on it. Their current notification options are email, SMS, LED blinking and HTTP. However if you look at the forum, you can see something we have known for years: SMS over email isn't a reliable solution for critical message. Enter xMatters.

 

Our Engineering team runs an innovation program called 555. Over time it has also trickled out to our field engineering groups. For our January Engineering 555 I decided to throw my hat in the ring and give the Twine something it deserves: true critical notification capabilities. And here is how I did it:

 

First of all, it should come as no surprise that my evil plan involved relevance engines. I built a relevance engine for Sensor Data, and I built a form for each one of the alerts that I planned on sending. Why build forms? Because our forms also dynamically build a REST API for programatic access. They are fairly simple forms, at least with our relevance engine design tools (good luck trying this with other "players" in the space) - here is a sample:

Twine Form.png

With the forms I also built messages:

Twine Message.png

And responses:

Twine Responses.png

Now all I had to do was enable my form for REST access:

Enable Web Service.png

In less then 10 minutes of work, the system is now able to hand me my REST URL on a platter, allowing me to access with a quick copy and paste:

Access Web Service.png

So xMatters was the easy part. Unfortunately Twine only generates an HTTP URL string, which is a "GET". A REST web call needs to generate a POST and JSON. I poked around at various web-based ETL tools (IFTTT, Tarpipe, COSM, Boomi) and none of them can generate a defined JSON request. That is weird... anyone want to build a startup that does that?

 

So the final step here is to take a Twine HTTP rule and setup something to convert it to a POST. Here is a sample Twine rule that I built which tells me if somebody left a server room door open for more then 3 minutes:

Twine Rules.png

000webhost.com was kind enough to offer free web hosting, so I took them up on it. Their hosting covered PHP hosting... I have never used PHP before, but my 555 had a few hours left, so I had time to figure out how to make a basic JSON request:

 

<?php  if ($twineField = $_GET['moisture']) {      echo "Moisture is " . $twineField . " ";      $rebURL = "https://acme.na1.xmatters.com/reapi/2012-03-01/engines/Sensor%20Array/Twine%20Moisture%20Detection";      $postField = "{\"properties\":{\"moisture\":\"" . $twineField . "\"}}";  }  elseif ($twineField = $_GET['orientation']) {      echo "Orientation is " . $twineField . " ";      $rebURL = "https://acme.na1.xmatters.com/reapi/2012-03-01/engines/Sensor%20Array/Twine%20Orientation";      $postField = "{\"properties\":{\"orientation\":\"" . $twineField . "\"}}";  }  elseif ($twineField = $_GET['door']) {      echo "Door is " . $twineField . " ";      $rebURL = "https://acme.na1.xmatters.com/reapi/2012-03-01/engines/Sensor%20Array/Twine%20Door%20Detection";      $postField = "{\"properties\":{\"door\":\"" . $twineField . "\"}}";  }    elseif ($twineField = $_GET['temperature']) {      echo "Temperature is " . $twineField . " ";      $rebURL = "https://acme.na1.xmatters.com/reapi/2012-03-01/engines/Sensor%20Array/Twine%20Temperature";      $postField = "{\"properties\":{\"temperature\":\"" . $twineField . "\"}}";  }  else {      echo "No recognized Twine variables";  }  if ($postField) {      $curl = curl_init();      curl_setopt($curl, CURLOPT_POST, 1);      curl_setopt($curl, CURLOPT_POSTFIELDS, $postField);      curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC);      curl_setopt($curl, CURLOPT_USERPWD, "***:***");      curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);      curl_setopt ($curl, CURLOPT_SSL_VERIFYHOST, falst);      curl_setopt($curl, CURLOPT_HTTPHEADER, array('Content-type: application/json', 'Accept: application/json', 'Connection: close'));      curl_setopt($curl, CURLOPT_URL, $rebURL);      curl_exec($curl);      curl_close($curl);  }
?>

 

I am sure some of you PHP experts out there can whip up something cleaner using specific PHP libraries to make it easier to pass in the other JSON elements like recipients and handling. In fact, that is what I am hoping:)

 

I think that just about covers it. My Twine can now detect temperature, moisture, door state and other issues, and it can send me carrier grade voice, SMS, email, fax (haha... but yes, seriously) and any other format supported by xMatters on demand:

Sample Twine Message.png

Now go get your Twine and have some fun. Oh, and if you have better PHP code, hook me up!

Need to delete multiple users using webservice

$
0
0

Hi,

 

Can anyone guide how to use  DELETE USER webservice to delete multiple users in xMatters?

 

Thanks,

kamesh

Can someone help me out on Alarmpoint setup for Testing purpose on UAT server

$
0
0

Hi,

 

We need to Install alarmpoint software on UAT server for testing purpose.We had some issues with licensing.Do let us know if the temporary license will be fine to set up,if so is there any way for all active alarmpoint users not to be notified.

 

Kindly suggest.

 

Thanks & Regards,

Silpa


Error with SMPP

$
0
0

Hello i have an error when i try to send a text message, i configured all parameters but this is the error log of SMPP:

 

2012-01-31 10:03:50,835 [SMPPDeviceEngineInternalEventTimer] DEBUG   -  - Send work request. Cluster:  Protocol: SMPP Number of resources: 1

2012-01-31 10:03:51,617 [DeviceEngineWorker-SMPP-2] DEBUG   -  - SMPP: Checking socket for new inbound messages.

2012-01-31 10:03:59,820 [EnquireTimer-SMPP] DEBUG   -  - SMPP: Outbound message: (enquirelink: (pdu: 0 15 0 [1921]) )

2012-01-31 10:03:59,820 [EnquireTimer-SMPP] DEBUG   -  - SMPP: Inbound message: (enquirelink_resp: (pdu: 16 80000015 0 1921) )

2012-01-31 10:04:00,836 [SMPPDeviceEngineInternalEventTimer] DEBUG   -  - Send work request. Cluster:  Protocol: SMPP Number of resources: 1

2012-01-31 10:04:02,617 [DeviceEngineWorker-SMPP-2] DEBUG   -  - SMPP: Checking socket for new inbound messages.

2012-01-31 10:04:10,836 [SMPPDeviceEngineInternalEventTimer] DEBUG   -  - Send work request. Cluster:  Protocol: SMPP Number of resources: 1

2012-01-31 10:04:13,617 [DeviceEngineWorker-SMPP-2] DEBUG   -  - SMPP: Checking socket for new inbound messages.

2012-01-31 10:04:20,852 [SMPPDeviceEngineInternalEventTimer] DEBUG   -  - Send work request. Cluster:  Protocol: SMPP Number of resources: 1

2012-01-31 10:04:24,618 [DeviceEngineWorker-SMPP-2] DEBUG   -  - SMPP: Checking socket for new inbound messages.

2012-01-31 10:04:29,790 [smppEngineManager-process-pool-thread-5] DEBUG   -  - SMPP: Outbound message: (submit: (pdu: # # # #) (addr: # # #.#.#.#)  (addr: # # 3103######)  (sm: enc: ASCII msg: <200196> UK NOC - 2qwert reply "RES" followed by a choice Accept, Reject )  (opt: ) )

2012-01-31 10:05:29,791 [smppEngineManager-process-pool-thread-5] ERROR   -  - SMPP: Sending failed. Null response from the server

2012-01-31 10:05:29,791 [smppEngineManager-process-pool-thread-5] WARN    -  - Recoverable transport failed for device engine SMPP. Exception com.invoqsystems.apex.component.device.engine.exceptions.TransportRecoverableException: <message>com.invoqsystems.apex.component.device.engine.exceptions.TransportRecoverableException: <message>SMPP: Sending failed. Null response from the server</message></message>

2012-01-31 10:05:29,807 [smppEngineManager-process-pool-thread-5] DEBUG   -  - Send notification event. Notification ID: 200196 Status: CONNECTION_FAILURE

2012-01-31 10:05:29,807 [smppEngineManager-process-pool-thread-5] DEBUG   -  - Finished processing a job.

2012-01-31 10:05:29,807 [EnquireTimer-SMPP] DEBUG   -  - SMPP: Outbound message: (enquirelink: (pdu: 0 15 0 [1923]) )

2012-01-31 10:05:29,807 [EnquireTimer-SMPP] DEBUG   -  - SMPP: Inbound message: (enquirelink_resp: (pdu: 16 80000015 0 1923) )

2012-01-31 10:05:29,807 [EnquireTimer-SMPP] DEBUG   -  - SMPP: Outbound message: (enquirelink: (pdu: 0 15 0 [1924]) )

2012-01-31 10:05:29,807 [EnquireTimer-SMPP] DEBUG   -  - SMPP: Inbound message: (enquirelink_resp: (pdu: 16 80000015 0 1924) )

2012-01-31 10:05:30,838 [SMPPDeviceEngineInternalEventTimer] DEBUG   -  - Send work request. Cluster:  Protocol: SMPP Number of resources: 1

2012-01-31 10:05:35,619 [DeviceEngineWorker-SMPP-2] DEBUG   -  - SMPP: Checking socket for new inbound messages.

2012-01-31 10:05:40,838 [SMPPDeviceEngineInternalEventTimer] DEBUG   -  - Send work request. Cluster:  Protocol: SMPP Number of resources: 1

2012-01-31 10:05:46,620 [DeviceEngineWorker-SMPP-2] DEBUG   -  - SMPP: Checking socket for new inbound messages.

2012-01-31 10:05:49,792 [smppEngineManager-process-pool-thread-4] DEBUG   -  - SMPP: Outbound message: (submit: (pdu: 0 4 0 1925) (addr: # # #.#.#.#)  (addr: # # 3103######)  (sm: enc: ASCII msg: <200196> UK NOC - 2qwert reply "RES" followed by a choice Accept, Reject )  (opt: ) )

 

 

I dont know why, thanks for your help.

 

Sorry but a have to replace the numbers with ## because they doesnt allow to put the real numbers.

 

 

Thank you.

Remedy IM Integration using the integration agent????

$
0
0

Hello!

 

We are working on an xMatters integration with Remedy 7.5 and are thinking of using the Integration Agent opposed to the Java Client. I am wondering has anyone successfully done this as yet? If so, it would be great if you could share some information or let us know of anything we need to look out for!!

 

Thanks in advance!

 

Rod

HTTP ERROR: 503 Database resources may be exhausted. Please check with your admin

$
0
0

We are getting this error "HTTP ERROR: 503 Database resources may be exhausted.  Please check with your administrator." when we login to the UI from SOME machines. If I login via remote desktop, fire up IE and enter "http://localhost:8888/xmatters" I can login just fine.

I dug through the logs and found this one:
E:\AlarmPointSystems\AlarmPoint\webserver\webapps\cocoon\WEB-INF\logs

That has this info:

2011-07-18 08:49:04,741 ( - ) [pool-1-thread-27] ERROR util.JDBCExceptionReporter - ORA-12899: value too large for column "ALARMPOINT4"."EXT_USER_SESSION"."USER_AGENT" (actual: 277, maximum: 250)

2011-07-18 08:49:04,741 ( - ) [pool-1-thread-27] ERROR def.AbstractFlushingEventListener - Could not synchronize database state with session
org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)

....

 


Anyone else run into this? We are on AlarmPoint version: 4.1.0 build.847 r47071, which is the latest patch (008?) running against Oracle 11g. This is a new install and has not worked from these "non working" machines.

 

I am thinking I can just have the DBA increase the size of that column ALARMPOINT4.EXT_USER.USER_AGENT to something like 350.... but Databases aren't my strong point.

Thanks for any input ya'll have.

Happy Monday

  --- Travis

IIS Fronting, WSDLs, DevIDE, and disabled Jetty listeners

$
0
0

TL;DR: After fronting xM w/ IIS and disabling the Jetty listener on port 8888, I can no longer use the Dev IDE to connect to the Web Server and manage scripts, even after following advice from an additional forum threads regarding fronting web services.  All attempts result in error message:

 

Server call returned error Call to the server failed with com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog at [row,col {unknown-source}]: [1,0]. Please try again later or contact service support.

 

At this point I am completely unable to manage any Action Scripts.  I can always re-enable the jetty listener on port 8888 to get around this issue, but I'd prefer to find a proper method of accessing an IIS fronted xM instance with the DevIDE.  Anyone have any thoughts?

 

Side note: With the exception of this DevIDE issue, these are the exact steps I've followed in several instances to get xM fronted with IIS successfully.

 

All the Gory Details

xMatters 5.0.8 (r59516)

Windows Server 2008 R2 Enterprise x64

IIS 7.5.7600.16385

Apache JK2 Connector 1.2.37 x64

All in one installation

 

Notes: 5.0 documentation specifically calls for 1.2.27x64 version of the JK2 connector, but dealings with xM support have indicated that 1.2.37 x64 is also acceptable.

 

Steps followed (page numbers refer to the xm500_installadmin_guide.pdf downloaded today)

 

  • Page 476, steps 1 and 2:
    • Downloaded and extracted xMatters ISAPI 64 bit ISAPI package.
    • Copied Apache Software Foundation directory to C:\Program Files
    • Ran runme.reg to add registry entries.
    • Document Deviation:
      • Headed out to tomcat.apache.org and downloaded the 1.2.37x64 windows binaries of the JK2 ISAPI connectors.
      • Renamed C:\Program Files\Apache Software Foundation\Jakarta Isapi Redirector\bin\isapi_redirect.dll to isapi_redirect.1.2.27.dll
      • Copied isapi_redirect.dll from extracted 1.2.37x64 download to the above location.
      • Unblocked isapi_redirect.dll
  • Page 477, steps 3, 4, 5, and 6
    • Created "jakarta" virtual directory to Default Web Site
      • pointed at apache\jakarta\bin directory referenced above
      • edited jakarta virtual directory handler mappings, added execute permissions for ISAPI-dll
    • Added ISAPI Filter to Default Website
      • called jakarta, pointed at apache\jakarta\bin\isapi_redirect.dll
    • Added ISAPI and CGI Restrictions at Server level
      • called ISAPI Redirect, pointed at apache\jakarta\bin\isapi_redirect.dll, enabled execution
  • Page 480, "Fronting web services"
    • Edited xmhome\webserver\webapps\axis2\WIN-INF\conf\axis2.xml
  • Page 482, "Serving Static Content from Microsoft's IIS"
    • Added "static" virtual directory to Default Web Site
      • pointed at xmhome\webserver\webapps\cocoon\alarmpoint, set permissions to "Read" only.
    • Modified apache\jakarta\conf\uriworkermap.properties
      • commented out the /static/*=alarmpoint line
      • Document Deviation
        • Added some worker mounts to allow accesing xMatters and Alarmpoint w/out the trailing slash
          • Duplicated these lines
            • /alarmpoint/*=alarmpoint
            • /xmatters/*=alarmpoint
          • Modified duplicates to
            • /alarmpoint=alarmpoint
            • /xmatters=alarmpoint
  • Page 488, "Enabling AJP on xMatters web server"
    • Renamed xmhome\webserver\etc\jetty-ajp.xml.tmpl to
    • jetty-ajp.xml
  • Bounced xM Webserver
  • Bounced IIS at Server Level via IIS Manager


Fronting Results:

 

Support had me undo the following steps, so these are no longer in play in my system.

 

Disabling xMatters Jetty listener on port 8888

    • Eventually we'll be forcing SSL connections via IIS, so it is necessary to disable the non-ssl 8888 port for xM.  For now we're doing proof of concept work to indicate that we can connect to everything properly w/ fronting enabled and all access required to go through IIS.
  • Page 479, Step 7
    • Edited \xmhome\etc\jetty.xml
      • Commented out the entire <call>...</call> section by adding <!-- in front of <call> and --> after </call>
  • Bounced xM Webserver

 

Fronting Results:


Started doing some forum search at this point, came to an article entitled


Fronting Results:

Disaster Recovery does not work for Webserver

$
0
0

Hi all,

 

On Customer Site we have installed xM 5.0.6.

  • Phys. Server 1: WebServer + ApplServer
  • Phys. Server 2: WebServer + ApplServer
  • Phys. Server 3: MSSQL Database
  • Phys. Server 4: MSSQL DR Database
  • 2 BMC ProactiveNet Server with IntegrationAgents installed

 

We have configured xMatters to use the DR Database when the primary Database is not available.

  • The ApplServer are switching perfect
  • The WebServer stay on the primary Database. They do not switch

 

The Customer has opened a Case (00032483) and the answer from Support/Development was that this feature will not be implemented because Customer often use Loadbalancer 

 

Facts:

  • A Loadbalancer makes no sense! With xMatters 5, the JavaClient is no longer supported.
  • The only way to integrate other systems is to work with IntegrationAgent
  • The IntegrationAgent communicates via WebServices

 

Questions:

  • How do you integrate other Solutions into xMatters when the Webserver has no DB Connection because after a DR switch the WebServer has no Connection?
  • Do i have to manually restart the Webserver when the DR switch occures?
  • Why does the ApplServer reconnects and the WebServer does not?

 

Thanks for your Help, Ideas.

 

Regards,

Patrik

Viewing all 932 articles
Browse latest View live


Latest Images