INDIA : +91 7702055576 USA : +1 508-986-9109

Google Cloud Platform

Google Cloud Platform

Reference link:- Install Google Cloud Platform

Commands for installing gcp on server

Step 1:- Download Gcp for linux

  curl -O   https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-386.0.0-linux-x86_64.tar.gz

Step 2:-   Installing commands

   tar -xf google-cloud-cli-386.0.0-linux-x86_64.tar.gz

    ./google-cloud-sdk/install.sh

Step 3:-    Initializing gcp in server

    ./google-cloud-sdk/bin/gcloud init

Now accept the  license by press y

4: Login your account for connecting auth login 

   gcloud auth login –no-launch-browser

=>  URL generated after this command Copy this URL on web browser and login your account by accept the all terms and conditions

account
cloud

=> After accept unique key generated this output copied and paste on the putty (server)

Authorization

=> after that your account have been connect with the server

=> Now you can perform all gcloud commands on the server like 

Now when you login your account the its asking to add your credit card details for performing action.

Okta

Okta

Webhooks in Okta can be used to notify external systems about events that occur within Okta, such as when a user is created or when a user’s password is reset.

To integrate Okta with a webhook, follow these steps:

  1. Create a webhook endpoint in the external system that will receive the webhook notifications from Okta. This endpoint should be publicly accessible and should be designed to handle the events sent by Okta.
  2. In Okta, navigate to the Admin Dashboard and select the “API” tab.
  3. Click on the “Trusted Origins” link and add the URL of your webhook endpoint as a trusted origin.
  4. Navigate to the “Event Hooks” tab and click on the “Add Event Hook” button.
  5. Select the event types that you want to trigger the webhook, such as “User Created” or “Password Reset”.
  6. Enter the URL of your webhook endpoint in the “URL” field.
  7. If your webhook endpoint requires authentication, enter the necessary credentials in the “Authentication” section.
  8. Save the event hook.

Now, when an event occurs in Okta that matches the event types you selected, Okta will send a notification to your webhook endpoint. Your webhook endpoint can then process the notification and take any necessary actions.

Azure

Azure

Reference link :- Install Azure Cli Linux

Commands for installing azure on server

Step 1:- sudo apt-get install ca-certificates curl apt-transport-https lsb-release gnupg

Step 2:- curl -sL https://packages.microsoft.com/keys/microsoft.asc |     gpg –dearmor |     sudo tee /etc/apt/trusted.gpg.d/microsoft.gpg > /dev/null

Step 3:-   curl -sL https://packages.microsoft.com/keys/microsoft.asc | gpg –dearmor | sudo tee /etc/apt/trusted.gpg.d/microsoft.gpg > /dev/null

Step 4:-   echo “deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main” |     sudo tee /etc/apt/sources.list.d/azure-cli.list

Step 5:-   AZ_REPO=$(lsb_release -cs) echo “deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main” |     sudo tee /etc/apt/sources.list.d/azure-cli.list

Step 6:-   apt-get install azure-cli

 Step 7:- sudo apt-get install azure-cli

 Step 8:-  az login

After this command a code generated for authorization enters this code on the given url.

Now you need to select a account for login  if account have a free trial membership then it shows details of login user details 

Azure 1

Otherwise it shows an error message

Azure 2

By default we need to add credit card details for getting a free trial .

Dashbird

Dashbird

Registration Procedure:

Event-In sample:

How to integrate IT Event with Dashbird

Event-Out parsed Objects :  

program
policy
IT Event
function
Resource

Grafana

Grafana

Registration Procedure:
Login with valid Inputs :

Grafana

Description :

Grafana is an open source interactive data-visualization platform, developed by Grafana Labs, which allows users to see their data via charts and graphs that are unified into one dashboard (or multiple dashboards!) for easier interpretation and understanding

Event-In sample Objects :

payload

How to integrate IT Event with Grafana:

  1.  Click Menu -> Alerting -> Notification Channels.
alerting

 2. Click the ”+ New Channel” button.

notification

  3. On the New Channel Form. Name – An appropriate Name (example: PagerTree Webhook) Type – webhook. Send on all alerts – checked. Include image – checked. URL – Paste the PagerTree Endpoint URL you copied. …

channel

   4. Click the Save button.

optional webhook

Event-Out parsed Objects :

errorType

Sumo Logic

Sumo Logic

Registration Procedure:

URL: https://service.sumologic.com

Enter your email address

After you click on submit, you will receive a verification link to your email

Click on verification link again it will take you to the sumo logic page

Enter name and password

Click on Submit

Event-In sample Objects :

code screenshots - Sumologic1

How to integrate IT Event with sumologic

  • URL: https://service.sumologic.com
  • Go to Manage Data > Monitoring > Connections.
  • On the Connections page click the + button on the top right of the table.
  • Click Webhook.
  • In the Create Connection dialog, enter the Name of the connection.
  • (Optional) Enter a Description for the connection.
  • Enter the URL for the endpoint.

Event-Out parsed Objects :

code screenshots - Sumologic2

Datadog

Datadog

Registration Procedure:

Login with valid Inputs :

datadog

