<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Alerting on</title><link>https://docs.shturval.tech/2.13/en/cluster-admin/howto/alerting/</link><description>Recent content in Alerting on</description><generator>Hugo -- gohugo.io</generator><lastBuildDate>Tue, 06 Oct 2020 08:48:23 +0000</lastBuildDate><atom:link href="https://docs.shturval.tech/2.13/en/cluster-admin/howto/alerting/index.xml" rel="self" type="application/rss+xml"/><item><title>Alert based on cluster logs</title><link>https://docs.shturval.tech/2.13/en/cluster-admin/howto/alerting/logs-alert/</link><pubDate>Tue, 06 Oct 2020 08:49:31 +0000</pubDate><guid>https://docs.shturval.tech/2.13/en/cluster-admin/howto/alerting/logs-alert/</guid><description>In the &amp;ldquo;Shturval&amp;rdquo; platform for clusters (client, management) log storage is implemented in VLogs. Cluster logs are available on the Logs tab of the cluster dashboard.
If necessary, you can configure notification (alerting) based on cluster (client, management) logs. To do this:
In the management cluster, by importing manifests for the cluster where log alerting is required, load custom resources VMRule and VMAlert using your parameter values.
VMRule example apiVersion: operator.</description></item><item><title>In the client cluster (local alerting)</title><link>https://docs.shturval.tech/2.13/en/cluster-admin/howto/alerting/local-alert/</link><pubDate>Tue, 06 Oct 2020 08:49:31 +0000</pubDate><guid>https://docs.shturval.tech/2.13/en/cluster-admin/howto/alerting/local-alert/</guid><description>In the &amp;ldquo;Shturval&amp;rdquo; platform, centralized alerting is implemented by default for client clusters with metrics and alert rules located in the management cluster. When using centralized alerting, setting up alert rules from the cluster interface is available.
If the management cluster is unavailable, centralized alerting is disabled, or centralized alerting is not required, you can configure local alerting in the client cluster. In that case, the GUI for configuring notification rules, routes, and silences is unavailable.</description></item><item><title>Troubleshooting</title><link>https://docs.shturval.tech/2.13/en/cluster-admin/howto/alerting/troubleshooting/</link><pubDate>Tue, 06 Oct 2020 08:49:31 +0000</pubDate><guid>https://docs.shturval.tech/2.13/en/cluster-admin/howto/alerting/troubleshooting/</guid><description>To check how local alerting is configured, you need to check the local storage states of the VM Single instance and VMAlertManager. To do this:
in namespace victoria-metrics, check the status of Statefulset vmalertmanager-shturval-metrics-collector. If the status is inactive, look at the pod logs for this Statefulset. in namespace victoria-metrics, check the status of Deployment vmalert-shturval-metrics-collector. If the status is inactive, look at the pod logs for this Deployment. in namespace victoria-metrics, check the status of Deployment vmsingle-shturval-metrics-collector.</description></item><item><title>Checking the operation of local alerting</title><link>https://docs.shturval.tech/2.13/en/cluster-admin/howto/alerting/check-localalert/</link><pubDate>Tue, 06 Oct 2020 08:49:31 +0000</pubDate><guid>https://docs.shturval.tech/2.13/en/cluster-admin/howto/alerting/check-localalert/</guid><description>You can check the operation of local alerting in the client cluster or control cluster, for example, using a webhook, which writes incoming messages to the container logs.
Load manifests of objects Deployment, Service into the cluster using manifest import. Deployment apiVersion: apps/v1 kind: Deployment metadata: name: demo-webhook namespace: monitoring labels: app: demo-webhook spec: replicas: 1 selector: matchLabels: app: demo-webhook template: metadata: creationTimestamp: null labels: app: demo-webhook spec: terminationGracePeriodSeconds: 30 automountServiceAccountToken: false containers: - name: demo-webhook image: quay.</description></item></channel></rss>