Table of Contents

Class ServerInfo

Namespace
Geotab.Checkmate.ObjectModel.Web
Assembly
Geotab.Checkmate.ObjectModel.dll

The performance information about a particular hosting server.

public class ServerInfo : ServerInfoBase
Inheritance
ServerInfo
Inherited Members

Constructors

ServerInfo()

Initializes a new instance of the ServerInfo class.Initializes a new instance of the ServerInfo class.

public ServerInfo()

ServerInfo(double, double, double, DatabaseInfo[]?, long[]?, decimal[]?, DiskUsage?, DiskUsage?, bool, int, bool, bool, string?, IDictionary<string, string>?, int, ReplicaInfo[]?)

Initializes a new instance of the ServerInfo class. Initializes a new instance of the ServerInfo class.

public ServerInfo(double loadFactor, double databaseFactor, double webServerFactor, DatabaseInfo[]? databaseInfo, long[]? freeDiskSpaceKb, decimal[]? percentageDiskSpace, DiskUsage? cDriveUsage, DiskUsage? otherDriveUsage, bool acceptsRegistrations, int newRegistrationsPoolId, bool isFuelImportEnabled, bool isAnyDatabaseBad, string? serverLocation, IDictionary<string, string>? serverTags, int consecutiveExcelFailures, ReplicaInfo[]? replicaInfo = null)

Parameters

loadFactor double

The load factor.

databaseFactor double

The database factor.

webServerFactor double

The web server factor.

databaseInfo DatabaseInfo[]

The database info.

freeDiskSpaceKb long[]

The free disk space in KB.

percentageDiskSpace decimal[]

The percentage disk space.

cDriveUsage DiskUsage

The Drive Usage of the C Drive.

otherDriveUsage DiskUsage

The Drive Usage of all other drives.

acceptsRegistrations bool

If set to true [accepts registrations].

newRegistrationsPoolId int

The new registrations pool identifier.

isFuelImportEnabled bool

if set to true [is fuel import enabled].

isAnyDatabaseBad bool

if set to true [is any database bad].

serverLocation string

The server location.

serverTags IDictionary<string, string>

The server metadata tags.

consecutiveExcelFailures int

How many times the ExcelClient has failed.

replicaInfo ReplicaInfo[]

The replica infos.

Properties

AcceptsRegistrations

Gets or sets a value indicating whether the server accepts registrations.

public bool AcceptsRegistrations { get; set; }

Property Value

bool

&lt;c&gt;true&lt;/c&gt; if the server accepts registrations; otherwise, &lt;c&gt;false &lt;/c&gt;.

CDriveUsage

Gets or sets the Drive usage for the C drive only.

public DiskUsage? CDriveUsage { get; set; }

Property Value

DiskUsage

The Drive Info.

ConsecutiveExcelFailures

Gets or sets the number of times ExcelClient has failed consecutively.

public int ConsecutiveExcelFailures { get; set; }

Property Value

int

The number of times ExcelClient has failed consecutively.

DatabaseFactor

Gets or sets the overall database load factor.

public double DatabaseFactor { get; set; }

Property Value

double

The overall database load factor.

DatabaseInfo

Gets or sets gets the database info list.

public DatabaseInfo[]? DatabaseInfo { get; set; }

Property Value

DatabaseInfo[]

The database infos.

DateTime

Gets or sets the DateTime that this server info was collected at.

public DateTime DateTime { get; set; }

Property Value

DateTime

The DateTime that this server info was collected at.

FreeDiskSpaceGB

Gets the free disk space in GB.

public double[]? FreeDiskSpaceGB { get; }

Property Value

double[]

The free disk space in KB.

FreeDiskSpaceKB

Gets or sets gets the old free space array.

public long[]? FreeDiskSpaceKB { get; set; }

Property Value

long[]

The free space in KB.

IsAnyDatabaseBad

Gets or sets a value indicating whether database alarm is triggered for any DB on this server.

public bool IsAnyDatabaseBad { get; set; }

Property Value

bool

[true] if database alarm is triggered.

IsFuelImportEnabled

Gets or sets a value indicating whether fuel transaction import is enabled.

public bool IsFuelImportEnabled { get; set; }

Property Value

bool

[true] if fuel transaction import is enabled.

NewRegistrationsPoolId

Gets or sets the new registrations pool identifier.

public int NewRegistrationsPoolId { get; set; }

Property Value

int

The new registrations pool identifier.

OtherDriveUsage

Gets or sets gets the Drive usage for all non-C drives.

public DiskUsage? OtherDriveUsage { get; set; }

Property Value

DiskUsage

The Drive Info.

PercentageDiskSpace

Gets or sets gets the old percentage free space array.

public decimal[]? PercentageDiskSpace { get; set; }

Property Value

decimal[]

The percentage free space.

ReplicaInfo

Gets or sets gets the replica info list.

public ReplicaInfo[]? ReplicaInfo { get; set; }

Property Value

ReplicaInfo[]

The replica infos.

ServerLocation

Gets or sets gets the Country and City of where the server is located.

public string? ServerLocation { get; set; }

Property Value

string

The name of the Country and City.

ServerTags

Gets or sets the list of server host tag metadata.

public IDictionary<string, string>? ServerTags { get; set; }

Property Value

IDictionary<string, string>

A dictionary with the key:value pairs of the metadata tags.

WebServerFactor

Gets or sets the overall web server load factor.

public double WebServerFactor { get; set; }

Property Value

double

The overall web server load factor.