aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Fincham <michael@hotplate.co.nz>2017-02-22 14:47:01 +1300
committerGitHub <noreply@github.com>2017-02-22 14:47:01 +1300
commitd74a2bc1c68e2fb5bf81b16bef07a5fe503158a3 (patch)
treed4a2330333643118cdb23b661b3bdda51255aa7e
parent87356ee9b05acf7c7083aa341f47b9618304219c (diff)
downloadsmokeping-targets-generator-d74a2bc1c68e2fb5bf81b16bef07a5fe503158a3.tar.gz
smokeping-targets-generator-d74a2bc1c68e2fb5bf81b16bef07a5fe503158a3.tar.bz2
smokeping-targets-generator-d74a2bc1c68e2fb5bf81b16bef07a5fe503158a3.zip
Updates README to reflect possibility of hosts without description.
-rw-r--r--README.md17
1 files changed, 9 insertions, 8 deletions
diff --git a/README.md b/README.md
index f0213a9..18da478 100644
--- a/README.md
+++ b/README.md
@@ -10,15 +10,15 @@ The INI formatted description should be of the form:
[National:Foo Ltd]
192.0.2.1=Host A
- hostb.example.com=Host B
-
+ hostb.example.com
+
[National:Bar Ltd]
203.0.113.1=Host One
203.0.113.2=Host Two
Hosts may be specified at any point in the hierarchy, and hierarchies may be arbitrarily deep (e.g. `Level 1:Level 2:Level 3`).
-This will produce a targets file like:
+The example given will produce a targets file like:
*** Targets ***
@@ -34,26 +34,27 @@ This will produce a targets file like:
menu = Foo Ltd
title = Foo Ltd
- +++ 3139322E302E322E31_192_0_2_1
+ +++ 486F73742041_Host_A
menu = Host A
title = Host A (192.0.2.1)
host = 192.0.2.1
+++ 686F7374622E6578616D706C652E636F6D_hostb_example_com
- menu = Host B
- title = Host B (hostb.example.com)
+ menu = hostb.example.com
+ title = hostb.example.com
host = hostb.example.com
++ 426172204C7464_Bar_Ltd
menu = Bar Ltd
title = Bar Ltd
- +++ 3230332E302E3131332E31_203_0_113_1
+ +++ 486F7374204F6E65_Host_One
menu = Host One
title = Host One (203.0.113.1)
host = 203.0.113.1
- +++ 3230332E302E3131332E32_203_0_113_2
+ +++ 486F73742054776F_Host_Two
menu = Host Two
title = Host Two (203.0.113.2)
host = 203.0.113.2
+