Skip to content

b4b857f6ee/Vulture3_grafana_dashboard

Repository files navigation

Vulture3 grafana dashboard

version 2

Add new dashboard for apachelog and filterlog

version 1 First NOC Dashboard

Vulture Project : https://www.vultureproject.org/ You Need this for sure :) for the Version 3

Getting status of FreeBSD services for Vulture3 using Telegraf+InfluxDB+Grafana

Alt text Alt text

You can use the little dashboard below the "UP" to configure alert.

Main goal of this easy script is checking list of given FreeBSD services and sending their status including Up/Down time in to InfluxDB and Grafana dashboards.

The script is written on python and I tried to use standard lib's as much as possible, but you still need a pip install.

This script returns a Json format with services status coded by digits:

  active (running) = 4
  inactive (dead) = 1

so you need to convert it back to string in Grafana.

Actually the last Telegraf version accepts the string values in json format, but if you want to use Grafana alerting you still need numeric format to put it on alert graphs.

Also script provide a service name and time recent service status in seconds, so you can use it in Grafana dashboards.

You can find the Grafana dashboard example in the json file or on grafana.com:https://grafana.com/grafana/dashboards/13310

Telegraf configuration:

    [[inputs.exec]]

    commands = [
     "/opt/srvstatus/venv/bin/python /opt/srvstatus/service.py"
    ]

    timeout = "5s"
    name_override = "services_stats"
    data_format = "json"
    tag_keys = [
      "service"
    ]

Configure ELK

Please create an ELK docker or server.

Configure your Vulture 3 by adding a repository with Index Name : vultures-access and Type Name : vulture-access Configure your App to send logs into ELK.

Configure Grafana Datasource (Name it with 'vulture' inside the name) for ELK with your ELK IP and port, Index name : vulture* and for the time field name : timestamp

Import the Dashboard :)

Packet Filter

Alt text

Report Access1

Alt text

Report Access2

Alt text

Report Map

Alt text

Report Security1

Alt text

Report Security2

Alt text

About

Dashboard for Vulture 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages