文件操作 - CIM_SNMPTrapTarget.mof
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/mof/cimv2.43.0/Network/CIM_SNMPTrapTarget.mof
编辑文件内容
// Copyright (c) 2005 DMTF. All rights reserved. // <change cr="ArchCR00066.004" type="add">Add UmlPackagePath // qualifier values to CIM Schema.</change> // ================================================================== // CIM_SNMPTrapTarget // ================================================================== [Version ( "2.7.0" ), UMLPackagePath ( "CIM::Network::SNMP" ), Description ( "SNMPTrapTarget contains information describing a remote " "system, to which Informs and Traps are sent. An SNMPService is " "related via a ServiceSAPDependency association to one or more " "instances of this class." )] class CIM_SNMPTrapTarget : CIM_RemotePort { [Override ( "AccessInfo" ), Description ( "The host address." )] string AccessInfo; [Override ( "PortProtocol" ), Description ( "A UDP port to which the traps/informs are sent." )] uint16 PortProtocol = 3; [Override ( "PortInfo" ), Description ( "The UDP port number to which the traps/informs are sent. " "The default is port 162." )] string PortInfo = "162"; [Description ( "Allows the selection of the notification message - Traps " "or Informs. By default, Traps are selected." ), ValueMap { "1", "2" }, Values { "Traps", "Informs" }] uint16 NotificationMessage = 1; [Description ( "The SNMP version used to send the traps or informs. Note " "that v1 does not support informs." ), ValueMap { "1", "2", "3" }, Values { "v1", "v2C", "v3" }] uint16 SNMPVersion; [Description ( "A community string/password to send with the trap operation." )] string CommunityString; };
修改文件时间
将文件时间修改为当前时间的前一年
删除文件