And one more question is , I already have node exporter to scrape target
group A, but I only want to monitor ldap on ldap servers which are in group
A, can I implement this with textfile collector? Is textfile colloector
share the same target files with node exporter?
On Thursday, July 28, 2022 at 12:03:31 PM UTC+8 nina guo wrote:
> For example
> contextCSN=$(echo $ldap_search_result | grep contextCSN | awk '{ print $2
> }')
>
> define a metrics:
> contextCSN_metrics{instance="ldap01"} $contextCSN
>
> in alert rules:
> expr: contextCSN_metrics == ?
>
>
> On Thursday, July 28, 2022 at 11:56:56 AM UTC+8 nina guo wrote:
>
>> Hi dears
>>
>> I want to compare the value of contextCSN from each ldap server.
>>
>> contextCSN can be obtained with ldapsearch command.
>> contextCSN=$(echo $ldap_search_result | grep contextCSN | awk '{ print $2
>> }')
>>
>> May I ask if it is possible to compare the value?
>>
>
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/f6f96e79-fba0-4d80-ae3b-309fca7fc13dn%40googlegroups.com.