ahaerpfer / ansible-inventory-omd-livestatus

Ansible dynamic inventory script for OMD Livestatus.
BSD 2-Clause "Simplified" License
1 stars 1 forks source link

Add timestamp and info about duplicate IPs to static output #8

Open ahaerpfer opened 8 years ago

ahaerpfer commented 8 years ago

For the static output it would be nice to know when it was created. Info about duplicate IPs (in case of --by-ip output) would also be useful.

In fact, the latter would also be useful in the JSON output. However, the docs on developing dynamic inventory sources do not specify where in the JSON one can put additional custom output.

Independent from output format we could simply add an additional hostvar "omd_duplicate_ip": true.