summaryrefslogtreecommitdiff
path: root/config.sample
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2018-06-27 22:01:43 -0600
committerAaron Ball <nullspoon@oper.io>2018-06-27 22:01:43 -0600
commit2e6523fb1ef631299a8e3b32145a8390b6bf2b9f (patch)
tree9c5414bf22a6583ab8612d760e3eb1bbd4a8d31d /config.sample
downloadipnotify-master.tar.gz
ipnotify-master.tar.xz
Initial commitHEADmaster
This version works. It will notify the admin of a system if its external IP changes. The email report contains new external ip, hostname, icmp traceroute to the specified query server, and the current resolv.conf file. Also validates that all required software is installed and that all required variables are set.
Diffstat (limited to 'config.sample')
-rw-r--r--config.sample13
1 files changed, 13 insertions, 0 deletions
diff --git a/config.sample b/config.sample
new file mode 100644
index 0000000..42cca59
--- /dev/null
+++ b/config.sample
@@ -0,0 +1,13 @@
+#!/usr/bin/env bash
+
+# SMTP server to send email through
+SMTP=smtp://foobar.com:587
+
+# From address for ip change report emails
+FROM=noreply@somewhere.com
+
+# Admin to notify if IP changes
+ADMIN=a@somewhere.com
+
+# URI to query for external IP
+QUERY=https://somewhere.foo/info.php?q=ip

Generated by cgit