Health Check for a Web Url [closed] - url

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm trying to implement a "health check" for my web site, basically want to write some code in java or use some freeware that can keep pinging my website url every 10 mins and see if it's up and available, if it's down for some reason would like to log that to a log file (or send an email etc).
I did search in net but didn't get any specific implementation for this, pls suggest if you know any.
Please note - my cloud provider does not provide such a feature as I have only a trail license with them, so this will be something like a temp arrangement till we move into the professional mode with the cloud provider.

You can easily put something together for this in Java
Hit your URL with the java.net API like so
URI uri = new URI("http://www.nonexistent.com/");
URL url = uri.toURL();
InputStream in = url.openStream();
which will throw an exception if the site is down.
So put it inside a try/catch block and do what you need to do in the catch. (you can send a mail using the java mail api - just do a google to find enough examples)
And finally you can make this run according to a schedule using java.util.Timer API.
Will leave the specifics up to you to figure out :)

Related

Twilio - call routing [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I have a CRM tool that salespeople use to call out. I want to set Twilio up so that they click on the icon to initiate the call in their browser, Twilio will call their cell phone and then the customers phone number after they have accepted the call on their cell. I want to do this so that the users are not forced to use their computer mic/headphones to call the customer. Does anyone know how to do this or point me to a tutorial that explains it?
Twilio developer evangelist here.
That feature is known as click-to-call. There is an example application for this in the Twilio CodeExchange including example code in Ruby, Python, JavaScript, PHP, Java and .NET. There is also a tutorial in some of these languages, here is the PHP one: https://www.twilio.com/docs/voice/tutorials/click-to-call-php.
The flow in the example application is slightly different to what you describe. In the example a user enters their phone number into a form and submits. This causes Twilio to dial the user and then the sales team. However, the theory for your use-case is the same. You just need to initiate the submission from your CRM, call your sales person first and then connect them to the user.

How can I get analytics on a site without a frontend? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
For example, google Analytics would require me to insert a script in my layout. However, my app has no views and is only serving an API, without an interface. Are there any services to track traffic of a JSON API ? I intend to host on heroku.
Most analytics services offer some sort of server-to-server rather than client reporting of events. You should get some more consistency in data reported (e.g. you're not blocked by ad blockers or slow connections failing to load client side libraries) but also lose visibility into some events (user tracking depends on your authentication/cookie policy, time on page may be impossible to measure).
For a Rails app I'd look at https://segment.com/docs/sources/server/ruby/ which in my experience has done a good job of making it easy to report events and allows you to then forward them to whatever analytics service works best for your product.

Google Search Data API [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
In google, some searches might bring up some data found by google (For instance, searching "bitcoin price" brings up data on pricing in a little box at the top, as does searching "2 plus 2". Is there a Google API that will fetch just the data pulled up in the box (as in, If this API was given the keyword "Bitcoin", it would return the price but not the links to websites below). Is there such a "data box" API that will work with the Swift Programming Language (It is for an iOS app)?
I couldn't find any previous questions like this, but there may be some, as I don't know the proper terminology (If anyone happens to know the official name of what I called "data boxes", do tell! Also, I apologize for use of the API tag, I just don't know the name of the API I am looking for.
The official name is "OneBox".
The underlying APIs are unavailable and brokered by Google and private data providers. Your best bet is to find the data sources directly and use their API; which will probably involve an exchange of money or other formal agreement.

trigger.io - Looking for data storage possibility [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I know this is not a technical question but I don't know where to ask elsewhere.
I use the very cool toolkit called trigger.io to develop apps for both android and ios. Now I would like to use something like a database to display data in my app.
Firstly I found a realtime backend called firebase: http://www.firebase.com/
Nice but it takes a while until one gets access to it since it is still in beta.
Then I found a cloud service called Kinvey: http://www.kinvey.com/ Also interesting, but it is free as long as only 200 users download the app.
So do you know any alternatives to store data and use it for my app?
That would be very helpful,
thanks enne
Sure. Parse is an easy option. Basic plan to get start is $0 a month.
Also, there is nothing stopping you from bundling (or download and saving and caching) a json file for use in your trigger.io app.

Event log monitoring [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I need to monitor my Windows Server event logs so that I know if there is a problem with any of my ASP.Net websites (IIS errors, windows login errors etc) - errors that would end up in the event log rather than being handled by my application's error logging.
Has anyone had any experience of GFI Events Manager or Event Sentry? Is there anything better on the market?
I currently use EventSentry and I have to say I am very happy with it. I get an email when my backups don't run, the reports are helpful and my experience with the support staff has been great. In my case, EventSentry was much cheaper than GFI and offered the value I needed.
PA Server Monitor can do that.
If the budget is tight, or you want to customize the solution a bit more, there are .NET libraries available that would allow you to write your own web app or console app to retrieve/update the details out of the event log.
Advanced Host Monitor by KS-Soft is a monitoring program that can send you alerts based on event log messages.
I haven't used this tool, but Microsoft' System Center Operations Manager (used to be called Microsoft Operations Manager) should do all of that.
System Center Operations Manager

Resources