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)
Navigation Menu
Appearance settings
- AI CODE CREATION
* GitHub CopilotWrite better code with AI
* GitHub SparkBuild and deploy intelligent apps
* GitHub ModelsManage and compare prompts
* MCP RegistryNewIntegrate external tools - DEVELOPER WORKFLOWS
* ActionsAutomate any workflow
* CodespacesInstant dev environments
* IssuesPlan and track work
* Code ReviewManage code changes - APPLICATION SECURITY
* GitHub Advanced SecurityFind and fix vulnerabilities
* Code securitySecure your code as you build
* Secret protectionStop leaks before they start - EXPLORE
* Why GitHub
* Documentation
* Blog
* Changelog
* Marketplace
- AI CODE CREATION
- BY COMPANY SIZE
* Enterprises
* Small and medium teams
* Startups
* Nonprofits - BY USE CASE
* App Modernization
* DevSecOps
* DevOps
* CI/CD
* View all use cases - BY INDUSTRY
* Healthcare
* Financial services
* Manufacturing
* Government
* View all industries
- BY COMPANY SIZE
- EXPLORE BY TOPIC
* AI
* Software Development
* DevOps
* Security
* View all topics - EXPLORE BY TYPE
* Customer stories
* Events & webinars
* Ebooks & reports
* Business insights
* GitHub Skills - SUPPORT & SERVICES
* Documentation
* Customer support
* Community forum
* Trust center
* Partners
- EXPLORE BY TOPIC
- COMMUNITY
* GitHub SponsorsFund open source developers - PROGRAMS
* Security Lab
* Maintainer Community
* Accelerator
* Archive Program - REPOSITORIES
* Topics
* Trending
* Collections
- COMMUNITY
- Pricing
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
Appearance settings
UlisesGascon / poc-nodejs-machines-ping-dashboard Public
- Notifications You must be signed in to change notification settings
- Fork0
- Star 0
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
0 stars 0 forks Branches Tags Activity
Notifications You must be signed in to change notification settings
Additional navigation options
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
- Docker and Docker-compose
- Node.js
Features
- Download and digest the last inventory available in nodejs/build repository
- Simple NPM commands to manage the docker-compose infra
- Fancy dashboard
- Metrics are generated with Telegraf
- Metrics are stored in Influxdb
- Filter out non public Ips from the Node.js inventory
Preview
Setup
- Get the last inventory version by running
npm run start. This will generate the file./telegraf.confwith all the IPs and domains. - Start the Docker infra by running
npm run infra:start. This can take some minutes depending on your network - Go to http://localhost:3000/login
- Login it with user
adminand passadmin
- Login it with user
- 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
- Select
- Import a fancy dashboard in http://localhost:3000/dashboard/import
- Add id
2690and pressLoad - (In the next page) Select
InfluxDBand pressImport
- Add id
Stop
Just run npm run infra:stop
Refresh the hosts list
- Stop the infra
npm run infra:stop - Update the hosts lists
npm run start - 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
- Monitorizar con Grafana + InfluxDB + Telegraf, usando docker compose | José Maria Labarta
- Internet Uptime Monitor | Grafana Dashboard
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
Resources
License
Code of conduct
Contributing
Security policy
Stars
Watchers
Forks
Sponsor this project
Learn more about GitHub Sponsors
