Yep, you could use different hostname patterns for physical vs virtual or push a tag with virtual = true/false. If you're using puppet/facter there's a fact for this: https://docs.puppet.com/facter/latest/core_facts.html#isvirtual
On 16 November 2016 at 20:53, Sean Beckett <[email protected]> wrote: > Hostname is all telegraf has. Use unique hostnames and differentiate using > those. > > On Wed, Nov 16, 2016 at 12:32 PM, Rishma Gupta <[email protected]> wrote: > >> I need to setup different alerts for VMs and Physical machines. What data >> telegraf capture to differentiate the same? >> >> -- >> Remember to include the version number! >> --- >> You received this message because you are subscribed to the Google Groups >> "InfluxData" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at https://groups.google.com/group/influxdb. >> To view this discussion on the web visit https://groups.google.com/d/ms >> gid/influxdb/a0c4b8c8-3918-4b7b-8278-be697570981b%40googlegroups.com >> <https://groups.google.com/d/msgid/influxdb/a0c4b8c8-3918-4b7b-8278-be697570981b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Sean Beckett > Director of Support and Professional Services > InfluxDB > > -- > Remember to include the version number! > --- > You received this message because you are subscribed to the Google Groups > "InfluxData" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/influxdb. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/influxdb/CALGqCvPgZOfsnatez2jG8btyU8ceDwJYdTuTndB-gVcRB0DUww%40mail. > gmail.com > <https://groups.google.com/d/msgid/influxdb/CALGqCvPgZOfsnatez2jG8btyU8ceDwJYdTuTndB-gVcRB0DUww%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/CADmk3EwA%2BppvU3mizVSNf%3DqEv0JjhdPfA%3D6DRHQB-9Q2nyzCHA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
