Paul Belanger 430fff4515
Match HOST_ID using tab character too
In the case of puppetmaster.o.o, we are actually returning 3 results,
because of the following:

  # php -q /usr/share/cacti/cli/add_graphs.php --list-hosts | grep "puppetmaster"
  5	ci-puppetmaster.openstack.org	9	ci-puppetmaster.openstack.org
  85	old-puppetmaster.openstack.org	9	old-puppetmaster.openstack.org
  86	puppetmaster.openstack.org	9	puppetmaster.openstack.org

this is ofcource wrong and breaking cacti.  Now match with leading
tab, so we only return a single host.

Change-Id: Ie4a692f4afbc31f82844a326d38e69d2e1aea549
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-10-16 14:05:43 -04:00
..
2017-08-04 16:41:57 +00:00
2017-09-21 15:18:55 -04:00
2017-04-19 13:14:16 -07:00
2017-09-13 22:21:09 -04:00
2017-01-06 15:54:03 -08:00
2017-10-12 20:00:52 -04:00
2017-06-30 20:24:59 +00:00
2017-04-19 13:14:16 -07:00
2016-06-08 00:11:51 +00:00