SET MONITORINGADMIN (Set the name of the monitoring administrator)
Use this command to set the name of the monitoring administrator that is used to connect to the servers in the monitored server group.
To display the name of the monitored server group, issue the QUERY MONITORSETTINGS command.
The administrator name that you specify must match the name of an existing administrator, otherwise the command fails.
Privilege class
To issue this command, you must have system privilege.
Syntax
Parameters
- admin_name
- Specifies administrator names. You can remove names by issuing the command without specifying a value, or by specifying an empty value ("").
Set the monitoring administrator name
Set
the name of the monitoring administrator to MONADMIN, by issuing the
following command:
set monitoringadmin monadmin
Remove the monitoring administrator name
Remove
the monitoring administrator, by issuing the following command:
set monitoringadmin ""
Related commands
Command | Description |
---|---|
QUERY MONITORSETTINGS (Query the configuration settings for monitoring alerts and server status) | Displays information about monitoring alerts and server status settings. |
SET MONITOREDSERVERGROUP (Set the group of monitored servers) | Set the group of monitored servers. |