Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Troubleshoot Using the paragon CLI Utility

SUMMARY Read the following topic to understand how to use the paragon command CLI utility.

Understand paragon CLI Utility Commands

You can use the paragon command CLI utility to run commands on pods running in the system. The paragon commands are a set of intuitive commands to enable you to analyze, query, and troubleshoot your cluster. To execute the commands, log in to any of the primary nodes. The output of some of the commands is color-coded because, for some commands, the paragon command utility executes the kubecolor commands instead of kubectl, kubecolor color codes your kubectl command output. See Figure 1 for an example output.

To view the entire set of commands help options available, use one of the following commands:

You can view help options at any command level (not only at top level). For example:

You can use the tab option to view possible auto-completion options for the commands. To see top-level command auto-completion, type paragon and press tab. For example:

To view the underlying command that a paragon command runs, use the echo or -e option. For example:

To execute a paragon command as well as view the underlying command that it runs, use the debug or -d option. For example:

To view the entire list of paragon commands and the corresponding underlying commands that they run, use:

Figure 1: Example paragon command output Example paragon command output

Follow the instructions with regards to specific usage criteria such as arguments or prerequisites, if any, in the help section of each command. Some commands need mandatory arguments. For instance, the paragon insights logs devicegroup analytical command needs the argument --dg devicegroup-name-with subgroup. For example:

paragon insights logs devicegroup analytical --dg controller-0

Some commands have prerequisites. For instance, prior to using the paragon insights get playbooks command, you must set the username and password by using the paragon set username --cred username and paragon set password --cred password commands.

List of paragon CLI Utility Commands

The complete set of commands are listed in Table 1.

Table 1: paragon CLI Utility

Command

Description

paragon ambassador get emissary

Shows Paragon ambassador emissary pods.

paragon ambassador get pods

Shows all Paragon ambassador pods.

paragon ambassador get services

Shows all Paragon ambassador services.

paragon common postgres roles

Helps to find the Postgres roles.

paragon describe node

Shows the description of a particular node in the cluster.

Use the --node node-ip argument.

Example: paragon describe node --node 172.16.x.221

You can use the paragon get nodes all command to get the node IP address.

paragon ems get devicemanager

Shows the device manager Paragon ems pods.

paragon ems get jobmanager

Shows the job manager Paragon EMS pods.

paragon ems get pods

Shows all Paragon EMS pods.

paragon ems get services

Shows all Paragon EMS services.

paragon ems logs devicemanager

Shows the logs of Paragon EMS device manager pods.

Use the --type follow argument to get live streaming logs.

paragon ems logs jobmanager

Shows the logs of paragon ems job manager pod. Use the --type follow argument to get live streaming logs.

paragon get namespaces

Shows all namespaces available in Paragon.

paragon get nodes all

Shows a list of all nodes in the cluster.

paragon get nodes diskpressure

Validates if kubelet has any disk pressure.

Use the --node node_ip/node_name argument.

Example: paragon get nodes diskpressure --node 172.16.x.221

paragon get nodes memorypressure

Validates if kubelet has sufficient memory.

Use the --node node_ip/node_name argument.

Example: paragon get nodes memorypressure --node 172.16.x.221

paragon get nodes networkunavailable

Checks for issues with calico and the network.

Use the --node node_ip/node_name argument.

Example: paragon get nodes networkunavailable --node davinci-primary

paragon get nodes notready

Shows list of all nodes that is not ready in the cluster.

paragon get nodes pidpressure

Validates if kubelet has sufficient PID available.

Use the --node node_ip/node_name argument.

Example: paragon get nodes pidpressure --node davinci-worker1

paragon get nodes ready

Shows list of all nodes that is ready in the cluster.

paragon get nodes taint

Shows list of all taint on the nodes.

paragon get pods healthy

Shows all the healthy Paragon pods.

paragon get pods unhealthy

Shows all the unhealthy Paragon pods.

paragon get services exposed

Shows all the Paragon services that are exposed.

paragon insights cli alerta

Logs in to the CLI of the Paragon Insights alerta pod.

paragon insights cli byoi

Logs in to the CLI of the BYOI plug-in.

Use the --byoi BYOI plugin name argument.

paragon insights cli configserver

Logs in to the CLI of Paragon Insights config-server pod.

paragon insights cli grafana

Logs in to the CLI of Paragon Insights grafana pod.

paragon insights cli influxdb

Logs in to the CLI of Paragon Insights influxdb pod.

Use the --influx influxdb-nodeip argument to specify the node IP If not, the command will use the first influxdb node as the default node.

Example: paragon insights cli influxdb --influx influxdb-172.16.x.21

paragon insights cli mgd

