Table of Contents

Class SnmpConfiguration

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents the simple network management protocol (SNMP) configuration of a machine.

public class SnmpConfiguration : BypassSection
Inheritance
SnmpConfiguration
Inherited Members

Constructors

SnmpConfiguration()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.SnmpConfiguration class.

public SnmpConfiguration()

Properties

AllowAnyHost

Gets or sets whether any host is allowed to connect to this machine using SNMP.

public BooleanOption AllowAnyHost { get; set; }

Property Value

BooleanOption

AllowedManagers

Gets or sets the host names or IP addresses of the machines that are permitted to connect using SNMP.

public SerializableStringCollection AllowedManagers { get; set; }

Property Value

SerializableStringCollection

AllowedManagersString

Gets the host names or IP addresses of the machines that are permitted to connect using SNMP as a human readable string. If any host can connect "Any" is returned.

public string AllowedManagersString { get; }

Property Value

string

Communities

Gets or sets the communities configured on this system.

public SnmpCommunityCollection Communities { get; set; }

Property Value

SnmpCommunityCollection

Contact

Gets or sets the contact name reported by the SNMP service.

public string Contact { get; set; }

Property Value

string

IsInstalled

Gets or sets whether SNMP is installed on this machine.

public BooleanOption IsInstalled { get; set; }

Property Value

BooleanOption

IsStarted

Gets or sets whether the SNMP service was running at the time of the scan.

public BooleanOption IsStarted { get; set; }

Property Value

BooleanOption

Location

Gets or sets the location reported by the SNMP service.

public string Location { get; set; }

Property Value

string

Traps

Gets or sets the destinations to which SNMP traps should be sent.

public SnmpTrapCollection Traps { get; set; }

Property Value

SnmpTrapCollection

Methods

Clone()

Returns a clone of this CENTREL.XIA.Configuration.Types.SnmpConfiguration.

public SnmpConfiguration Clone()

Returns

SnmpConfiguration

A clone of this CENTREL.XIA.Configuration.Types.SnmpConfiguration.

FromXml(string)

Returns a CENTREL.XIA.Configuration.Types.SNMPConfiguration object from the specified XML data

public static SnmpConfiguration FromXml(string xml)

Parameters

xml string

The XML representation of the object.

Returns

SnmpConfiguration

A CENTREL.XIA.Configuration.Types.SNMPConfiguration object.

ToString()

Returns the status of the SNMP configuration as a human readable string.

public override string ToString()

Returns

string

The status of the SNMP configuration as a human readable string.