+CheckStatesByHostID(..)

broken
Harald Wolff 2019-07-11 10:17:27 +02:00
parent 42bfdeb728
commit a846ed8b39
1 changed files with 9 additions and 0 deletions

View File

@ -52,6 +52,15 @@ namespace ln.skyscanner.checks
}
}
[Callable]
public SkyCheckState[] CheckStatesByHostID(Guid nodeID)
{
lock (SkyScanner.Instance.Entities.SkyCheckStates)
{
return SkyScanner.Instance.Entities.SkyCheckStates.Query("Node", nodeID).ToArray();
}
}
public SNMPEngine SNMPEngine { get; }
BTree<string, PerfFile> perfFiles = new BTree<string, PerfFile>();