There are lots of examples of textfile collector scripts in this repository: https://github.com/prometheus-community/node-exporter-textfile-collector-scripts
All you need to do is write your metrics, in OpenMetrics format, to a text file. See also: https://github.com/prometheus/node_exporter#textfile-collector On Friday, 15 July 2022 at 03:46:48 UTC+1 [email protected] wrote: > Hi, > > Last time raised this question regarding how to implement check_ldap_tls > with blackbox exporter, and understand that I can use node exporter > textfile collector to realize. > > I'm going to get the output of ldapsearch command..so may I ask if there > is an example can be provided? > -- 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/4d0779aa-452e-49a6-8c00-f1f5912309aan%40googlegroups.com.

