ipmon

command module
v0.0.0-...-23e2746 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2019 License: MIT Imports: 6 Imported by: 0

README

ipmon

ipmon is small command line utility to monitor changes in the hostname and IP addresses of the local host.

Prerequisites

Golang

Tested with Go 1.11.

Installation

  1. Install the utility with go get github.com/catalinc/ipmon
  2. Edit mailer configuration according to your setup. You can use the mail.json file as template.
  3. Run it:
ipmon -help # to view options OR

ipmon -interval <networkCheckIntervalInSeconds> \
      -netConfig </path/to/save/currentNetworkConfiguration.json> \
      -mailConfig </path/to/mailerConfiguration.json> \
      -runOnce 

The utility checks network configuration for changes at regular intervals.

When changes are detected (i.e. a new IP address) the utility sends an email alert to a preconfigured list of recipients.

Warning

The SMTP password is stored in clear in mail.json configuration file.

So consider yourself warned ;-).

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL