Skip to content
/ deadman Public

deadman is a curses-based host status checking application using ping

License

Notifications You must be signed in to change notification settings

upa/deadman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

deadman

deadman is an observation software for host status using ping.

deadman does not have rich functionalities. It only checks host statuses using ICMP echo. We recomend using deadman for building temporary networks such as conference and event networks. This software was originally designed and implemented for Interop Tokyo ShowNet.

demo

How to use

Clone this repository and then run.

$ git clone https://github.com/upa/deadman
$ cd deadman
$ ./deadman deadman.conf

To change the targets, modify or create a config file.

$ cat deadman.conf
google          173.194.117.176
googleDNS       8.8.8.8
---
kame            203.178.141.194
kame6           2001:200:dff:fff1:216:3eff:feb1:44d7

deadman with -a or --async-mode option sends ping to targets asynchronously.

Each line in the config file indicates a target host. Ping options, specifying source addresses and using netns, etc, are noted on the deadman.conf. For example, ping via a remote host through ssh is implemented.

google-via-ssh  173.194.117.176 relay=X.X.X.X os=Linux

This line means sending ping to a google server via the remote server X.X.X.X. username and ssh-key for the remote host can be specified by user=USER, key=KEYPATH. Other ssh attributes follow user's environment executing deadman.

You can also use --- to display the separator. It's useful for grouping the targets.

Moreover, -s option indicates the scale of RTT bar graph. default is 10ms.

You can send deadman a SIGHUP to have it reload its configuration file. When this happens, existing entries will not lose their history.

License

MIT

Contact

[email protected]

About

deadman is a curses-based host status checking application using ping

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages