AdtAdmin.exe /Disconnect

 

适用于: System Center 2012 R2 Operations Manager,System Center 2012 - Operations Manager,System Center 2012 SP1 - Operations Manager

<_caps3a_sxs _xmlns3a_caps="https://schemas.microsoft.com/build/caps/2013/11"><_caps3a_sxstarget locale="zh-CN">/Disconnect 参数从 ACS 收集器中断开指定的 ACS 转发器或转发器组的连接。/Disconnect 参数不生成任何输出。 要在使用 /Disconnect 参数之后检查 ACS 转发器的状态,请使用 /Connected 参数的 /Stats 子参数。语法AdtAdmin.exe /Disconnect [/Collector:<CollectorName>] {/Forwarder:<Name> | /ForwarderSid:<SID> | /Group:<GroupName> | /GroupID:<IdentificationNumber> | /Value:<ValueNumber>}子参数定义/Collector:CollectorName指定要断开连接的 ACS 收集器。 如果省略此子参数,则假定使用本地 ACS 收集器。/Forwarder:Name按其计算机名称指定 ACS 转发器。/ForwarderID:ForwarderIDNumber按其标识号指定 ACS 转发器。 首次连接到 ACS 收集器时,将为 ACS 转发器分配一个标识号。/ForwarderSID:SID按其计算机安全标识号 (SID) 指定 ACS 转发器。/Group:GroupName按组的名称指定一组 ACS 转发器。/GroupID:IdentificationNumber按组的标识号指定一组 ACS 转发器。 首次创建组时,将为组分配一个标识号。/Value:ValueNumber按分配的连接值指定 ACS 转发器或 ACS 组。 ACS 收集器使用连接值区分来自 ACS 转发器的连接的优先次序。 连接值的范围介于 -1 到 99 之间。 -1 值表示转发器属于 ACS 组,该组的值用于确定转发器的优先级。 0 值表示 ACS 收集器忽略来自 ACS 转发器或组的数据。 如果检测到事件饱和,收集器将先断开值较低的转发器或转发器组,之后断开值较高的转发器。示例此示例断开名称为 Server1 的 ACS 转发器的连接:adtadmin /disconnect /forwarder:"Server1"Audit Collection Services Administration (AdtAdmin.exe) AdtAdmin.exe /AddGroup AdtAdmin.exe /DelGroup AdtAdmin.exe /GetDBAuth AdtAdmin.exe /GetQuery AdtAdmin.exe /ListForwarders AdtAdmin.exe /ListGroups AdtAdmin.exe /SetDBAuth AdtAdmin.exe /SetQuery AdtAdmin.exe /Stats AdtAdmin.exe /UpdForwarder AdtAdmin.exe /UpdGroup <_caps3a_sxssource locale="en-US">The /Disconnect parameter disconnects a specified ACS forwarder or group of forwarders from the ACS collector. No output is generated from the /Disconnect parameter. To check an ACS forwarder’s status after using the /Disconnect parameter, use the/Connected subparameter of the /Stats parameter.SyntaxAdtAdmin.exe /Disconnect [/Collector:<CollectorName>] {/Forwarder:<Name> | /ForwarderSid:<SID> | /Group:<GroupName> | /GroupID:<IdentificationNumber> | /Value:<ValueNumber>}SubparameterDefinition/Collector:CollectorNameSpecifies an ACS collector you want to disconnect. If this subparameter is omitted, the local ACS collector is assumed./Forwarder:NameSpecifies an ACS forwarder by its computer name./ForwarderID:ForwarderIDNumberSpecifies an ACS forwarder by its identification number. An identification number is assigned to an ACS forwarder when it first connects to the ACS collector./ForwarderSID:SIDSpecifies an ACS forwarder by its computer security identification number./Group:GroupNameSpecifies a group of ACS forwarders by the group’s name./GroupID: IdentificationNumberSpecifies a group of ACS forwarders by the group’s identification number. An identification number is assigned to a group when it is first created./Value:ValueNumberSpecifies an ACS forwarder or ACS group by its assigned connection value. The ACS collector prioritizes connections from ACS forwarders using connection values. Connection values range from -1 through 99. A value of -1 means the forwarder is part of an ACS group and that the group's value is used to determine the forwarder's priority. A value of 0 means the ACS collector ignores data from that ACS forwarder or group. If event saturation is detected, a collector will disconnect forwarders or a group of forwarders with lower values before disconnecting forwarders with higher values.ExampleThis example disconnects an ACS forwarder named Server1:adtadmin /disconnect /forwarder:"Server1"Audit Collection Services Administration (AdtAdmin.exe) AdtAdmin.exe /AddGroup AdtAdmin.exe /DelGroup AdtAdmin.exe /GetDBAuth AdtAdmin.exe /GetQuery AdtAdmin.exe /ListForwarders AdtAdmin.exe /ListGroups AdtAdmin.exe /SetDBAuth AdtAdmin.exe /SetQuery AdtAdmin.exe /Stats AdtAdmin.exe /UpdForwarder AdtAdmin.exe /UpdGroup