X-Git-Url: https://git.josue.xyz/?p=VSCPweb%2F.git;a=blobdiff_plain;f=handlers%2Fmanagement%2FmanagementHandlers.go;fp=handlers%2Fmanagement%2FmanagementHandlers.go;h=869cf9e693825a5519936853d933b0a6529d6186;hp=0000000000000000000000000000000000000000;hb=a49b19ea760f5c6493e0145320f2bf37dd3a96ca;hpb=9113a0c47ac88499100bbe41462eaa11635bca25 diff --git a/handlers/management/managementHandlers.go b/handlers/management/managementHandlers.go new file mode 100644 index 0000000..869cf9e --- /dev/null +++ b/handlers/management/managementHandlers.go @@ -0,0 +1,18 @@ +package managementHandlers +import ( + "fmt" + + "net/http" + ) + +//TODO(josuer08): get mpstat idle stat for every machine, as well as the ifstat +//and also the temperatures of every one of the servers working for the cluster. + +// This might include a textproto where we have all of the info of every node and +// then with their addresses we can go ahead and query that info from them with +// the special agent that each of them will already have installed in order to +// connect to the cluster. +func MasterHealthHandler(w http.ResponseWriter, r *http.Request) { + fmt.Fprintf("Ëverything should be okay my boi") +} +