Setting up Kayako v4 Help Desk Alerts

 

ServerPing allows you to offer a monitoring with response service by giving customers the option to open a help desk ticket if an alert is triggered.

First, create a new ServerPing/Server monitoring package called monitoring with response for example. Then in the module settings, check the box next to "Show Open Help Desk Ticket on Alert Option".

When a user has a package with this option enabled, when they add or edit a check they will see a option that says "Open a support ticket in the event of a failure". When they set this to yes, if a check fails a new ticket will be opened in the WHMCS support system. For each failure message after that, it will be added as a reply until the check is passed again. If the check then fails again, a new ticket will be opened.


In order for ServerPing to be able to open tickets, you first will need to configure your WHMCS API Information by following the steps below. The WHMCS API is needed in order to lookup a customers email address based on their client id.

  1. From the WHMCS admin area select Addons->ServerPing
  2. For the HelpDesk API and Password fields, fill in a valid WHMCS admin user with API access. We recommend setting up a new admin in WHMCS and only granting API privileges.
  3. For the HelpDesk URL field, enter the full path to your WHMCS's api file, e.g. https://yourdomain.com/includes/api.php
  4. Enter the kayako support department number for the ticket to be opened under.
  5. Enter the kayako priortiy name the ticket should have, and then select when to trigger the alert, how often, and the max replies to add and save your changed.
  6. From the WHMCS admin area, go to Setup->General Settings, Security, in the API IP Access Restriction field, enter in the ip addresses of all of your check servers.
Using Kayako v4 instead of the build in WHMCS support system requires a few addtional steps.
  • Enable the Kayako v4 REST API in Kayako and make note of the API Key, API Secret Key, and API URL.
  • SSH into one of your check servers and edit the /home/serverping/serverping/config.php file
  • Above the ?> line, add the following variables:
$helpdesk_alert_class_file_name = "notify_helpdesk_kayako_v4.php";
$kayako_api_url = 'https://support.yourdomain.com/api/';
$kayako_api_key = "";
$kayako_api_secret_key = "";
$kayako_ticket_type = "Incident";
$kayako_ticket_status = "Open";

  • Leave the first variable unchanged and edit the others to match your Kayako url, key and secret key. For the ticket type, enter in what type of ticket to open and the status should be the ticket status to use when creating the new ticket.
  • Save the file and then restart the php worker processes by running:
  • supervisorctl reload
  • Login to all of your other check servers and copy and paste these variables into to each config.php file and run supervisorctl reload after making the change.

 

  • 64 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

Installation Guide

Requirements You will need at least one Cent OS 6 (64 bit recommended) VPS/Dedicated server with...

Adding ServerPing Package

  Login to your WHMCS Admin Area and go to Setup->Products/Services->Products/Services...

Adding a SMS Credits Package

Login to your WHMCS Admin Area and go to Setup->Products/Services->Products/Services...

Adding ServerPing to your Client Area template

You will need to provide a link to the SeverPing module from your client area. We recommend...

System Requirements

Requirements You will need at least one Cent OS 6 (64 bit recommended) VPS/Dedicated server with...