agrif / OctoPrint-InfluxDB

Writes temperatures and events to an Influx database.
GNU Affero General Public License v3.0
24 stars 15 forks source link

Improvement: Allow hostname to be manually set #16

Closed derekpurdy closed 4 years ago

derekpurdy commented 4 years ago

Currently it only shows as the hostname, not hostname.domainname. In influx I have all my hosts listed with domainname, would be nice if you allowed the override of the hostname field in the plugin.

Thanks

agrif commented 4 years ago

I've added a field to customize the value used for the host tag. You can select nodename (the old way), FQDN, or a custom text field.

This is included as part of version 1.3.1, just released. Let me know if this works!

derekpurdy commented 4 years ago

I've added a field to customize the value used for the host tag. You can select nodename (the old way), FQDN, or a custom text field.

This is included as part of version 1.3.1, just released. Let me know if this works!

Awesome, thanks so much I'll give it a go tonight!

derekpurdy commented 4 years ago

Looks great! Thanks for the changes!