insight/src/Server/Insight.Server/Models/MonitorMessage.cs

27 lines
665 B
C#
Raw Normal View History

2023-09-21 22:10:55 +02:00
using Insight.Domain.Enums;
2023-09-21 18:58:32 +02:00
2023-09-21 22:10:55 +02:00
namespace Insight.Server.Models;
internal class MonitorMessage
2023-09-21 18:58:32 +02:00
{
2023-09-21 22:10:55 +02:00
public DateTime? Timestamp { get; set; }
public string? Community { get; set; }
public ApplicationEnum? Application { get; set; }
public CategoryEnum? Category { get; set; }
public StatusEnum? Status { get; set; }
public string? Endpoint { get; set; }
public string? Hostname { get; set; }
public string? Subject { get; set; }
public string? Message { get; set; }
2023-09-21 18:58:32 +02:00
2023-09-21 22:10:55 +02:00
public enum ApplicationEnum
{
Unknown = 0,
Insight = 1,
Acronis = 2,
Veeam = 3,
QNAP = 4,
FreeNas = 5
2023-09-21 18:58:32 +02:00
}
}