mirror of
https://github.com/rwinkhart/uni-nut.git
synced 2026-09-05 16:37:15 -04:00
Use 9230 as default port
This commit is contained in:
@@ -16,7 +16,7 @@ import (
|
|||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
fHosts := flag.String("h", "localhost", "Space-separated list of hosts to collect")
|
fHosts := flag.String("h", "localhost", "Space-separated list of hosts to collect")
|
||||||
fListen := flag.String("l", ":9100", "Address and port to listen on")
|
fListen := flag.String("l", ":9230", "Address and port to listen on")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
c := nutcollector.New(strings.Fields(*fHosts))
|
c := nutcollector.New(strings.Fields(*fHosts))
|
||||||
|
|||||||
Reference in New Issue
Block a user