public override void Handle() { var node = PollingEngine.GetNode("HAProxy", Node_Name) as HAProxyNode; if (node != null) { node.Count("Client IP: " + Client_IP, this); node.Count("URL: " + this.GetUnique_HTTP_Request_URL(), this); } }
public IEnumerable <string> GetHAProxyCounterKeys(string nodeKey) { var node = PollingEngine.GetNode("HAProxy", nodeKey) as HAProxyNode; if (node == null) { return(Enumerable.Empty <string>()); } return(node.Counters.Select(x => x.Key).OrderBy(x => x)); }
public NodeStatusViewModel GetNodeStatus(string nodeType, string nodeKey, bool?includeData = false) { var node = PollingEngine.GetNode(HttpUtility.UrlDecode(nodeType), HttpUtility.UrlDecode(nodeKey)); return(GetNodeStatusViewModel(node, includeData)); }