Display monitor status
You can check if monitoring has been enabled, and what alarms (if any) have been set for a service or session.
You can check by session id or service name using the
gasadmin monitoring status
command.- Check monitor status by session id.
gasadmin monitoring status --session d98290172c8f7c0d861db329f1ce6597
The output message shows the session monitoring status as disabled.
Monitoring status for session :d98290172c8f7c0d861db329f1ce6597 MONITORING: disabled. LEVEL: MIN.
- Check monitor status by service name.
gasadmin monitoring status --service demo/Calculator
The output message shows the service monitoring status as disabled.
Monitoring status for service :demo/Calculator MONITORING: disabled. LEVEL: MIN.
In this sample output, the message shows the monitoring status as enabled and it lists the active alarm.
Monitoring status for service :demo/Calculator MONITORING: enabled. ALARM:DVM_NOT_STARTED,threshold:1.