API Reference
Class
SnmpAnalysis
Performs a basic SNMP check against a server.
Inheritance
- Object
- SnmpAnalysis
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property DomainHealthCheck.SnmpAnalysis
Accepted by parameters
- Method SnmpNarrative.Build
Constructors
public SnmpAnalysis() #Methods
public async Task AnalyzeServer(String host, Int32 port, InternalLogger logger, CancellationToken cancellationToken = null) #Returns:
TaskTests a single server for SNMP responses.
Parameters
- host System.String
- port System.Int32
- logger DomainDetective.InternalLogger
- cancellationToken System.Threading.CancellationToken = null
public async Task AnalyzeServers(IEnumerable<String> hosts, IEnumerable<Int32> ports, InternalLogger logger, CancellationToken cancellationToken = null) #Returns:
TaskTests multiple servers for SNMP responses.
Parameters
- hosts System.Collections.Generic.IEnumerable{System.String}
- ports System.Collections.Generic.IEnumerable{System.Int32}
- logger DomainDetective.InternalLogger
- cancellationToken System.Threading.CancellationToken = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public String Subject { get; set; } #Target under analysis.
public Dictionary<String, Boolean> ServerResults { get; set; } #SNMP query results keyed by host and port.
public TimeSpan Timeout { get; set; } #Maximum wait time for each query.
public virtual List<Assessment> Assessments { get; } #Structured assessments captured during SNMP analysis.
public IReadOnlyList<RecommendationAdvice> Recommendations { get; } #Represents the recommendations value.