Project

General

Profile

Actions

Feature #864

closed

need api call to get list of hosts that belong to a group

Added by Corey Osman almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I have an issue where I need to find all the hosts that belong to a particular hostgroup. I know of other ways of getting this information but it would require me to make a api call for each host which would take too long and possibly crash the server. I am looking for the following information:

puppethost, puppethost_id, hostgroup_id

Whats the best of of doing this?

Actions #1

Updated by Ohad Levy almost 13 years ago

  • Status changed from New to Feedback
  • Priority changed from Urgent to Normal
Actions #2

Updated by Corey Osman almost 13 years ago

  • Status changed from Feedback to Closed

Thanks this worked out great.

Actions

Also available in: Atom PDF