Monitor command

Note

Service adaptors not assigned to any group are assigned to a group with a blank (null) ID.

show monitor

Overview

Displays Monitor group settings.

Syntax

msh(tsa********)> show monitor [<Monitor ID>]

Parameter

Parameter

Description

(Optional) <Monitor ID>

ID of the Monitor group

Description

Output examples for commands are shown below.

Displays settings for all Monitor groups

msh(tsa********)> show monitor
---
- Monitor_0:
    MonitorGroup ID:
    MonitorGroup Name:
    Member: 2
- Monitor_1:
    MonitorGroup ID: 1015
    MonitorGroup Name: Monitor Group
    Member: 0
msh(tsa********)>

Displays settings for specified Monitor group

msh(tsa********)> show monitor 1015
---
MonitorGroup ID: 1015
MonitorGroup Name: Monitor Group
  Reports:
    Report_0: report1@example.jp
    Report_1: report2@example.jp
    Report_2:
    Report_3:
    Report_4:
  SA:
    SA_0 Code: tsw00000000
    SA_0 Name: SA_Name
msh(tsa********)>

add monitor

Overview

Creates Monitor group.

Syntax

msh(tsa********)> add monitor <Monitor Name>

Parameter

Parameter

Description

<Monitor Name>

Monitor group name

Ex.) monitor, “test monitor watch”, test monitor group, “test No. 1 monitor group”

Description

Output examples for commands are shown below.

msh(tsa********)> add monitor Monitor
---
MonitorGroup ID: 1081
MonitorGroup Name: Monitor
msh(tsa********)>

set monitor

Overview

Configure Monitor group details.

Syntax

msh(tsa********)> set monitor <Monitor ID> [name <Monitor Name>] [reports <Mail1> <Mail2> ... <Mail5>] [sa <SA1> <SA2> <SA3> ....]

Parameter

Parameter

Description

<Monitor ID>

ID identifying the Monitor group

(Optional) <Monitor Name>

Monitor group name

Ex.) monitor, “test monitor watch”, test monitor group, “test No. 1 monitor group”

(Optional) <Mail>

Reporting mail address list (up to 5)

(Optional) <SA Code>

SA code for assigned service adaptor

Description

Output examples for commands are shown below.

msh(tsa********)> set monitor 1015 tsw00000000 reports report1@example.jp report2@example.jp
---
MonitorGroup ID: 1015
MonitorGroup Name: Monitor Group
Reports:
  report 0: report1@example.jp
  report 1: report2@example.jp
  report 2:
  report 3:
  report 4:
SA:
  SA Code 0: tsw00000000
  SA Name 0: SA_Name
msh(tsa********)>

unset monitor

Overview

Update Monitor group setting values to default values.

Syntax

msh(tsa********)> unset monitor <Monitor ID> [name] [reports] [sa]

Parameter

Parameter

Description

<Monitor ID>

ID identifying the Monitor group

Description

Output examples for commands are shown below.

msh(tsa********)> unset monitor 1015 reports
---
MonitorGroup ID: 1015
MonitorGroup Name: Monitor Group
  Reports:
    Report 0:
    Report 1:
    Report 2:
    Report 3:
    Report 4:
  SA:
    SA_0 Code: tsw00000000
    SA_0 Name: SA_Name
msh(tsa********)>

Default value

The default values set when each option is specified are as follows.

Parameter / Option

Default value

name

Monitor Group

reports

(Empty array)

sa

(Empty array)

delete monitor

Overview

Deletes a Monitor group.

Syntax

msh(tsa********)> delete monitor <Monitor ID>

Parameter

Parameter

Description

<Monitor ID>

ID of the Monitor group

Description

Output examples for commands are shown below.

msh(tsa********)> delete monitor 1015
monitor: MonitorGroup (ID: 1015) is deleted.
msh(tsa********)>