About SLA Reports
Once your SLAs are established you can export the data or run a graphical report. The SLA database slareports is available for direct SQL queries and can be used to create custom reports. SLA reports provide a look at the contract items and show the time calculations of the different states of operation including OK, Warning, and Critical, and also the target availability and the actual availability for a specified time period. With the SLA Reports option you can output selected contract items to the UI or export by hostgroup to an .xml file.
Generating Website and XML Reports
- Select Reports > SLA Reports.
- Select the type of report you wish to generate, Website Report or XML Report.
- For a website report, select the predefined SLA contract(s) and click Run report.
- For a XML report, select a host group, date and period, and click Generate.
Scheduling SLA Downtime
The Downtimes option is for SLA relevant downtimes, meaning these downtimes will affect the SLA reporting. For non-SLA monitoring downtimes see Scheduled Downtime.
- Go to Configuration > BSM and SLAs > SLAs.
- Go to the Downtime tab.
- Click Create.
- In the Downtime for Contract(s) dialog enter the various fields described here:
- Reason: The purpose for the downtime outage.
- Solution: A comment for the outage.
- Impact: Should describe the count of affected users.
- Start Time and End Time: The times of the outage.
- Outage Type: SCHEDULED is selected from the drop-down.
- Author: The logged in user.
- The bottom of the dialog lists the contracts to be selected for downtime.
- When finished click Add.
Publishing Status for Use Outside of GroundWork
The Publish status tool enables GroundWork service information to be available outside of the GroundWork portal. This tool is intended to help make available selected service status information for use in custom dashboard applications (e.g., NOC, departmental status page). You can create data templates and associate them with exported data, allowing you to customize how the data from GroundWork gets displayed. The status is updated regularly on a configurable interval. It’s not real-time, but it’s never far behind.
A client in this context is simply a location where specific content can be accessed, along with a specification of what data to show, in what format, and with what template.
- To create a client, go to Configuration > BSM and SLAs > SLA Dashboards.
- Go to the Publish status tab.
- Select Create client. After creating clients, use View clients tab to list existing clients. To make changes to a client click the corresponding edit icon (pencil). To permanently remove a client click the corresponding X icon.
- Enter the fields within the Client information form:
- File: A unique name for the file that will hold the exported content. If you leave it blank, an MD5 sum will be generated and used. You may want something more descriptive, however.
- Name: The HTML name of the content in the File. This is optional, but can be used to label the content.
- Description: Can show text information in the HTML that is generated.
- You can make the Name and Description appear or be hidden by adjusting the HTML template (see View Export Templates below). You can also adjust the relative position of the included fields.
- In the following example, the Name field is set to Service Live Status, and first in the item order. The Description field is omitted from the template, so it is irrelevant what the content actually is in this case.
Under Monitoring Settings, select the services to be published.
- Select a host from the drop-down menu.
- Based on the host selected, highlight the services for the host, using Shift for multiple services.
- Click Add selected.
- On the right, an additional configuration field can be opened for the added services.
- The displayed name field is used to customize the name of the service displayed in the external view.
- The Additional information field is used to display one text item per service, for example a maintenance note. This field, if supplied, generates an information button that shows this text when clicked. In the image above you can see the information symbol next the the E-Mail service which has data.
In the Monitoring Options section, the export data format and location are specified.
- Under Export format you can choose one or more of the listed formats.
- Each format used requires its own Export template. On this screen you can select only existing templates. See below to edit or create your own.
- Use Transfer method to choose between SSH, FTP and Local.
- If SSH is selected as the transfer method, the Host, Path, and User must be specified. An existing private and public key can be specified here. If the keys are omitted, the system automatically generates a new key pair with 2048 bits.
- If FTP is selected, the Host, Path, User and Password must be specified.
- For Local, only the Path to where the files will be copied to the local file system needs to be specified.
- After saving the new configuration, the Publish status cronjob will run the client regularly (default is every 5 minutes) and transfers the data to the chosen location. The service status is thus regularly updated in the external location.
Create export templates
- In the Create Export Template tab, you can create your own templates for any and all export formats.
- In the Name field, provide the template name. This is the name you will see when selecting the Export Template for a client under Monitoring Options.
- In the View Export Templates tab, you can see the list of all defined templates you have defined, which can be edited or deleted.
- Each template is specific to an export type. You can select the Export type for a template. For the HTML export type, there are several placeholders described on the template editing screen which can be used in the template code. CSS and JS are allowed in the Content field. This allows the template to be integrated with a central CSS file, and the placeholders can be used to give the displayed data more context (such as the time stamp of the cronjob, the service description data, etc).
- In the Description field, enter text to describe the template. This information is not available in the exported view of the service content, it is to help you keep track of the templates use.
- The Content field contains all the generated code that will be present in the exported file.