diff --git a/doc-Service-Telemetry-Framework/modules/proc_checking-for-an-expired-amq-interconnect-ca-certificate.adoc b/doc-Service-Telemetry-Framework/modules/proc_checking-for-an-expired-amq-interconnect-ca-certificate.adoc index f8e9c1ed..2549f72f 100644 --- a/doc-Service-Telemetry-Framework/modules/proc_checking-for-an-expired-amq-interconnect-ca-certificate.adoc +++ b/doc-Service-Telemetry-Framework/modules/proc_checking-for-an-expired-amq-interconnect-ca-certificate.adoc @@ -18,7 +18,7 @@ $ oc project service-telemetry + [source,bash,options="nowrap"] ---- -$ oc exec -it $(oc get po -l application=default-interconnect -o jsonpath='{.items[0].metadata.name}') -- qdstat --connections | grep Router | wc +$ oc exec -it deploy/default-interconnect -- qdstat --connections | grep Router | wc 0 0 0 ---- diff --git a/doc-Service-Telemetry-Framework/modules/proc_configuring-snmp-traps.adoc b/doc-Service-Telemetry-Framework/modules/proc_configuring-snmp-traps.adoc index 1abbff32..221c16ed 100644 --- a/doc-Service-Telemetry-Framework/modules/proc_configuring-snmp-traps.adoc +++ b/doc-Service-Telemetry-Framework/modules/proc_configuring-snmp-traps.adoc @@ -67,7 +67,7 @@ $ oc project service-telemetry . Create a `PrometheusRule` object that contains the alert rule and an `oid` label that contains the SNMP trap OID override value: + -[source,bash] +[source,yaml] ---- $ oc apply -f - <