Reads INI formatted sets of hosts and produces a SmokePing compatible Targets file
Cosmetic change to follow UNIX conventions
Allows reading from file, reduces usage verbosity
Updates README to reflect possibility of hosts without description.


browse  log 



You can also use your local clone with git send-email.


Reads INI formatted sets of hosts from stdin and produces a SmokePing compatible Targets file on stdout.

Smokeping has a weirdly verbose way of writing Target files which is painful to maintain manually. This tool aims to address the problem by using a much more succint input format and handling automatic generation of the various permutations on each host needed to specify its ID, location in the menu hierarchy, title etc.


The INI formatted description should be of the form:

[National:Foo Ltd] A

[National:Bar Ltd] One 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).

The example given will produce a targets file like:

*** Targets ***

probe = FPing
menu = Top
title = Network Latency Graphs

+ 4E6174696F6E616C_National
menu = National
title = National

++ 466F6F204C7464_Foo_Ltd
menu = Foo Ltd
title = Foo Ltd

+++ 486F73742041_Host_A
menu = Host A
title = Host A (
host =

+++ 686F7374622E6578616D706C652E636F6D_hostb_example_com
menu = hostb.example.com
title = hostb.example.com
host = hostb.example.com

++ 426172204C7464_Bar_Ltd
menu = Bar Ltd
title = Bar Ltd

+++ 486F7374204F6E65_Host_One
menu = Host One
title = Host One (
host =

+++ 486F73742054776F_Host_Two
menu = Host Two
title = Host Two (
host =