Logs in to the CLI of Paragon Insights mgd pod.

paragon insights describe alerta

Describes the Paragon Insights alerta pod.

paragon insights describe api

Describes the Paragon Insights REST API pod.

paragon insights describe configserver

Describes the Paragon Insights config-server pod.

paragon insights describe grafana

Describes the Paragon Insights grafana pod.

paragon insights describe influxdb

Describes the Paragon Insights influxdb pod.

Use the --influx influxdb-nodeip argument to specify the node IP. If not, the command will use the first influxdb node as the default node.

Example: paragon insights describe influxdb --influx influxdb-172.16.x.21

paragon insights describe mgd

Describes the Paragon Insights mgd pod.

paragon insights get alerta

Shows the Paragon Insights alerta pod.

paragon insights get api

Shows the Paragon Insights REST API pod.

paragon insights get configserver

Shows the Paragon Insights config-server pod.

paragon insights get devicegroups

Shows all the Paragon Insights device groups.

The default username is admin. To modify the username, run the paragon set user --cred username> command.

As a prerequisite, run the paragon set password --cred password command to set the Paragon (UI host) password.

paragon insights get devices

Shows all Paragon Insights devices.

The default username is admin. To modify the username, run the paragon set user --cred username command.

As a prerequisite, run the paragon set password --cred password command to set the Paragon (UI host) password.

paragon insights get grafana

Shows the Paragon Insights grafana pod.

paragon insights get influxdb

Shows the Paragon Insights influxdb pod.

paragon insights get ingest

Shows the Paragon Insights network telemetry ingestion pods.

paragon insights get mgd

Shows the Paragon Insights mgd pod.

paragon insights get playbooks

Shows all Paragon Insights playbooks.

The default username is admin. To modify the username, run the paragon set user --cred username command.

As a prerequisite, run the paragon set password --cred password command to set the Paragon (UI host) password.

paragon insights get pods

Shows all the Paragon Insights pods.

paragon insights get services

Shows all the Paragon Insights services.

paragon insights logs alerta

Shows the logs of the Paragon Insights alerta pod.

paragon insights logs api

Shows the logs of the Paragon Insights rest api pod.

paragon insights logs byoi

Shows the logs of the Paragon Insights BYOI plug-in.

Use the --byoi BYOI plugin name argument.

paragon insights logs configserver

Shows the logs of the Paragon Insights config-server pod.

paragon insights logs devicegroup analytical

Shows the logs of the Paragon Insights device group for service analytical engine.

Use the --dg device Group name with subgroup argument.

Example: paragon insights logs devicegroup analytical --dg controller-0

In the example, controller is the devicegroup name and 0 is the subgroup.

paragon insights logs devicegroup itsdb

Shows the logs of the Paragon Insights device group for service itsdb.

Use the --dg device Group name with subgroup argument.

Example: paragon insights logs devicegroup itsdb --dg controller-0

In the example, controller is the devicegroup name and 0 is the subgroup.

paragon insights logs devicegroup jtimon

Shows the logs of the Paragon Insights device group for service jtimon.

Use the --dg device Group name with subgroup argument.

Example: paragon insights logs devicegroup jtimon --dg controller-0

In the example, controller is the devicegroup name and 0 is the subgroup.

paragon insights logs devicegroup native

Shows the logs of the Paragon Insights device group for service jti native.

Use the --dg device Group name with subgroup argument.

Example: paragon insights logs devicegroup native --dg controller-0

In the example, controller is the devicegroup name and 0 is the subgroup.

paragon insights logs devicegroup syslog

Shows the logs of the Paragon Insights device group for service syslog.

Use the --dg device Group name with subgroup argument.

Example: paragon insights logs devicegroup syslog --dg controller-0

In the example, controller is the devicegroup name and 0 is the subgroup.

paragon insights logs grafana

Shows the logs of the Paragon Insights Grafana pod.

paragon insights logs influxdb

Shows the logs of the Paragon Insights influxdb pod.

Use the --influx influxdb-nodeip argument to specify the node IP. If not, the command will use the first influxdb node as the default node.

Example: paragon insights logs influxdb --influx influxdb-172.16.x.21

paragon insights logs mgd

Shows the logs of the Paragon Insights mgd pod.

paragon pathfinder cli bmp

Logs in to the CLI of the Paragon Pathfinder BMP container.

paragon pathfinder cli configserver

Logs in to the CLI of the Paragon Pathfinder ns-configserver container.

paragon pathfinder cli crpd

Logs in to the CLI of the Paragon Pathfinder cRPD container.

paragon pathfinder cli debugutils

Logs in to the CLI of the Paragon Pathfinder debugutils container.

paragon pathfinder cli netconf

