This the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

NTP

Metrics, Dashboards, Alerts and more for NTP Integration in Sysdig Monitor.
    NTP

    This integration is enabled by default.

    Versions supported: > v2

    This integration uses a standalone exporter that is available in UBI or scratch base image.

    This integration has 1 metrics.

    Timeseries generated: 4 series per node

    List of Alerts

    AlertDescriptionFormat
    [Ntp] Drift is too highDrift is too highPrometheus

    List of Dashboards

    NTP

    The dashboard provides information on the drift of each node. NTP

    List of Metrics

    Metric name
    ntp_drift_seconds

    Preparing the Integration

    No preparations are required for this integration.

    Installing

    An automated wizard is present in the Monitoring Integrations in Sysdig Monitor. However, you can also use this Helm chart for expert users: https://github.com/sysdiglabs/integrations-charts/tree/main/charts/ntp-exporter

    Monitoring and Troubleshooting NTP

    This document describes important metrics and queries that you can use to monitor and troubleshoot NTP.

    Tracking metrics status

    You can track NTP metrics status with following alerts: Exporter proccess is not serving metrics

    # [NTP] Exporter Process Down
    absent(ntp_drift_seconds{kube_cluster_name=~$cluster,kube_namespace_name=~$namespace,kube_workload_name=~$workload}) > 0
    

    Agent Configuration

    This is the default agent job for this integration:

    - job_name: ntp-default
      tls_config:
        insecure_skip_verify: true
      kubernetes_sd_configs:
      - role: pod
      relabel_configs:
      - action: keep
        source_labels: [__meta_kubernetes_pod_host_ip]
        regex: __HOSTIPS__
      - action: keep
        source_labels:
        - __meta_kubernetes_pod_annotation_promcat_sysdig_com_integration_type
        regex: "ntp"
      - action: replace
        source_labels: [__address__, __meta_kubernetes_pod_annotation_promcat_sysdig_com_port]
        regex: ([^:]+)(?::\d+)?;(\d+)
        replacement: $1:$2
        target_label: __address__
      - action: replace
        source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_ns]
        target_label: kube_namespace_name
      - action: replace
        source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_workload_type]
        target_label: kube_workload_type
      - action: replace
        source_labels: [__meta_kubernetes_pod_annotation_promcat_sysdig_com_target_workload_name]
        target_label: kube_workload_name
      - action: replace
        replacement: true
        target_label: sysdig_omit_source
      - action: replace
        source_labels: [__meta_kubernetes_pod_node_name]
        target_label: kube_node_name
      - action: replace
        source_labels: [__meta_kubernetes_pod_uid]
        target_label: sysdig_k8s_pod_uid
      - action: replace
        source_labels: [__meta_kubernetes_pod_container_name]
        target_label: sysdig_k8s_pod_container_name