i have installed the nagios core. and i want integrate the service now with nagios core open source.
I didnt find any documents regarding. could you help me with that.
Either just send an email to service now who will process it, or write a command that calls the service now api.
E.g. an event handler
https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/eventhandlers.html
An email should be enough I would think....
Related
I recently visited "AWS Free Tier". Under that in "serverless" option is "AWS Lambda". I am trying to develop an application. I want to know what will be the best resource to use.
USAGE: I need to connect to server through mobile app using HTTP POST. 1st it will register the bus number. Then it will add the corresponding bus stops and the fare between each bus stop. The app will next time send bus number and get all bus stops. Then it will select 2 bus stops and send to server. It will pay the required fare. Server will generate the bus ticket and store in database. It will send 1 copy to the mobile.
I need an web server for development and testing purpose. I had started with JSP. But due to some reasons I was not able to access the JSP page through android app. However I was able to access the JSP through browser. In android app, I can access other websites. I think the url was the problem. So, I decided to use AWS server. Please let me know where I can use JSP. If you have any other server and database, please let me know. Currently I will be using it for development and testing purpose. So, 1-5 users may use it. But later I will run it as a business. Then more users will be using it. (So, please let me know about the payments for business use also, if you have idea about that) I will need database also.
You could write a service which recieves an HTTP request and accesses a database as part of the logic it performs to generate a response and host that service with AWS Lambda.
You would need a database in addition to AWS Lambda (there are many database services available from AWS and other providers).
You can't just drop your JSP files onto Lambda. It does not support JSP (although it does support programs written in Java).
I am using Python SDK for sending SMS via programing. I will be integrating the application with a web application. SMS is working fine with Python SDK.
Is there any way to check the history of SMS that I have send using the Python SDK?
How can be done with an API where I get all the details of my SMS history.
So far I can check the details from RingCentral online account and get the details. But I want to get it via API. What is the option on that?
Call Log is one of the the way to check the history
https://developers.ringcentral.com/api-reference
You can find the endpoints to check sms history in the Call Log and "Messages" sections.
Alternately you can get the history in RingCentral App's Settings section in logs.
Does StackDriver support Syslog protocol? if so, can someone share an example?
For context, I'm looking to write logging entries to StackDriver using Syslog protocol. I've looked through the documentation and haven't a way to do so. So, far the closes approach seems to be using StackDriver agent. However, I want to leverage API Gateways such as Apigee, which support Syslog protocol through Message Logging Policy.
I know that REST API could be leveraged to send these entries. However, I'm trying to avoid creating additional HTTP layers.
Any help is appreciated. Thanks in advance!
It's not supported. Confirmed by the team. I have ended up implementing a Node.js wrapper of the REST API using service account credentials for OAuth. I will publish the package in NPM for anyone who wants to leverage same.
From reading this article , it looks like Nagios Core is configured out of the box to send out notifications using email.
The Helpful Resources section does mention alternate notification mechanisms. I was wondering if there is a way to configure Nagios to send out notifications using web services.
Has anyone tried this before. Could someone please point me to some useful resources/links online.
Nagios can be configured to call any script (see service_notification_commands in contact definitions and command definitions in command.cfg), so, just provide a script which then calls a webservice (e.g., using wget, curl or any other technology).
See https://serverfault.com/a/480587/237109.
I am new to developing web services using java. I have an academic project where I need to do dynamic service composition. For that I can't directly create a service-client for a particular service because if I do so then that client will call that particular service only. Client need to search various web services and then out of those services select any one at run time and also call that service at run time.
I was able to develop the web service(JAX-WS) using Eclipse(indigo), I also created the client for that web service and every thing is working fine. Now my problem is that while creating the client I am hard coding the client to call that particular web service only(since I am creating the client using the WSDL file of the service). However I actually need to call any one of the searched service, but for that I need to publish the service some where then discover it and then call it.
I tried publishing the service to juddiv3. But on juddiv3 I could only publish the sample service supplied with the juddiv3. When I try to publish service created by me then it is not getting displayed in the group of published services.
Is there any other UDDI server which I could install on my local machine and then publish and discover the service from that. Also I was not able to figure out how to create a client that will modify itself at run time to call any one service out of various searched services.
Kindly provide the necessary steps and code.
Thanks
You can use jUDDI (http://juddi.apache.org/ ).
juddi is based on UDDI v2.0, v 3.0 .
Here, you can publish as well as discover your web service.
For integration, you have to make some application which integrates with jUDDI.
But I think for your academic project, and for your purpose, jUDDI is best suitable! ( :) )
jUDDI has a boat load of examples in the source code trunk. You may want to check them out. It's difficult to guess what the problem is from the little information you've provided. Consider contacting the jUDDI team for further assistance. http://svn.apache.org/repos/asf/juddi/trunk/juddi-examples/. There's also additional document for working with UDDI in the jUDDI user's guide, which is at the jUDDI web site
You cannot directly publish on jUDDI. You need to create publisher entities in jUDDI server also. You'll find Rename4Sales and Rename4Marketing examples in 'Classes' folder in the standalone server's juddi application. Use these XMLs as your basis and create your own entity. You also need to configure the server's login credentials.
I suggest you follow the tutorials on jUDDI blog.