TLDR Happy asks for guidance on installing SigNoz Agent, Srikanth provides resources and suggestions. The binary failed to execute, Srikanth recommended creating an issue in the repo. Prashant tried to reproduce the issue but couldn't.
Run signoz collector either as binary or docker on the machine
"
"make" on source fails with "cannot load crypto/ecdh: malformed module path "crypto/ecdh": missing dot in first path element"
NVM, you said binary. My bad.
Srikanth Man, you guys really need to have atleast hostmetrics end to end setup guide. Now the binary doesn't start, and my guess would be it needs a config file. I am trying to run this as binary file using ./signoz-collector_0.76.2_linux_amd64 Can I have a sample resource file to go with it, and where to put it? Same folder as binary? Does this collector works as Prometheus (pull model) or DataDog Agent (push model)? If it's a pull model do I need to configure the Signoz Host to pull from this collector? Or if it's a push model, this collector will automatically start sending metrics to Host after config is provided?
hostmetrics is enabled by default.
It’s a push model and you need to use the otlp exporter to send data.
Fantastic. Can you now help me please with where to put that config file?
```~/temp# ./signoz-collector_0.76.2_linux_amd64
signoz-collector_0.76.2_linux_amd64: dl-call-libc-early-init.c:37: _dl_call_libc_early_init: Assertion `sym != NULL' failed.
SIGABRT: abort
PC=0x3e09d3b m=0 sigcode=18446744073709551610
signal arrived during cgo execution
goroutine 1 [syscall, locked to thread]:
runtime.cgocall(0x3d241b0, 0xc0002def50)
/usr/local/go/src/runtime/cgocall.go:157 +0x5c fp=0xc0002def28 sp=0xc0002deef0 pc=0x405a5c
os/user._Cfunc_mygetpwuid_r(0x0, 0xc0003243c0, 0x46, 0xc000357028, 0xc00035702c)
_cgo_gotypes.go:159 +0x65 fp=0xc0002def50 sp=0xc0002def28 pc=0xcd5985
os/user._C_getpwuid_r(0x0?, 0xc0002df080?, 0x40fa48?)
/usr/local/go/src/os/user/cgo_lookup_cgo.go:91 +0xa5 fp=0xc0002df010 sp=0xc0002def50 pc=0xcd5b25
os/user.lookupUnixUid.func1({0xc0003243c0?, 0x33?, 0xc0002df0e0?})
/usr/local/go/src/os/user/cgo_lookup_unix.go:57 +0x65 fp=0xc0002df0b8 sp=0xc0002df010 pc=0xcd52c5
os/user.retryWithBuffer(0x506a83a8?, 0xc0002df178)
/usr/local/go/src/os/user/cgo_lookup_unix.go:171 +0x69 fp=0xc0002df118 sp=0xc0002df0b8 pc=0xcd5649
os/user.lookupUnixUid(0x0)
/usr/local/go/src/os/user/cgo_lookup_unix.go:55 +0x94 fp=0xc0002df1d8 sp=0xc0002df118 pc=0xcd5154
os/user.current()
/usr/local/go/src/os/user/cgo_lookup_unix.go:19 +0x47 fp=0xc0002df218 sp=0xc0002df1d8 pc=0xcd5047
os/user.Current.func1()
/usr/local/go/src/os/user/lookup.go:22 +0x17 fp=0xc0002df228 sp=0xc0002df218 pc=0xcd5bf7
sync.(*Once).doSlow(0xc0002df2f0?, 0x40fa48?)
/usr/local/go/src/sync/once.go:74 +0xc2 fp=0xc0002df288 sp=0xc0002df228 pc=0x48e602
sync.(*Once).Do(...)
/usr/local/go/src/sync/once.go:65
os/user.Current()
/usr/local/go/src/os/user/lookup.go:22 +0x37 fp=0xc0002df2b8 sp=0xc0002df288 pc=0xcd5737
> Can you now help me please with where to put that config file? You can keep it anywhere and provide the path with command line arg `--config <path-to-file>`
Ok the binary still fails with same error as above after providing the file. Running it on Ubuntu 20.04 using "./signoz-collector_0.76.2_linux_amd64"
Ah, that’s a bummer. Can you create an issue here
Happy not able to reproduce the issue in Ubuntu 20.04. could you please verify that architecture of the machine? Is it amd64? If possible, share output of `uname -a` .
Happy
Fri, 09 Jun 2023 21:58:33 UTCKind of dumb question, but how do you install agents on machines that you want to monitor, and send data to Signoz installation? Or do I just need to install prometheus agent?