Configure Monitoring
Use the steps detailed in this topic to configure monitoring in Paragon Automation to collect metrics from different types of sources and forward the collected data to designated sinks.
- Log in to the node from which you deployed the Paragon Automation cluster.
-
Type
configure
to enter configuration mode. -
Configure the sources and sinks. Use the following commands.
-
root@primary1# set paragon monitoring source source_id scope source_type
-
root@primary1# set paragon monitoring sink sink_id sink_type
Where:
source_id and sink_id is the required source or sink ID.
Scope is
cluster
ornode
.To view a list of all available sink-options and source-options as well as sample configurations, see set paragon monitoring and Sample Sources and Sinks Configuration.
-
-
Type
commit and-quit
to commit the configuration and exit the configuration mode.Committing will update the monitoring configuration, but will not deploy the changes to the underlying services.
-
Deploy the monitoring updates.
root@primary1> request paragon deploy monitoring Getting vector daemonset metadata... Loading vector sources and sinks... Validating config... Deleting existing vector configmap... Creating new vector configmap... configmap/vector-config created Vector source or sinks missing... Suppressing vector pods
The vector pods are only spawned when at least one source and one sink is configured.
-
Verify that the vector pods are up and operational.
root@primary1> show paragon cluster pods namespace kube-system | grep vector vector-jrsh2 1/1 Running 0 44h vector-lnlfl 1/1 Running 0 44h vector-pcndg 1/1 Running 0 44h vector-rnjnc 1/1 Running 0 44h
- Verify that data is received at the configured sink.