Help build the future of open source observability software Open positions

Check out the open source projects we support Downloads

Aipix Mediaserver Dashboard

Dashboard

InfluxDB dashboard to collect metrics from Aipix Mediaserver
Last updated: 2 months ago

Start with Grafana Cloud and the new FREE tier. Includes 10K series Prometheus or Graphite Metrics and 50gb Loki Logs

Downloads: 4

Reviews: 0

  • Screenshot from 2022-06-09 18-01-04.jpg
    Screenshot from 2022-06-09 18-01-04.jpg
  • Screenshot from 2022-06-09 18-00-15.jpg
    Screenshot from 2022-06-09 18-00-15.jpg

About

Collector source files can be found on the GitHub Page: https://github.com/Xaipix/mediaserver-collectors

How To Use

  • Install and setup Telegraf, InfluxDB, and Grafana to work with eachother.
  • Use the provided mediaserver-collector.conf file.
  • Clone Git repository with collector:
git clone https://github.com/Xaipix/mediaserver-collectors.git /etc/telegraf/telegraf.d/inputs
  • Restart Telegraf.
  • Import the dashboard json file (or use Grafana Dashboard ID) to add the dashboard and panels to Grafana, selecting your own InfluxDB database after clicking "Import".
  • Enjoy!

Description

Collected metrics:

  1. Mediaserver summary
    • current time
    • mediaserver hostname
    • mediaserver version
    • mediaserver uptime
    • number of mediaserver restarts
    • OS version of host mediaserver is installed at
  2. Memory usage
    • VmSize – size of available for use memory
    • VmRss – size of used memory
  3. Tasks usage
    • mediasvc – customer service streams
    • mediumsvc – streams capturing cameras
    • websvc – API\Cpanel
    • scheduler\vacuum\cluster – auxiliary
  4. CPU usage
  5. Sockets connections (incoming/outgoing)
    • RxQueue – number of unreceived data
    • TxQueue – send queue
    • Sockets – total open sockets
    • Established – number of established connections
    • Close Wait – semi-closed connections
    • Slow Connection – slow connections, delivery takes more than 100 milliseconds

Collector Configuration Details

Сreate a new file under /etc/telegraf/telegraf.d/mediaserver-collector.conf and add the next:

[[inputs.exec]]
commands = [
     "/etc/telegraf/telegraf.d/inputs/mediaserver.py io",
     "/etc/telegraf/telegraf.d/inputs/mediaserver.py memory",
     "/etc/telegraf/telegraf.d/inputs/mediaserver.py proc",
     "/etc/telegraf/telegraf.d/inputs/mediaserver.py tasks",
     "/etc/telegraf/telegraf.d/inputs/mediaserver.py sockets",
   ]
timeout = "10s"
interval = "60s"
data_format = "influx"
Get this dashboard:
16423
Dependencies: