Skip to content

Simple python script to add synthetic tests for each flow sender in an account

Notifications You must be signed in to change notification settings

hstafford-kentik/flowsender_syntest_maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

flowsender_syntest_maker

Simple python script to add synthetic tests for each flow sender in an account

Basically, just put this script anywhere and ./maketests.py
Assuming that kproxy AND a ksynth private agent is installed on this server, it will pull the API key from /etc/default/kentik.env just like kproxy does. No configuration is required beyond installing kproxy and ksynth. (ksynth must be currently running and registered)

It will pull the flow-sending device list from the API, make sure the IP(s) respond to pings, and then create a simple ICMP test for each IP address that responds. Unfortunately, the API does not support notifications yet, so those will need to be configured manually in the portal.

About

Simple python script to add synthetic tests for each flow sender in an account

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages