mirror of
https://github.com/rwinkhart/uni-nut.git
synced 2026-10-27 11:09:57 -04:00
Use 9230 as default port
This commit is contained in:
1 parent
5b449e859f
commit
66fd7998d0
1 file changed
+1
-1
@@ -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