---
title: How to Monitor Nodinite Product Key Expiry with the Web Service Monitoring Agent
description: Learn how to proactively monitor and receive alerts for your Nodinite product key expiration using the Nodinite Web Service Monitoring Agent. This guide provides step-by-step instructions to ensure uninterrupted access and compliance.
---

# :fa-heart-pulse: How to monitor the Nodinite Product Key

Stay ahead of license issues and ensure uninterrupted access to :Nodinite: by proactively monitoring your product key status. This guide shows you how to configure the :Nodinite: Web Service [Monitoring Agent][Monitoring Agents] to validate your product key and receive timely alerts before expiration.  

✅ Instantly detect when your Nodinite product key is about to expire  
✅ Automate license monitoring and compliance  
✅ Receive actionable alerts and maintain continuous service  

>This guide provides instructions for configuring the :Nodinite: [Web Service Monitoring Agent][Web Services Agent] to validate the :Nodinite: [product key][ProductKey] (License).

<div class="mermaid">
graph TD
  A[Web Service Configuration] --> | Evaluate Nodinite Product Key | B{Is Valid?}  
  B --> | Yes | E[OK]  
  B --> | No | F[Error]  
</div>
*Diagram: The Web Service Monitoring Agent evaluates the Nodinite Product Key. If valid, the state is OK; if not, an error is triggered.*

The :Nodinite: [Web Service Monitoring Agent][Web Services Agent] enables you to monitor if your product key (Trial or Rental) is about to expire by evaluating the **body** of the HTTP/HTTPS response from a call to the :Nodinite: [Web API][].  

The Web Service configuration you create will become a [Resource][Resources] in one or more [Monitor Views][] where you can track the evaluated state in real time:  
![Valid License][1]  
*Product Key is valid and has **not** yet expired or is not about to expire any time soon.*

![Invalid License][2]  
*Product Key is about to expire.*

> :fa-exclamation-triangle: In this case, you must update the product key on the [Manage License][] page to continue using the [Web Client][]. The [ProductKey][] system parameter is read-only and can't be changed in [System Parameters][].

You can get an updated product key by:  

