{
  "Environment": "TEST",
  "Debug": false,
  "Version": "1.6",
  "Applications": [
    {
      "ApplicationId": 55,
      "Name": "INT001",
      "Description": "aaa"
    },
    {
      "ApplicationId": 4,
      "Name": "Nodinite",
      "Description": ""
    },
    {
      "ApplicationId": 123,
      "Name": "SSL",
      "Description": ""
    },
    {
      "ApplicationId": 2,
      "Name": "websites",
      "Description": "a"
    }
  ],
  "WebServices": [
    {
      "Enabled": true,
      "Name": "Check if Nodinite product key expires",
      "Uri": "http://localhost/Nodinite/Dev/WebAPI/api/status",
      "GeneratedURI": "http://localhost/Nodinite/Dev/WebAPI/api/status",
      "Description": "",
      "ApplicationId": 4,
      "PollingInterval": 30,
      "Request": {
        "QueryParams": [],
        "Headers": [],
        "Body": "",
        "Method": "GET",
        "Timeout": 120,
        "AllowRetries": true,
        "RetryCount": 3,
        "RetryStatusCode": 0,
        "Impersonation": {
          "Enabled": true,
          "DomainUser": ".\\Waseem",
          "Password": "NODINITE_01"
        },
        "BasicAuthentication": {
          "Enabled": false,
          "User": "",
          "Password": ""
        },
        "OAuth2Authentication": {
          "Enabled": false,
          "ClientId": "",
          "ClientSecret": "",
          "CallbackUrl": "",
          "AuthorizeUrl": "",
          "TokenUrl": "",
          "Scope": null
        },
        "TokenUserNamePasswordAuthentication": {
          "Enabled": false,
          "User": "",
          "Password": "",
          "TokenUrl": ""
        },
        "CertificateAuthentication": {
          "Enabled": false,
          "SourceType": 0,
          "File": "",
          "CertificatePassword": "",
          "Store": {
            "Name": 5,
            "Location": 2,
            "FindType": 5,
            "Value": "",
            "OnlyValidCertificate": true
          },
          "Input": ""
        },
        "IsSoapRequest": false,
        "HttpsEvaluateCertificate": false,
        "HttpsCertificateWarningDays": 14,
        "HttpsCertificateErrorDays": 7,
        "HttpsForce": false,
        "HttpsAllowInvalid": false
      },
      "Response": {
        "WarningTimeEnabled": false,
        "WarningTime": 1000,
        "WarningSamplesCount": 5,
        "ErrorTimeEnabled": false,
        "ErrorTime": 2000,
        "ErrorSamplesCount": 5,
        "ExpectedHttpStatusCodes": [
          {
            "HttpStatusCode": 200,
            "HttpStatusCodeName": "OK"
          }
        ],
        "BodyEvaluations": [
          {
            "ExpressionType": 1,
            "Expression": "^(?>(?:[^k]+|k+(?!ey expires))*)$",
            "ExpectedResult": "",
            "ExpectNoMatch": false,
            "LogicalOperator": 0
          }
        ]
      }
    },
    {
      "Enabled": true,
      "Name": "Check Log Audits",
      "Uri": "http://localhost/Nodinite/Dev/WebClient/api/LogAudits/NumberOfLogAudits?level=3",
      "GeneratedURI": "http://localhost/Nodinite/Dev/WebClient/api/LogAudits/NumberOfLogAudits?level=3&fromDate=2025-01-09 00:00",
      "Description": "",
      "ApplicationId": 4,
      "PollingInterval": 30,
      "Request": {
        "QueryParams": [
          {
            "IsDateTime": true,
            "IsUTC": true,
            "TimeZoneId": "Cuba Standard Time",
            "Format": "yyyy-MM-dd HH:mm",
            "Name": "fromDate",
            "Value": "last week"
          }
        ],
        "Headers": [],
        "Body": "",
        "Method": "GET",
        "Timeout": 120,
        "AllowRetries": false,
        "RetryCount": 3,
        "RetryStatusCode": 0,
        "Impersonation": {
          "Enabled": true,
          "DomainUser": ".\\NodiniteService",
          "Password": "NODINITE_02"
        },
        "BasicAuthentication": {
          "Enabled": false,
          "User": "",
          "Password": ""
        },
        "OAuth2Authentication": {
          "Enabled": false,
          "ClientId": "",
          "ClientSecret": "",
          "CallbackUrl": "",
          "AuthorizeUrl": "",
          "TokenUrl": "",
          "Scope": ""
        },
        "TokenUserNamePasswordAuthentication": {
          "Enabled": false,
          "User": "",
          "Password": "",
          "TokenUrl": ""
        },
        "CertificateAuthentication": {
          "Enabled": false,
          "SourceType": 0,
          "File": "",
          "CertificatePassword": "",
          "Store": {
            "Name": 5,
            "Location": 2,
            "FindType": 5,
            "Value": "",
            "OnlyValidCertificate": true
          },
          "Input": ""
        },
        "IsSoapRequest": false,
        "HttpsEvaluateCertificate": true,
        "HttpsCertificateWarningDays": 14,
        "HttpsCertificateErrorDays": 7,
        "HttpsForce": false,
        "HttpsAllowInvalid": false
      },
      "Response": {
        "WarningTimeEnabled": false,
        "WarningTime": 1000,
        "WarningSamplesCount": 5,
        "ErrorTimeEnabled": false,
        "ErrorTime": 2000,
        "ErrorSamplesCount": 5,
        "ExpectedHttpStatusCodes": [
          {
            "HttpStatusCode": 200,
            "HttpStatusCodeName": "OK"
          }
        ],
        "BodyEvaluations": [
          {
            "ExpressionType": 3,
            "Expression": "Collection.Items[0].Data.Count",
            "ExpectedResult": "0",
            "ExpectNoMatch": true,
            "LogicalOperator": 0
          },
          {
            "ExpressionType": 3,
            "Expression": "Collection.Version",
            "ExpectedResult": "6.1.0.88",
            "ExpectNoMatch": false,
            "LogicalOperator": 0
          }
        ]
      }
    },
    {
      "Enabled": true,
      "Name": "https://expired.badssl.com/",
      "Uri": "https://expired.badssl.com/",
      "GeneratedURI": "https://expired.badssl.com/",
      "Description": "Description for expired bad ssl cert",
      "ApplicationId": 123,
      "PollingInterval": 30,
      "Request": {
        "QueryParams": [],
        "Headers": [],
        "Body": "",
        "Method": "GET",
        "Timeout": 120,
        "AllowRetries": false,
        "RetryCount": 0,
        "RetryStatusCode": 0,
        "Impersonation": {
          "Enabled": false,
          "DomainUser": null,
          "Password": ""
        },
        "BasicAuthentication": {
          "Enabled": false,
          "User": null,
          "Password": ""
        },
        "OAuth2Authentication": {
          "Enabled": false,
          "ClientId": null,
          "ClientSecret": "",
          "CallbackUrl": null,
          "AuthorizeUrl": null,
          "TokenUrl": null,
          "Scope": null
        },
        "TokenUserNamePasswordAuthentication": {
          "Enabled": false,
          "User": "",
          "Password": "",
          "TokenUrl": ""
        },
        "CertificateAuthentication": {
          "Enabled": false,
          "SourceType": 0,
          "File": null,
          "CertificatePassword": "",
          "Store": {
            "Name": 5,
            "Location": 2,
            "FindType": 5,
            "Value": "",
            "OnlyValidCertificate": true
          },
          "Input": null
        },
        "IsSoapRequest": false,
        "HttpsEvaluateCertificate": true,
        "HttpsCertificateWarningDays": 10,
        "HttpsCertificateErrorDays": 30,
        "HttpsForce": true,
        "HttpsAllowInvalid": true
      },
      "Response": {
        "WarningTimeEnabled": false,
        "WarningTime": 1000,
        "WarningSamplesCount": 5,
        "ErrorTimeEnabled": false,
        "ErrorTime": 2000,
        "ErrorSamplesCount": 5,
        "ExpectedHttpStatusCodes": [
          {
            "HttpStatusCode": 200,
            "HttpStatusCodeName": "OK"
          }
        ],
        "BodyEvaluations": []
      }
    },
    {
      "Enabled": true,
      "Name": "https://linweb.linkoping.se/",
      "Uri": "https://linweb.linkoping.se/",
      "GeneratedURI": "https://linweb.linkoping.se/",
      "Description": "",
      "ApplicationId": null,
      "PollingInterval": 30,
      "Request": {
        "QueryParams": [],
        "Headers": [],
        "Body": "",
        "Method": "GET",
        "Timeout": 120,
        "AllowRetries": false,
        "RetryCount": 3,
        "RetryStatusCode": 0,
        "Impersonation": {
          "Enabled": false,
          "DomainUser": null,
          "Password": ""
        },
        "BasicAuthentication": {
          "Enabled": false,
          "User": null,
          "Password": ""
        },
        "OAuth2Authentication": {
          "Enabled": false,
          "ClientId": null,
          "ClientSecret": "",
          "CallbackUrl": null,
          "AuthorizeUrl": null,
          "TokenUrl": null,
          "Scope": null
        },
        "TokenUserNamePasswordAuthentication": {
          "Enabled": false,
          "User": null,
          "Password": "",
          "TokenUrl": null
        },
        "CertificateAuthentication": {
          "Enabled": false,
          "SourceType": 0,
          "File": null,
          "CertificatePassword": "",
          "Store": {
            "Name": 5,
            "Location": 2,
            "FindType": 5,
            "Value": "",
            "OnlyValidCertificate": true
          },
          "Input": null
        },
        "IsSoapRequest": false,
        "HttpsEvaluateCertificate": true,
        "HttpsCertificateWarningDays": 14,
        "HttpsCertificateErrorDays": 7,
        "HttpsForce": true,
        "HttpsAllowInvalid": false
      },
      "Response": {
        "WarningTimeEnabled": false,
        "WarningTime": 1000,
        "WarningSamplesCount": 5,
        "ErrorTimeEnabled": false,
        "ErrorTime": 2000,
        "ErrorSamplesCount": 5,
        "ExpectedHttpStatusCodes": [
          {
            "HttpStatusCode": 200,
            "HttpStatusCodeName": "OK"
          }
        ],
        "BodyEvaluations": []
      }
    },
    {
      "Enabled": true,
      "Name": "https://revoked.badssl.com/",
      "Uri": "https://revoked.badssl.com/",
      "GeneratedURI": "https://revoked.badssl.com/",
      "Description": "",
      "ApplicationId": 123,
      "PollingInterval": 30,
      "Request": {
        "QueryParams": [],
        "Headers": [],
        "Body": "",
        "Method": "GET",
        "Timeout": 120,
        "AllowRetries": false,
        "RetryCount": 3,
        "RetryStatusCode": 0,
        "Impersonation": {
          "Enabled": false,
          "DomainUser": null,
          "Password": ""
        },
        "BasicAuthentication": {
          "Enabled": false,
          "User": null,
          "Password": ""
        },
        "OAuth2Authentication": {
          "Enabled": false,
          "ClientId": null,
          "ClientSecret": "",
          "CallbackUrl": null,
          "AuthorizeUrl": null,
          "TokenUrl": null,
          "Scope": null
        },
        "TokenUserNamePasswordAuthentication": {
          "Enabled": false,
          "User": "",
          "Password": "",
          "TokenUrl": ""
        },
        "CertificateAuthentication": {
          "Enabled": false,
          "SourceType": 0,
          "File": null,
          "CertificatePassword": "",
          "Store": {
            "Name": 5,
            "Location": 2,
            "FindType": 5,
            "Value": "",
            "OnlyValidCertificate": true
          },
          "Input": null
        },
        "IsSoapRequest": false,
        "HttpsEvaluateCertificate": true,
        "HttpsCertificateWarningDays": 14,
        "HttpsCertificateErrorDays": 7,
        "HttpsForce": false,
        "HttpsAllowInvalid": false
      },
      "Response": {
        "WarningTimeEnabled": false,
        "WarningTime": 1000,
        "WarningSamplesCount": 5,
        "ErrorTimeEnabled": false,
        "ErrorTime": 2000,
        "ErrorSamplesCount": 5,
        "ExpectedHttpStatusCodes": [
          {
            "HttpStatusCode": 200,
            "HttpStatusCodeName": "OK"
          }
        ],
        "BodyEvaluations": []
      }
    },
    {
      "Enabled": true,
      "Name": "https://sha1-intermediate.badssl.com/",
      "Uri": "https://sha1-intermediate.badssl.com/",
      "GeneratedURI": "https://sha1-intermediate.badssl.com/",
      "Description": "",
      "ApplicationId": 123,
      "PollingInterval": 30,
      "Request": {
        "QueryParams": [],
        "Headers": [],
        "Body": "",
        "Method": "GET",
        "Timeout": 120,
        "AllowRetries": false,
        "RetryCount": 3,
        "RetryStatusCode": 0,
        "Impersonation": {
          "Enabled": false,
          "DomainUser": null,
          "Password": ""
        },
        "BasicAuthentication": {
          "Enabled": false,
          "User": null,
          "Password": ""
        },
        "OAuth2Authentication": {
          "Enabled": false,
          "ClientId": null,
          "ClientSecret": "",
          "CallbackUrl": null,
          "AuthorizeUrl": null,
          "TokenUrl": null,
          "Scope": null
        },
        "TokenUserNamePasswordAuthentication": {
          "Enabled": false,
          "User": "",
          "Password": "",
          "TokenUrl": ""
        },
        "CertificateAuthentication": {
          "Enabled": false,
          "SourceType": 0,
          "File": null,
          "CertificatePassword": "",
          "Store": {
            "Name": 5,
            "Location": 2,
            "FindType": 5,
            "Value": "",
            "OnlyValidCertificate": true
          },
          "Input": null
        },
        "IsSoapRequest": false,
        "HttpsEvaluateCertificate": true,
        "HttpsCertificateWarningDays": 14,
        "HttpsCertificateErrorDays": 7,
        "HttpsForce": false,
        "HttpsAllowInvalid": false
      },
      "Response": {
        "WarningTimeEnabled": false,
        "WarningTime": 1000,
        "WarningSamplesCount": 5,
        "ErrorTimeEnabled": false,
        "ErrorTime": 2000,
        "ErrorSamplesCount": 5,
        "ExpectedHttpStatusCodes": [
          {
            "HttpStatusCode": 200,
            "HttpStatusCodeName": "OK"
          }
        ],
        "BodyEvaluations": []
      }
    },
    {
      "Enabled": true,
      "Name": "https://wrong.host.badssl.com/",
      "Uri": "https://wrong.host.badssl.com/",
      "GeneratedURI": "https://wrong.host.badssl.com/",
      "Description": "",
      "ApplicationId": 123,
      "PollingInterval": 30,
      "Request": {
        "QueryParams": [],
        "Headers": [],
        "Body": "",
        "Method": "GET",
        "Timeout": 120,
        "AllowRetries": false,
        "RetryCount": 3,
        "RetryStatusCode": 0,
        "Impersonation": {
          "Enabled": false,
          "DomainUser": null,
          "Password": ""
        },
        "BasicAuthentication": {
          "Enabled": false,
          "User": null,
          "Password": ""
        },
        "OAuth2Authentication": {
          "Enabled": false,
          "ClientId": null,
          "ClientSecret": "",
          "CallbackUrl": null,
          "AuthorizeUrl": null,
          "TokenUrl": null,
          "Scope": null
        },
        "TokenUserNamePasswordAuthentication": {
          "Enabled": false,
          "User": "",
          "Password": "",
          "TokenUrl": ""
        },
        "CertificateAuthentication": {
          "Enabled": false,
          "SourceType": 0,
          "File": null,
          "CertificatePassword": "",
          "Store": {
            "Name": 5,
            "Location": 2,
            "FindType": 5,
            "Value": "",
            "OnlyValidCertificate": true
          },
          "Input": null
        },
        "IsSoapRequest": false,
        "HttpsEvaluateCertificate": true,
        "HttpsCertificateWarningDays": 14,
        "HttpsCertificateErrorDays": 7,
        "HttpsForce": false,
        "HttpsAllowInvalid": false
      },
      "Response": {
        "WarningTimeEnabled": false,
        "WarningTime": 1000,
        "WarningSamplesCount": 5,
        "ErrorTimeEnabled": false,
        "ErrorTime": 2000,
        "ErrorSamplesCount": 5,
        "ExpectedHttpStatusCodes": [
          {
            "HttpStatusCode": 200,
            "HttpStatusCodeName": "OK"
          }
        ],
        "BodyEvaluations": []
      }
    },
    {
      "Enabled": true,
      "Name": "LogAPI IsAlive",
      "Uri": "http://localhost/Nodinite/Dev/LogAPI/api/isalive",
      "GeneratedURI": "http://localhost/Nodinite/Dev/LogAPI/api/isalive",
      "Description": "",
      "ApplicationId": null,
      "PollingInterval": 30,
      "Request": {
        "QueryParams": [],
        "Headers": [],
        "Body": "",
        "Method": "GET",
        "Timeout": 120,
        "AllowRetries": false,
        "RetryCount": 3,
        "RetryStatusCode": 0,
        "Impersonation": {
          "Enabled": false,
          "DomainUser": "",
          "Password": ""
        },
        "BasicAuthentication": {
          "Enabled": false,
          "User": "",
          "Password": ""
        },
        "OAuth2Authentication": {
          "Enabled": false,
          "ClientId": "",
          "ClientSecret": "",
          "CallbackUrl": "",
          "AuthorizeUrl": "",
          "TokenUrl": "",
          "Scope": null
        },
        "TokenUserNamePasswordAuthentication": {
          "Enabled": false,
          "User": "",
          "Password": "",
          "TokenUrl": ""
        },
        "CertificateAuthentication": {
          "Enabled": false,
          "SourceType": 0,
          "File": "",
          "CertificatePassword": "",
          "Store": {
            "Name": 5,
            "Location": 2,
            "FindType": 5,
            "Value": "",
            "OnlyValidCertificate": true
          },
          "Input": ""
        },
        "IsSoapRequest": false,
        "HttpsEvaluateCertificate": true,
        "HttpsCertificateWarningDays": 14,
        "HttpsCertificateErrorDays": 7,
        "HttpsForce": false,
        "HttpsAllowInvalid": false
      },
      "Response": {
        "WarningTimeEnabled": false,
        "WarningTime": 1000,
        "WarningSamplesCount": 5,
        "ErrorTimeEnabled": false,
        "ErrorTime": 2000,
        "ErrorSamplesCount": 5,
        "ExpectedHttpStatusCodes": [
          {
            "HttpStatusCode": 200,
            "HttpStatusCodeName": "OK"
          }
        ],
        "BodyEvaluations": [
          {
            "ExpressionType": 3,
            "Expression": "^true2.test",
            "ExpectedResult": "",
            "ExpectNoMatch": false,
            "LogicalOperator": 0
          }
        ]
      }
    },
    {
      "Enabled": true,
      "Name": "Nodinite (Web)",
      "Uri": "https://www.nodinite.com/",
      "GeneratedURI": "https://www.nodinite.com/",
      "Description": "Nodinite.com monitoring, ensure the cert is valid!",
      "ApplicationId": 4,
      "PollingInterval": 10,
      "Request": {
        "QueryParams": [],
        "Headers": [],
        "Body": "",
        "Method": "GET",
        "Timeout": 120,
        "AllowRetries": false,
        "RetryCount": 3,
        "RetryStatusCode": 0,
        "Impersonation": {
          "Enabled": false,
          "DomainUser": null,
          "Password": ""
        },
        "BasicAuthentication": {
          "Enabled": false,
          "User": null,
          "Password": ""
        },
        "OAuth2Authentication": {
          "Enabled": false,
          "ClientId": null,
          "ClientSecret": "",
          "CallbackUrl": null,
          "AuthorizeUrl": null,
          "TokenUrl": null,
          "Scope": null
        },
        "TokenUserNamePasswordAuthentication": {
          "Enabled": false,
          "User": "",
          "Password": "",
          "TokenUrl": ""
        },
        "CertificateAuthentication": {
          "Enabled": false,
          "SourceType": 0,
          "File": null,
          "CertificatePassword": "",
          "Store": {
            "Name": 5,
            "Location": 2,
            "FindType": 5,
            "Value": "",
            "OnlyValidCertificate": true
          },
          "Input": null
        },
        "IsSoapRequest": false,
        "HttpsEvaluateCertificate": true,
        "HttpsCertificateWarningDays": 90,
        "HttpsCertificateErrorDays": 10,
        "HttpsForce": true,
        "HttpsAllowInvalid": false
      },
      "Response": {
        "WarningTimeEnabled": true,
        "WarningTime": 34,
        "WarningSamplesCount": 5,
        "ErrorTimeEnabled": true,
        "ErrorTime": 500,
        "ErrorSamplesCount": 5,
        "ExpectedHttpStatusCodes": [
          {
            "HttpStatusCode": 200,
            "HttpStatusCodeName": "OK"
          }
        ],
        "BodyEvaluations": []
      }
    },
    {
      "Enabled": true,
      "Name": "RabbitMQ Monitoring Agent",
      "Uri": "http://localhost:8000/IM/Monitor/Agent/RabbitMQ/IsAlive",
      "GeneratedURI": "http://localhost:8000/IM/Monitor/Agent/RabbitMQ/IsAlive",
      "Description": "",
      "ApplicationId": 4,
      "PollingInterval": 15,
      "Request": {
        "QueryParams": [],
        "Headers": [],
        "Body": "",
        "Method": "GET",
        "Timeout": 5,
        "AllowRetries": true,
        "RetryCount": 3,
        "RetryStatusCode": 0,
        "Impersonation": {
          "Enabled": false,
          "DomainUser": null,
          "Password": ""
        },
        "BasicAuthentication": {
          "Enabled": false,
          "User": null,
          "Password": ""
        },
        "OAuth2Authentication": {
          "Enabled": false,
          "ClientId": null,
          "ClientSecret": "",
          "CallbackUrl": null,
          "AuthorizeUrl": null,
          "TokenUrl": null,
          "Scope": null
        },
        "TokenUserNamePasswordAuthentication": {
          "Enabled": false,
          "User": "",
          "Password": "",
          "TokenUrl": ""
        },
        "CertificateAuthentication": {
          "Enabled": false,
          "SourceType": 0,
          "File": null,
          "CertificatePassword": "",
          "Store": {
            "Name": 5,
            "Location": 2,
            "FindType": 5,
            "Value": "",
            "OnlyValidCertificate": true
          },
          "Input": null
        },
        "IsSoapRequest": false,
        "HttpsEvaluateCertificate": true,
        "HttpsCertificateWarningDays": 14,
        "HttpsCertificateErrorDays": 7,
        "HttpsForce": false,
        "HttpsAllowInvalid": false
      },
      "Response": {
        "WarningTimeEnabled": false,
        "WarningTime": 1000,
        "WarningSamplesCount": 5,
        "ErrorTimeEnabled": false,
        "ErrorTime": 2000,
        "ErrorSamplesCount": 5,
        "ExpectedHttpStatusCodes": [
          {
            "HttpStatusCode": 200,
            "HttpStatusCodeName": "OK"
          }
        ],
        "BodyEvaluations": []
      }
    }
  ]
}