Giter VIP home page Giter VIP logo

Comments (5)

iakovmarkov avatar iakovmarkov commented on September 27, 2024

Hi Daniel.
If you're running examples from source and not the pre-built binary, you need to install Go dependencies. Go to project root folder and run go get -u ./.... This will install/update all packages that it finds.
Alternatively, you can replace the go ./src (or whatever command I'm using in the example) with prometheus-vuls-exporter binary - you can get it on the Releases page.
Hope this helps!

from prometheus-vuls-exporter.

hasd-daniel avatar hasd-daniel commented on September 27, 2024

Thank so much @iakovmarkov

It seems I have adjusted properly.

[root@VULS tmp]# ls /root/results/
2020-08-02T23:00:00+07:00  2020-08-03T23:00:00+07:00 current

[root@VULS tmp]# prometheus-vuls-exporter 
2020/08/04 16:15:48 prometheus-vuls-exporter Warning! HTTP Basic Auth disabled, your vulnerability metrics are readable by anyone!
2020/08/04 16:15:48 prometheus-vuls-exporter Reports folder configured: /root/results
2020/08/04 16:15:48 prometheus-vuls-exporter listening on :8080

But when I configured data source to fetch data from Vuls server is defective.I make sure firewall allow port 8080 from grafana
image

Do you have ideal for check metric on vuls server?

Thank you!!!

from prometheus-vuls-exporter.

iakovmarkov avatar iakovmarkov commented on September 27, 2024

The exporter doesn't do much by itself - it collects reports from Vuls and exposes metrics over HTTP in Prometheus-friendly format. You need a running Prometheus instance, and you need to configure it to scrape the metrics from this exporter. The Prometheus configuration is really similar to any other exporter like BlackboxExporter or NodeExporter.

On Grafana side, you need to point it to Prometheus instance - that's where the data is stored, not on the Exporter side. Also, http://10.*.*.*:8080 cannot be a correct URL. If you're running on Grafana and Prometheus on the same host, you can use http://localhost there; otherwise you need Prometheus instance hostname/port combo.

from prometheus-vuls-exporter.

hasd-daniel avatar hasd-daniel commented on September 27, 2024

@iakovmarkov
Really thank you for the suggestion. My system was running smoothly.
I was confused about how Prometheus works.
One more thing. In Installation Guide.
Curl-Lo Prometheus-vuls-exporter https://github.com/iakovmarkov/prometheus-vuls-exporter/releases/latest/prometheus-vuls-exporter-linux-386--> Not work
We need change to:
https://github.com/iakovmarkov/prometheus-vuls-exporter/releases/tag/0.1.3/prometheus-vuls-exporter-linux-386

Thank so much friend

from prometheus-vuls-exporter.

iakovmarkov avatar iakovmarkov commented on September 27, 2024

Glad it worked out for you 👍
Thanks for letting me know about README, I thought that the latest thing worked at some point... I'll update the README.

from prometheus-vuls-exporter.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.