Logs in to the CLI of the Paragon Pathfinder netconf container.

paragon pathfinder cli pceserver

Logs in to the CLI of the Paragon Pathfinder ns-pceserver container (PCEP) services.

paragon pathfinder cli pcserver

Logs in to the CLI of the Paragon Pathfinder ns-pcserver (PCS) container.

paragon pathfinder cli pcviewer

Logs in to the CLI of the Paragon Pathfinder ns-pcsviewer (Paragon Planner Desktop Application) container.

paragon pathfinder cli scheduler

Gets into the CLI of paragon pathfinder scheduler container.

paragon pathfinder cli toposerver

Logs into the CLI of the Paragon Pathfinder ns-toposerver (Topology service) container.

paragon pathfinder cli web

Logs into the CLI of the Paragon Pathfinder ns-web container.

paragon pathfinder debug bgpls config

Debugs the Paragon Pathfinder cRPD routing-options configuration related to BGP-LS.

paragon pathfinder debug bgpls routes

Debugs the Paragon Pathfinder cRPD routes related to BGP-LS.

paragon pathfinder debug genjvisiondata help

Shows Paragon Pathfinder debugutils genjvisiondata help.

paragon pathfinder debug genjvisiondata params

Shows Paragon Pathfinder debugutils genjvisiondata params.

paragon pathfinder debug lsp

Logs in to the Paragon Pathfinder PCEP CLI for debugging.

paragon pathfinder debug postgres status

Shows the Kubernetes cluster Postgres status.

paragon pathfinder debug rabbitmq status

Shows the rabbitmqctl cluster status.

paragon pathfinder debug snoop amqp

Runs Paragon Pathfinder debugutils pod to snoop and decode data exchanged between AMQP.

paragon pathfinder debug snoop help

Shows Paragon Pathfinder debugutils snoop help.

paragon pathfinder debug snoop postgres

Runs Paragon Pathfinder debugutils pod to snoop and decode data exchanged between Postgres.

paragon pathfinder debug snoop redis link

Runs Paragon Pathfinder debugutils pod to snoop and decode data exchanged between Redis link.

paragon pathfinder debug snoop redis lsp

Runs Paragon Pathfinder debugutils pod to snoop and decode data exchanged between Redis lsp.

paragon pathfinder debug snoop redis node

Runs Paragon Pathfinder debugutils pod to snoop and decode data exchanged between redis nodes.

paragon pathfinder debug topoutil help

Shows Paragon Pathfinder debugutils topo_util help.

paragon pathfinder debug topoutil safemode deactivate

Shows Paragon Pathfinder debugutils topo_util tool to deactivate safe mode.

paragon pathfinder debug topoutil topo refresh

Runs Paragon Pathfinder debugutils topo_util tool to refresh the current topology.

paragon pathfinder debug topoutil topo save

Runs Paragon Pathfinder debugutils topo_util tool to save the current topology snapshot.

paragon pathfinder describe bmp

Describes Paragon Pathfinder pod including cRPD and BMP containers.

paragon pathfinder describe configserver

Describes Paragon Pathfinder pod including config-server container.

paragon pathfinder describe debugutils

Describes Paragon Pathfinder pod including debugutils container.

paragon pathfinder describe netconf

Describes Paragon Pathfinder pod including ns-netconfd container.

paragon pathfinder describe pceserver

Describes Paragon Pathfinder pod including ns-pceserver container (PCEP services).

paragon pathfinder describe pcserver

Describes Paragon Pathfinder pod including ns-pcserver container (PCS).

paragon pathfinder describe pcviewer

Describes paragon pathfinder pod including ns-pcsviewer container (Paragon Planner Desktop Application).

paragon pathfinder describe scheduler

Describes Paragon Pathfinder pod including scheduler container.

paragon pathfinder describe toposerver

Describes Paragon Pathfinder pod including ns-toposerver (Topology service) container.

paragon pathfinder describe web

Describes Paragon Pathfinder pod including web container.

paragon pathfinder get bmp

Shows Paragon Pathfinder pod including cRPD and BMP containers.

paragon pathfinder get configserver

Shows Paragon Pathfinder pod including ns-configserver and syslog containers.

paragon pathfinder get debugutils

Shows Paragon Pathfinder pod including debugutils container.

paragon pathfinder get netconf

Shows Paragon Pathfinder pod associated with the netconf process.

paragon pathfinder get pceserver

Shows Paragon Pathfinder pod including ns-pceserver container (PCEP services).

paragon pathfinder get pcserver

Shows Paragon Pathfinder pod including ns-pcserver container (PCS).

paragon pathfinder get pcviewer

