Skip to content

MrOplus/PingMonitor-InfluxDB

Repository files navigation

PingMonitor for InfluxDB v2

InfluxDB v2 Panel

Configuration (Caution : CASE SENSITIVE):

{
	"hosts" : [
		"1.1.1.1",
		"google.com",
		"8.8.8.8",
		"4.2.2.4",
		"koorosh.dev",
		"blog.koorosh.dev"
	],
	"influx" : {
		"url" :"http://127.0.0.1:8086",
		"secret" : "6cXZN5nqN63kO3fSP9dE5M4lQXN08bvPK0SqCZqPGIeamkH2ejgNWhdafxzIyij-nohj3g94YJ_gvW_20MKWFg==",
		"org": "local",
		"bucket" : "Ping"
	}
}

hosts : list of hosts that you want to monitor
influx :

  • url : http address of your Influx Instance
  • secret : Influx Token with write permission
  • org : organization
  • bucket : database name

How-to Run

java -jar PingMonitor.jar -c config.json

Depnds on :

Apache Commons CLI
GSON

Tested On :

  • Windows 11
  • Windows 10 (JDK 8 , JDK 11, JDK 15)
  • Ubuntu 20 (Open 11)
  • Ubuntu WSL (JDK 11)
  • CentOS 7 (JDK 11)

About

Ping Monitoring for InfluxDB-v2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages