GitHub - UlisesGascon/poc-nodejs-machines-ping-dashboard: A simple way to visualize the Node.js Machines inventory and perform a cyclical ping to collect network metrics with a full dockerize environment and a fancy dashboard. (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

UlisesGascon / poc-nodejs-machines-ping-dashboard Public

A simple way to visualize the Node.js Machines inventory and perform a cyclical ping to collect network metrics with a full dockerize environment and a fancy dashboard.

License

MIT license

0 stars 0 forks Branches Tags Activity

Star

Notifications You must be signed in to change notification settings

Additional navigation options

BranchesTags

Folders and files

Name Name Last commit message Last commit date
Latest commitHistory2 Commits
__other__ __other__
src src
.gitignore .gitignore
LICENSE LICENSE
README.md README.md
docker-compose.yml docker-compose.yml
package-lock.json package-lock.json
package.json package.json

Repository files navigation

POC Node.js Machines Ping Dashboard

A simple way to visualize the Node.js Machines inventory and perform a cyclical ping to collect network metrics with a full dockerize environment and a fancy dashboard.

Requirements

Features

Preview

Dashboard preview with all the hosts

Setup

  1. Get the last inventory version by running npm run start. This will generate the file ./telegraf.conf with all the IPs and domains.
  2. Start the Docker infra by running npm run infra:start. This can take some minutes depending on your network
  3. Go to http://localhost:3000/login
    • Login it with user admin and pass admin
  4. Add new data source in http://localhost:3000/datasources/new as follows:
    • Select InfluxDb
    • HTTP url: http://influxdb:8086
    • InfluxDB Details Database: telegraf
    • InfluxDB Details User: root
    • Click in Save & Test
  5. Import a fancy dashboard in http://localhost:3000/dashboard/import
    • Add id 2690 and press Load
    • (In the next page) Select InfluxDB and press Import

Stop

Just run npm run infra:stop

Refresh the hosts list

  1. Stop the infra npm run infra:stop
  2. Update the hosts lists npm run start
  3. Start the infra npm run infra:start

Change Telegraf settings

Make any change in src/telegraf.conf and this file is extended with the hosts ips

Acknowledgment

About

A simple way to visualize the Node.js Machines inventory and perform a cyclical ping to collect network metrics with a full dockerize environment and a fancy dashboard.

Topics

grafana telegraf

Resources

Readme

License

MIT license

Code of conduct

Code of conduct

Contributing

Contributing

Security policy

Security policy

Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks

Report repository

Learn more about GitHub Sponsors

Languages