I have the same issue as i posted here and some other members too, if you have multiple domain for ssl certificate to monitor some data doesn't match on the actual ssl certificate expiry.
On Wed, May 13, 2020 at 10:35 PM Murali Krishna Kanagala < [email protected]> wrote: > Okay. Try changing the query as i suggested above. > > On Wed, May 13, 2020 at 8:45 AM Pooja Chauhan <[email protected]> > wrote: > >> I have imported the grafana dashboard for blackbox exporter >> here(dashboard no-7587) https://grafana.com/grafana/dashboards/7587 >> >> On Wednesday, May 13, 2020 at 6:58:21 PM UTC+5:30, Murali Krishna >> Kanagala wrote: >>> >>> What Dashboard are you using? Do you have a link from Grafana website? >>> If you use the metric *probe_ssl_earliest_cert_expiry *you should >>> multiply it with 1000 and use YYYY-MM-DD HH:mm:ss (on any date specific >>> unit) unit. This will give absolute date when the cert expires. >>> If you want to get how much time left then use time *from **now *unit >>> in Grafana. it will give you how much time left for the expiry. >>> >>> So your query in Grafana would be *1000 * >>> probe_ssl_earliest_cert_expiry{your_labels}. *Thats all, no need of >>> subtracting current time. >>> >>> >>> On Wed, May 13, 2020 at 4:36 AM Pooja Chauhan <[email protected]> >>> wrote: >>> >>>> The other one where it is not working is here >>>> >>>> On Wednesday, May 13, 2020 at 3:04:09 PM UTC+5:30, Pooja Chauhan wrote: >>>>> >>>>> I update grafana to 6.7.3 after discussing here then also it is the >>>>> same issue. Both my panel is configured same way only then I don't know >>>>> what is the issue . I have imported the grafana dashboard for blackbox >>>>> exporter here(dashboard no-7587) the query is same for both panels. >>>>> >>>>> On Wednesday, May 13, 2020 at 2:35:20 PM UTC+5:30, Julius Volz wrote: >>>>>> >>>>>> It seems your issue is not with the Blackbox Exporter, but with >>>>>> getting a Grafana panel correctly configured then. Or as your comment >>>>>> "BTW >>>>>> i am using grafana 6.7.2 and 6.7.3 , for 6.7.3 it works and for 6.7.2 it >>>>>> does not" suggests, it might be a problem with the specific Grafana >>>>>> version, who knows. >>>>>> >>>>>> On Wed, May 13, 2020 at 10:54 AM Pooja Chauhan <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Hi I already tried through blackbox exporter but grafana panel does >>>>>>> not show the correct information of ssl expiry related data.So checking >>>>>>> other alternatives here .I have already asked about that in this group : >>>>>>> https://groups.google.com/forum/#!topic/prometheus-users/LA0X83H24Fg >>>>>>> check my problem here. >>>>>>> >>>>>>> On Wednesday, May 13, 2020 at 2:19:29 PM UTC+5:30, Pooja Chauhan >>>>>>> wrote: >>>>>>>> >>>>>>>> Hi , >>>>>>>> Need help in monitoring ssl cert of urls.I was exploring ssl >>>>>>>> exporter but could not get much info on how to download and use >>>>>>>> it.Please >>>>>>>> suggest. >>>>>>>> >>>>>>> -- >>>>>>> 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/12db4602-2ccc-46cc-8bf3-dce73491847f%40googlegroups.com >>>>>>> <https://groups.google.com/d/msgid/prometheus-users/12db4602-2ccc-46cc-8bf3-dce73491847f%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Julius Volz >>>>>> PromLabs - promlabs.com >>>>>> >>>>> -- >>>> 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/17013b45-dd69-44e8-8ef6-820ee1c95242%40googlegroups.com >>>> <https://groups.google.com/d/msgid/prometheus-users/17013b45-dd69-44e8-8ef6-820ee1c95242%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> >>> >>> -- >>> Regards, >>> Murali Krishna Kanagala >>> >> -- >> 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/a324ad0a-4628-40fb-a746-ad63a2e3da31%40googlegroups.com >> <https://groups.google.com/d/msgid/prometheus-users/a324ad0a-4628-40fb-a746-ad63a2e3da31%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > Regards, > Murali Krishna Kanagala > > -- > 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/CAKimyZve3dn8_%3DpCuU%3DOk9g4YxOD2XKyqBDxt8Zd%2Bi3FtSHPwQ%40mail.gmail.com > <https://groups.google.com/d/msgid/prometheus-users/CAKimyZve3dn8_%3DpCuU%3DOk9g4YxOD2XKyqBDxt8Zd%2Bi3FtSHPwQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CAP1R9MtKxh%2BJ-dCugBkCBsH2wpG7CtXBk5X6-0odF3nW757rcA%40mail.gmail.com.

