Hi,
I'm using following module to monitor ssl cert, but failed following issue.
tcp_cert:
prober: tcp
timeout: 5s
tcp:
tls: true
preferred_ip_protocol: "ip4"
tls_config:
insecure_skip_verify: true
curl -g
'http://1.1.1.1:9115/pro
Thank you. I moved this line before the loop, but still received the same
issue.
On Tuesday, August 9, 2022 at 2:58:16 AM UTC+8 b...@ritcey.com wrote:
> Move
>
> g1 = Gauge('ldap_query_success', 'LDAP query command', ['ldap_uri',
> 'ldap_search_base'], registry=registry)
>
> before the loop
Hi All
I have deployed prometheus with prometheus operator.Our prometheus was
running on 2.15.2 and recently we have upgraded prometheus to 2.36.1 along
with prometheus operator to 0.57.0.
After upgrade we are getting *unexpected EOF *for targets.My issue looks
simillar to the reported one
Move
g1 = Gauge('ldap_query_success', 'LDAP query command', ['ldap_uri',
'ldap_search_base'], registry=registry)
before the loop - you don't want to initialize it each time.
On Monday, August 8, 2022 at 7:00:42 AM UTC-4 ninag...@gmail.com wrote:
> Thank you I have resolved the issue.
>
> I a
Thank you I have resolved the issue.
I also tried to use the interfaces to create and record the metrics. I have
tested with following codes and found that the value of the metrcis will be
overrided by the last value of the metrics.
For example:
real situation is:
service1 -> ldap_query_success
On 08/08/2022 09:58, nina guo wrote:
But the following 3 lines should be appended to a file first, then
next time override the old content. But how to make the old content be
overried by previous ones?
print (" # HELP ldap_query_success LDAP query command",
file=open("/var/log/node_exporter/f
But the following 3 lines should be appended to a file first, then next
time override the old content. But how to make the old content be overried
by previous ones?
print (" # HELP ldap_query_success LDAP query command",
file=open("/var/log/node_exporter/filecollector/ldap_query.prom", "a+"))
On 2022-08-08 09:14, nina guo wrote:
Hi,
I used the following way to output the metrics and values to a file,
and let node exporter to scrape it.
I have a question here, how to let the next metrics value overide the
previous'?
I checked .prom file, there are some metrics with same labels and s
Hi,
I used the following way to output the metrics and values to a file, and
let node exporter to scrape it.
I have a question here, how to let the next metrics value overide the
previous'?
I checked .prom file, there are some metrics with same labels and same
values of labels but different v
9 matches
Mail list logo