Skip to content

zhaqenl/pell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pell

pell is a simple periodic host monitor that utilizes ping to check for host availability. It can also be used to perform logging functions, with an easy-to-parse output suitable for data extraction and analysis. By default, when a host that you ping’d is alive, it emits a short beep sound. It runs continuously until an INT, TERM, or KILL is received.

Usage

To monitor for pongs from foo.bar.baz every second:

$ pell foo.bar.baz

To do the same with audio notifications if the host is up:

$ pell -b foo.bar.baz

To do the same with audio notifications if the host is down:

$ pell -B foo.bar.baz

To monitor for pongs from foo.bar.baz every minute, saving the output to foo.bar.baz.log run:

$ pell -i 60 foo.bar.baz | tee -a foo.bar.baz.log

To convert foo.bar.baz.log file to CSV, for graphing and data analysis:

$ sed 's/ /,/g' foo.bar.baz.log > foo.bar.baz.csv

Notes

pell exclusively relies on the ping tool. It means that it has the assumption that ICMP Echo Request packets are allowed to reach the remote host. and that the remote host is configured to respond to these packets. Please check the firewall settings.

Credits

The file resources/notification.mp3 was recorded by Marianne Gagnon, with a CC Attribution 3.0 license, and was downloaded from soundbible.com/1682-Robot-Blip.html.

About

A simple host availability monitor

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages