diff --git a/go.mod b/go.mod index b04d016..c858465 100644 --- a/go.mod +++ b/go.mod @@ -30,7 +30,7 @@ replace pkg/check_tcp => ./pkg/check_tcp replace github.com/shirou/gopsutil/v3 => github.com/sni/gopsutil/v3 v3.0.0-20240506201943-915d2ad98f31 require ( - github.com/consol-monitoring/snclient/pkg/utils v0.0.0-20240508113110-e70bd2f478ac + github.com/consol-monitoring/snclient/pkg/utils v0.0.0-20240508144415-28dfb198a66a github.com/stretchr/testify v1.9.0 pkg/snclient/commands v0.0.0-00010101000000-000000000000 ) @@ -44,11 +44,11 @@ require ( github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/cloudflare/circl v1.3.8 // indirect github.com/consol-monitoring/check_nsc_web/pkg/checknscweb v0.0.0-20240321161425-fd9209e96e1f // indirect - github.com/consol-monitoring/snclient/pkg/convert v0.0.0-20240508113110-e70bd2f478ac // indirect - github.com/consol-monitoring/snclient/pkg/eventlog v0.0.0-20240508113110-e70bd2f478ac // indirect - github.com/consol-monitoring/snclient/pkg/humanize v0.0.0-20240508113110-e70bd2f478ac // indirect - github.com/consol-monitoring/snclient/pkg/nrpe v0.0.0-20240508113110-e70bd2f478ac // indirect - github.com/consol-monitoring/snclient/pkg/wmi v0.0.0-20240508113110-e70bd2f478ac // indirect + github.com/consol-monitoring/snclient/pkg/convert v0.0.0-20240508144415-28dfb198a66a // indirect + github.com/consol-monitoring/snclient/pkg/eventlog v0.0.0-20240508144415-28dfb198a66a // indirect + github.com/consol-monitoring/snclient/pkg/humanize v0.0.0-20240508144415-28dfb198a66a // indirect + github.com/consol-monitoring/snclient/pkg/nrpe v0.0.0-20240508144415-28dfb198a66a // indirect + github.com/consol-monitoring/snclient/pkg/wmi v0.0.0-20240508144415-28dfb198a66a // indirect github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect github.com/dustin/go-humanize v1.0.1 // indirect github.com/go-chi/chi/v5 v5.0.12 // indirect @@ -67,7 +67,7 @@ require ( github.com/petermattis/goid v0.0.0-20240503122002-4b96552b8156 // indirect github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect - github.com/prometheus/client_golang v1.19.0 // indirect + github.com/prometheus/client_golang v1.19.1 // indirect github.com/prometheus/client_model v0.6.1 // indirect github.com/prometheus/common v0.53.0 // indirect github.com/prometheus/procfs v0.14.0 // indirect diff --git a/go.sum b/go.sum index 63489ce..77f50e3 100644 --- a/go.sum +++ b/go.sum @@ -91,8 +91,8 @@ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU= github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= -github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU= -github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k= +github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE= +github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho= github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE= diff --git a/pkg/eventlog/go.mod b/pkg/eventlog/go.mod index f30a5f1..79649e5 100644 --- a/pkg/eventlog/go.mod +++ b/pkg/eventlog/go.mod @@ -2,7 +2,7 @@ module github.com/consol-monitoring/snclient/pkg/eventlog go 1.22.0 -require github.com/consol-monitoring/snclient/pkg/wmi v0.0.0-20240508113110-e70bd2f478ac +require github.com/consol-monitoring/snclient/pkg/wmi v0.0.0-20240508144415-28dfb198a66a require ( github.com/go-ole/go-ole v1.3.0 // indirect diff --git a/pkg/eventlog/go.sum b/pkg/eventlog/go.sum index dbcad17..0c959ba 100644 --- a/pkg/eventlog/go.sum +++ b/pkg/eventlog/go.sum @@ -1,5 +1,5 @@ -github.com/consol-monitoring/snclient/pkg/wmi v0.0.0-20240508113110-e70bd2f478ac h1:HV8gRLUFoRxjizLlpn/x7FJ3xZNDLSC1pmhUZB5eI1k= -github.com/consol-monitoring/snclient/pkg/wmi v0.0.0-20240508113110-e70bd2f478ac/go.mod h1:B+OEhtSPkWAp+ixJIXgpbkRr6h7+NUcTlAC3rSPfWvQ= +github.com/consol-monitoring/snclient/pkg/wmi v0.0.0-20240508144415-28dfb198a66a h1:TRDxyXgpwQ+fU511w4+WtkPzE31VyY6qexVSNsjsUsA= +github.com/consol-monitoring/snclient/pkg/wmi v0.0.0-20240508144415-28dfb198a66a/go.mod h1:B+OEhtSPkWAp+ixJIXgpbkRr6h7+NUcTlAC3rSPfWvQ= github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0= github.com/go-ole/go-ole v1.3.0 h1:Dt6ye7+vXGIKZ7Xtk4s6/xVdGDQynvom7xCFEdWr6uE= github.com/go-ole/go-ole v1.3.0/go.mod h1:5LS6F96DhAwUc7C+1HLexzMXY1xGRSryjyPPKW6zv78= diff --git a/pkg/snclient/go.mod b/pkg/snclient/go.mod index c66f261..d726d4c 100644 --- a/pkg/snclient/go.mod +++ b/pkg/snclient/go.mod @@ -32,16 +32,16 @@ require ( github.com/beevik/ntp v1.4.1 github.com/capnspacehook/taskmaster v0.0.0-20210519235353-1629df7c85e9 github.com/consol-monitoring/check_nsc_web/pkg/checknscweb v0.0.0-20240321161425-fd9209e96e1f - github.com/consol-monitoring/snclient/pkg/convert v0.0.0-20240508113110-e70bd2f478ac - github.com/consol-monitoring/snclient/pkg/eventlog v0.0.0-20240508113110-e70bd2f478ac - github.com/consol-monitoring/snclient/pkg/humanize v0.0.0-20240508113110-e70bd2f478ac - github.com/consol-monitoring/snclient/pkg/nrpe v0.0.0-20240508113110-e70bd2f478ac - github.com/consol-monitoring/snclient/pkg/utils v0.0.0-20240508113110-e70bd2f478ac - github.com/consol-monitoring/snclient/pkg/wmi v0.0.0-20240508113110-e70bd2f478ac + github.com/consol-monitoring/snclient/pkg/convert v0.0.0-20240508144415-28dfb198a66a + github.com/consol-monitoring/snclient/pkg/eventlog v0.0.0-20240508144415-28dfb198a66a + github.com/consol-monitoring/snclient/pkg/humanize v0.0.0-20240508144415-28dfb198a66a + github.com/consol-monitoring/snclient/pkg/nrpe v0.0.0-20240508144415-28dfb198a66a + github.com/consol-monitoring/snclient/pkg/utils v0.0.0-20240508144415-28dfb198a66a + github.com/consol-monitoring/snclient/pkg/wmi v0.0.0-20240508144415-28dfb198a66a github.com/go-chi/chi/v5 v5.0.12 github.com/kdar/factorlog v0.0.0-20211012144011-6ea75a169038 github.com/otiai10/copy v1.14.0 - github.com/prometheus/client_golang v1.19.0 + github.com/prometheus/client_golang v1.19.1 github.com/sasha-s/go-deadlock v0.3.1 github.com/sassoftware/go-rpmutils v0.4.0 github.com/sevlyar/go-daemon v0.1.6 diff --git a/pkg/snclient/go.sum b/pkg/snclient/go.sum index b1ec604..0dabb6e 100644 --- a/pkg/snclient/go.sum +++ b/pkg/snclient/go.sum @@ -88,8 +88,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 h1:o4JXh1EVt9k/+g42oCprj/FisM4qX9L3sZB3upGN2ZU= github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE= -github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU= -github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k= +github.com/prometheus/client_golang v1.19.1 h1:wZWJDwK+NameRJuPGDhlnFgx8e8HN3XHQeLaYJFJBOE= +github.com/prometheus/client_golang v1.19.1/go.mod h1:mP78NwGzrVks5S2H6ab8+ZZGJLZUq1hoULYBAYBw1Ho= github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E= github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY= github.com/prometheus/common v0.53.0 h1:U2pL9w9nmJwJDa4qqLQ3ZaePJ6ZTwt7cMD3AG3+aLCE= diff --git a/pkg/utils/go.mod b/pkg/utils/go.mod index ca8cb7f..3f4cfc7 100644 --- a/pkg/utils/go.mod +++ b/pkg/utils/go.mod @@ -3,7 +3,7 @@ module github.com/consol-monitoring/snclient/pkg/utils go 1.22.0 require ( - github.com/consol-monitoring/snclient/pkg/convert v0.0.0-20240508113110-e70bd2f478ac + github.com/consol-monitoring/snclient/pkg/convert v0.0.0-20240508144415-28dfb198a66a github.com/kdar/factorlog v0.0.0-20211012144011-6ea75a169038 github.com/stretchr/testify v1.9.0 golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842