query ucs for temperatures
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-09-28 10:31:48 +10:00
parent f82effc923
commit b3d6a05c55
2 changed files with 43 additions and 7 deletions

View File

@@ -20,7 +20,7 @@ func main() {
vURL := flag.String("url", "", "The URL of a UCS Manager, eg https://server.domain.example/nuova")
vUser := flag.String("user", "ucspe", "The username to use when connecting to UCS Manager")
vPass := flag.String("password", "ucspe", "The password to use when connecting to UCS Manager")
listenPort := flag.String("listen-port", "9101", "The port to listen on for telemetry")
listenPort := flag.String("listen-port", ":9101", "The port to listen on for telemetry")
flag.Parse()
// The following example shows how to retrieve all compute blades.