Re: [prometheus-users] LDAP monitoring

2022-07-28 Thread 'Michael Ströder' via Prometheus Users
On 7/28/22 05:56, nina guo wrote: I want to compare the value of contextCSN from each ldap server. You seem to be using OpenLDAP. Note that contextCSN values have to be compared pair-wise distinguished by serverID. The OpenMetrics output of my slapdcheck [1] is still not really nice

[prometheus-users] Re: LDAP monitoring

2022-07-28 Thread 'Michael Ströder' via Prometheus Users
On 7/28/22 09:02, Brian Candler wrote: > I want to compare the value of contextCSN from each ldap server. If you know a specific value of contextCSN that you're looking for, then you can put it in a label, and your alerting expression can check for the absence of a timeseries:     expr:

Re: [prometheus-users] Patterns to expose absent metrics when 0 is meaningful.

2021-08-26 Thread 'Michael Ströder' via Prometheus Users
On 8/26/21 06:14, Dorian Jaminais-Grellier wrote: > Now the naive way is to create a gauge for the sensor and expose it all > the time. The problem is that this makes it impossible for me to > distinguish between the temperature staying constant and the sensor not > reporting any metrics anymore.

Re: [prometheus-users] Re: node_exporter - non root user can't see all disk with node_filesystem_files metric

2021-08-19 Thread 'Michael Ströder' via Prometheus Users
On 8/19/21 9:27 AM, Soph N wrote: > grep on /home/ec2-user/data gave me a permission denied as what we were > expecting, see the logs: > > [pid 26449] statfs("/home/ec2-user/data",  > [pid 26452] <... fstat resumed> {st_mode=S_IFREG|0444, st_size=4096, > ...}) = 0 > [pid 26449] <... statfs