* Contacting your partner/reseller if applicable  
* Getting a new key from the :Nodinite: [portal](https://portal.nodinite.com)<sup>:fa-arrow-up-right-from-square:</sup>  
* Contacting our technical support, read more on the [Support page][SupportPage]  

## :fa-forward-step: Step 1: Add a new Application

Logically identify and group monitored [Resources][] using the [Applications][] feature. Manage these in the **Applications** tab for your selected instance of the :Nodinite: [Web Service Monitoring Agent][Web Services Agent].  

* Click the :fa-square-plus: **Add** button  
![Add new Application][4]  
*Add a new Application for grouping monitored resources.*

* Enter **Name** and a **unique id**. For example, use **Nodinite** as Name and **1337** as the unique Id. You can use any unique values.  
![Nodinite as Application][5]  
*Example of Nodinite as an Application.*

## :fa-forward-step: Step 2: Add a new Web Service Monitoring Configuration

Configure what to monitor—in this case, the :Nodinite: [Web API][].  

* Click the :fa-square-plus: **Add** button  
![Add new Web Service][6]  
*Add a new Web Service for license monitoring.*

* Expand the empty entry by clicking on the accordion  
![Expand empty entry][7]  
*Expand to configure your new Web Service.*

## :fa-forward-step: Step 3: Basic tab

Name your configuration by editing the following fields in the **Basic** tab:  

![Basic Tab][8]  
*Configure the basic settings for license monitoring.*

* Make sure the configuration is **enabled** (checked)  
* Set the **Display name** to a logical name, e.g., `Evaluate Nodinite Product Key`  
* Set the **Description** to provide context, e.g., `Use the Nodinite Web Service Monitoring Agent to get an alert when the Nodinite product key is about to expire or has already expired`  
* Select the **Application** you created in [Step 1](#fa-forward-step-step-1-add-a-new-application)  

## :fa-forward-step: Step 4: Advanced tab

Manage your time-related thresholds in the **Advanced** tab:  
![Advanced Tab][9]  
*Set polling intervals, timeouts, and retry logic for robust monitoring.*

* Set the **Polling Interval** (e.g., **3600** seconds for infrequent checks)  
* Set the **Request Timeout** (e.g., **120** seconds)  
* Check **Allow Retries**  
* Set the **Number of retries** (e.g., **3**) to avoid false alerts  
* Set the **Retry Status Code** to **OK** to ignore errors during retries  

## :fa-forward-step: Step 5: Request tab

Configure the actual **Request** in the **Request** tab:  
![Request Tab][10]  
*Define the request details for the Nodinite Web API.*

* Enter the **URI** to the [Web API][], e.g., `https://nodinite.contoso.com:40001/api/status`. Use the host and port of your environment's Web API; the host and port come from your environment's settings in the :Nodinite: Portal ([Servers step][]). Use `localhost` as the host if the Web Service agent is installed on the same server as the [Web API][].  
* Set the **method** to **Get**  

Leave the rest of the fields empty. The [Web API][] is not SOAP and does not require additional HTTP headers.  

## :fa-forward-step: Step 6: Response tab

Configure response validation in the **Response** tab:  
![Response Tab][11]  
*Set expected status codes and response validation criteria.*

* Set the **Status Code** to `200` (**OK**)  
* For this type of check, you can usually leave performance checkboxes **unchecked**  

## :fa-forward-step: Step 7: Evaluate response body tab

Configure evaluation of the HTTP response body in the **Evaluate response body** tab:  
![Evaluate response body][12]  
*Use RegEx Match to detect license expiration warnings in the response.*

* Select **Expression Type**: `RegEx Match`  
* Enter the following **Expression**:  

```regex
^(?>(?:[^k]+|k+(?!ey expires))*)$
```

> This matches if the phrase 'key expires' is part of the response.

Leave the rest of the fields at their default values.  

## :fa-forward-step: Step 8: Certificate tab

If you have performed [Hardening][] of your :Nodinite: installation, you may want to receive alerts for certificate issues as well. Configure this in the **Certificate** tab:  
![Certfificate tab][13]  
*Monitor certificate validity and enforce secure connections.*

* Check **Evaluate certificate** if you use a certificate  
* Set the number of days before expiry for Warning and Error alerts  
* Check **Force the use of certificate** if you want to enforce certificate usage  
* Leave **Allow connection for invalid certificates** unchecked to ensure security  

## :fa-forward-step: Step 9: Authentication tab

If the [Web API][] application pool account is **not** the same as the Windows Service account running the :Nodinite: [Web Service Monitoring Agent][Web Services Agent], provide alternate credentials in the **Authentication** tab:  
![Authentication tab][14]  
*Configure [Windows Authentication][] if required.*

* Check **Use Windows Authentication**  
* Enter the Domain User: `DOMAIN\user` (User must have access to the :Nodinite: [Web Client][])  
* Enter the Password for the user  

## :fa-forward-step: Step 10: Save configuration

Click **Save** to persist your configuration. You should see a success message:  
![Save success][15]  
*Confirmation of successful configuration save.*

## :fa-forward-step: Step 11: Create a Monitor View and Configure alerts

Configure a [Monitor View][Monitor Views] and select an [Alarm Plugin][Alarm Plugins] to receive alerts in your preferred way. These steps are detailed in the [Add or manage Monitor View][] user guide.  

> Make sure to select the [Resource][Resources] you named in [step 3](#fa-forward-step-step-3-basic-tab).  
___

## :fa-hand-point-right: Next Steps

:fa-square-plus: [Add or manage Monitor View][]  
:fa-monitor-waveform: [Add or manage a Monitoring Agent Configuration][]  

## :fa-link-horizontal: Related Topics

:fa-monitor-waveform: [Monitoring Agents][]  
:fa-display: [Monitor Views][]  
:fa-gears: [Administration][]  
:fa-key: [Manage License][]  

[1]:{ndm}/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/ValidLicense.png
[2]:{ndm}/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/InvalidLicense.png
[4]:{ndm}/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/AddNewApplication.png
[5]:{ndm}/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/NodiniteApplication.png
[6]:{ndm}/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/AddNewWebService.png
[7]:{ndm}/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/ExpandEmptyEntry.png
[8]:{ndm}/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/BasicTab.png
[9]:{ndm}/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/AdvancedTab.png
[10]:{ndm}/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/RequestTab.png
[11]:{ndm}/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/ResponseTab.png
[12]:{ndm}/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/EvaluateResponseBodyTab.png
[13]:{ndm}/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/CertificateTab.png
[14]:{ndm}/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/AuthenticationTab.png
[15]:{ndm}/Documentation%20Pictures/MonitorAgent/WebServices/Examples/ProductKey/SaveConfiguration.png

[Add or manage a Monitoring Agent Configuration]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/Add%20or%20manage%20Monitor%20Agent.md
[Add or manage Monitor View]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/Add%20or%20manage%20Monitor%20View.md
[Administration]:{ndr}/Administration/Overview.md
[Alarm Plugins]:{ndr}/Administration/5.%20Settings/1.%20Alarm%20Plugins/Features/What%20is%20an%20Alarm%20Plugin.md
[Applications]:{ndr}/Administration/2.%20Monitor%20Management/5.%20Applications/Features/What%20is%20an%20Application.md
[Hardening]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/How%20to%20perform%20hardening%20on%20your%20Nodinite%20installation.md
[Manage License]:{ndr}/Administration/5.%20Settings/6.%20Manage%20License.md
[Monitor Views]:{ndr}/Administration/2.%20Monitor%20Management/1.%20Monitor%20Views/Features/What%20is%20a%20Monitor%20View.md
[Monitoring Agents]:{ndr}/Administration/2.%20Monitor%20Management/2.%20Monitor%20Agents/Features/What%20is%20a%20Monitor%20Agent.md
[ProductKey]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/ProductKey.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Servers step]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20Steps/04%20-%20Servers.md#core-platform-services
[SupportPage]:{ndr}/Getting%20Started/Support.md
[System Parameters]:{ndr}/Administration/5.%20Settings/5.%20System%20Parameters/Overview.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Web Client]:{ndr}/Getting%20Started/Overview.md
[Web Services Agent]:{ndr}/Logging%20and%20Monitoring/Web%20Services/Overview.md
[Windows Authentication]:{ndr}/Install%20and%20Update/Troubleshooting/IIS/IIS%20Authentication%20settings.md