Shows Paragon Pathfinder pod including ns-pcsviewer container (Paragon Planner Desktop Application).

paragon pathfinder get pods

Shows all Paragon Pathfinder pods.

paragon pathfinder get scheduler

Shows Paragon Pathfinder pod associated with the scheduler process.

paragon pathfinder get services

Shows all Paragon Pathfinder services.

paragon pathfinder get toposerver

Shows Paragon Pathfinder pod including ns-toposerver container (Topology service).

paragon pathfinder get web

Shows Paragon Pathfinder pod associated with the ns-web process.

paragon pathfinder logs bmp container bmp

Shows the logs of Paragon Pathfinder bmp pods bmp container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs bmp container crpd

Shows the logs of Paragon Pathfinder bmp pods cRPD container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs bmp container syslog

Shows the logs of Paragon Pathfinder bmp pods syslog container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs configserver container nsconfigserver

Shows the logs of Paragon Pathfinder configserver pods ns-configserver container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs configserver container syslog

Shows the logs of Paragon Pathfinder configserver pods syslog container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs netconf container nsnetconfd

Shows the logs of Paragon Pathfinder netconf pods ns-netconfd container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs netconf container syslog

Shows the logs of Paragon Pathfinder netconf pods syslog container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs pceserver container nspceserver

Shows the logs of Paragon Pathfinder pceserver pods ns-pceserver container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs pceserver container syslog

Shows the logs of Paragon Pathfinder pceserver pods syslog container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs pceserver syslog filtered

Shows processed logs of Paragon Pathfinder pceserver pods syslog container fetching only timestamp, level, and message. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs pcserver container nspcserver

Shows the logs of Paragon Pathfinder pcserver pods ns-pcserver container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs pcserver container syslog

Shows the logs of Paragon Pathfinder pcserver pods syslog container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs pcserver syslog filtered

Shows processed logs of Paragon Pathfinder pceserver pods syslog container fetching only with timestamp, level, and message. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs pcviewer container nspcviewer

Shows the logs of Paragon Pathfinder pcviewer pods ns-pcviewer container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs pcviewer container syslog

Shows the logs of Paragon Pathfinder pcviewer pods syslog container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs toposerver container nstopodbinit

Shows the logs of Paragon Pathfinder toposerver pods ns-topo-dbinit container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs toposerver container nstopodbinitcache

Shows the logs of Paragon Pathfinder toposerver pods ns-topo-dbinit-cache container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs toposerver container nstoposerver

Shows the logs of Paragon Pathfinder toposerver pods ns-toposerver container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs toposerver container syslog

Shows the logs of Paragon Pathfinder toposerver pods syslog container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs toposerver syslog filtered

Shows processed logs of Paragon Pathfinder toposerver pods syslog container fetching only with timestamp, level, and message. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs web container nsweb

Shows the logs of Paragon Pathfinder web pods ns-web container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs web container nswebdbinit

Shows the logs of Paragon Pathfinder web pods ns-web-dbinit container. Use the --type follow argument to get live streaming logs.

paragon pathfinder logs web container syslog

Shows the logs of Paragon Pathfinder web pods syslog container. Use the --type follow argument to get live streaming logs.

paragon pathfinder rabbitmq geoha status

Shows the federation status (from rabbitmq-0 instance). GeoHa status is only available for a dual cluster setup.

paragon rookceph ceph osddf

Reports Rook and Ceph OSD file system disk space usage.

paragon rookceph ceph osdpoolstats

Shows Rook and Ceph OSD pool statistics.

paragon rookceph ceph osdstatus

Shows Rook and Ceph OSD status.

paragon rookceph ceph osdtree

Shows Rook and Ceph OSD tree.

paragon rookceph ceph osdutilization

Shows Rook and Ceph OSD utilization.

paragon rookceph ceph pgstat

Shows Rook and Ceph pg status.

paragon rookceph ceph status

Shows Rook and Ceph status.

paragon rookceph cli toolbox

Logs in to the CLI of Rook and Ceph toolbox pod.

paragon rookceph get pods

Shows Rook and Ceph pods.

paragon rookceph get services

Shows Rook and Ceph services.

paragon rookceph radosgw get period

This is RADOS gateway user administration utility which gets the period info.

paragon rookceph radosgw synch status

This is RADOS gateway user administration utility which gets the metadata sync status.

paragon set password

Sets the Paragon (UI host) password for REST calls authentication.

Use this mandatory one-time set password command to set the password using the --cred password argument.

Example: paragon set password --cred AdminXYX!

paragon set username

Sets the Paragon (UI host) username for Rest calls authentication. The default username is admin.

Use the --cred username argument to set a different username.

Example: paragon set username --cred newadmin