Giter VIP home page Giter VIP logo

prometheus-vuls-exporter's People

Contributors

dorneanu avatar iakovmarkov avatar valihanov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

prometheus-vuls-exporter's Issues

ServerName for hosts with domain part

Currently, ServerName is determined for hosts with the domain part. For example for hostname example.com ServerName would be "com".
I created a pull request with a fix - #1

How to install prometheus vuls exporter send metric to grafana

Hi All
I deployment vuls and grafana below:
Server A (Grafana/Prometheus server) <----> Server B (Vuls server)
I have question: With such architecture. How can I send metric to Prometheus server.

On Vuls server:
$ export REPORTS_DIR=/root/results
$ export VULS_DIR=/root/vulsctl

[root@VULS prometheus-vuls-exporter]# pwd
/root/prometheus-vuls-exporter
[root@VULS prometheus-vuls-exporter]# ./example/run_exporter.sh
Running exporter with Go
src/metrics/createMetrics.go:6:2: cannot find package "github.com/prometheus/client_golang/prometheus" in any of:
/usr/local/go/src/github.com/prometheus/client_golang/prometheus (from $GOROOT)
/root/go/src/github.com/prometheus/client_golang/prometheus (from $GOPATH)
src/metrics/createMetrics.go:7:2: cannot find package "github.com/prometheus/client_golang/prometheus/promauto" in any of:
/usr/local/go/src/github.com/prometheus/client_golang/prometheus/promauto (from $GOROOT)
/root/go/src/github.com/prometheus/client_golang/prometheus/promauto (from $GOPATH)
src/main.go:12:2: cannot find package "github.com/prometheus/client_golang/prometheus/promhttp" in any of:
/usr/local/go/src/github.com/prometheus/client_golang/prometheus/promhttp (from $GOROOT)
/root/go/src/github.com/prometheus/client_golang/prometheus/promhttp (from $GOPATH)
src/main.go:13:2: cannot find package "github.com/spf13/pflag" in any of:
/usr/local/go/src/github.com/spf13/pflag (from $GOROOT)
/root/go/src/github.com/spf13/pflag (from $GOPATH)
src/main.go:14:2: cannot find package "github.com/spf13/viper" in any of:
/usr/local/go/src/github.com/spf13/viper (from $GOROOT)
/root/go/src/github.com/spf13/viper (from $GOPATH)
src/metrics/parseReport.go:9:2: cannot find package "github.com/tidwall/gjson" in any of:
/usr/local/go/src/github.com/tidwall/gjson (from $GOROOT)
/root/go/src/github.com/tidwall/gjson (from $GOPATH)
[root@VULS prometheus-vuls-exporter]#

Hope my question is not too silly

Thank so much

Makefile outdated

Hey, when I am trying to make install, it is displaying
image
Could you update it?

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.