Event-In sample Objects :

webhook
timestamp

How to integrate IT Event with Datadog

Procedure:

1. Log in to the Datadog console.

2. From the left navigation pane, click Integrations > Integrations.

integrations(1)

3. Search for Webhooks and click to open the Webhooks card.

rundeck

4. Click the Configuration tab.
5. To create a webhook, scroll down to the Webhooks section and click New.


variables

6. On the New Webhook form, fill in the fields.

incident
LIR integration

7. Click Save.

What to do next

Add the webhook to your monitors.

1. Navigate to Monitors > Manage Monitors

2. Create a new monitor or edit an existing one

3. In the Notify your team section, in the first field, select the webhook integration that you created.

recipients

4. To verify the connection, click Test Notifications. An alert is created in Incident Response. </p>

5. Click Save.

Event-Out parsed Objects :

service

New Relic

New Relic

Registration Procedure:

URL:

Event-In sample Objects :

How to integrate IT Event with New Relic

Event-Out parsed Objects :

code screenshots - new relic1
code screenshots - new relic2
code screenshots - new relic3

Logdna

Logdna

Registration Procedure:

URL: https://app.logdna.com/

Select register option

Enter your details , email address, Name, Organization and password

Click on Register

Event-In sample Objects :

Code screenshots - LogDna

How to integrate IT Event with logDNA

URL: https://app.logdna.com/

In dashboard , go to Menu > Alert

Click on “Add Preset

Select “webhook in the list”

Add your webhook url and click on Save

Event-Out parsed Objects :

Code screenshots - LogDna 2

AWS CloudWatch

AWS CloudWatch

AWS CloudWatch allows you to set up alarms to monitor metrics and send notifications when certain thresholds are met. You can integrate CloudWatch alarms with a webhook to receive notifications in an external system such as a chat application or an incident management system.

To set up a webhook integration for CloudWatch alarms, follow these steps:

  1. Create a webhook in your external system that can receive the CloudWatch alarm notifications. The webhook should be able to parse and process the payload sent by CloudWatch. Make sure to take note of the webhook URL.
  2. In the AWS Management Console, navigate to the CloudWatch service and select “Alarms” from the left-hand menu.
  3. Create a new alarm or select an existing alarm that you want to integrate with the webhook.
  4. Click on the “Actions” dropdown and select “Add notification”.
  5. Select “Lambda function” as the notification target.
  6. Click on the “Configure details” button and enter a name and description for the notification target.
  7. In the “Lambda function” section, select “Create a new Lambda function” and enter a name and description for the function.
  8. Choose a runtime for the function and select “Create a new role with basic Lambda permissions” as the execution role.
  9. Under the “Function code” section, select “Edit code inline”.
  10. Paste the following code into the editor, replacing the webhook URL with the URL of your webhook:

var https = require(‘https’);

exports.handler = function(event, context) {

  console.log(‘Received CloudWatch notification:’, JSON.stringify(event, null, 2));

  var postData = JSON.stringify(event);

  var options = {

    hostname: ‘your-webhook-url.com’,

    port: 443,

    path: ‘/webhook-endpoint’,

    method: ‘POST’,

    headers: {

      ‘Content-Type’: ‘application/json’,

      ‘Content-Length’: postData.length

    }

  };

  var req = https.request(options, function(res) {

    console.log(‘Webhook response status code:’, res.statusCode);

    context.succeed();

  });

  req.on(‘error’, function(e) {

    console.log(‘Error sending webhook:’, e);

    context.fail();

  });

  req.write(postData);

  req.end();

};

  1. Click on the “Save” button to save the function code.
  2. Click on the “Create function” button to create the function and associate it with the CloudWatch alarm.

Once the integration is set up, CloudWatch will send notifications to the Lambda function whenever the alarm threshold is met. The Lambda function will then forward the notification payload to the webhook URL you specified, allowing you to receive notifications in your external system.

Registration Procedure:

  1. Open AWS console and search for sns (simple notification service)
simple notification service

2. Under topics click on Create Topic

Amozon SNS

3. Select Standard Topic type and give the unique topic name and display name and submit the topic by giving proper permissions

Standard

4. In view topic page click on “create subscription”

create subscription

5. Copy the integration url and paste at create subscription by choosing the https protocol

create subscription details

6. To configure the above topic to send notification when aws cloudwatch alarms meet the threshold, please go to the alarms section in aws cloudwatch

use the default delivery policy

7. Click on any existing alarm, under actions click on Edit

maximum delay retries - 0

8. Update the metrics and conditions and click on Next

request confirmation

9. Under configure actions, select an existing SNS topic and choose the created topic at SNS and click on Update Alarm 

show recent payload - AWS CloudWatch
the file does not appear to have any style information

10. To configure the above topic to send notification when aws cloudwatch alarms meet the threshold, please go to the alarms section in aws cloudwatch

alarms(2)

11. Click on any existing alarm, under actions click on Edit

select edit from the actions dropdown menu

12. Update the metrics and conditions and click on Next

13. Under configure actions, select an existing SNS topic and choose the created topic at SNS and click on Update Alarm 

configure actions
arrow