On Apr 13, 2010, at 11:47 AM, psyber wrote:

I was looking into the API to see if there is a way to auto create a probe or set of probes programmatically. We have a highly virtualized environment and are using puppet to provision and manage configuration. What I'd love to be able to do is create a class in puppet that will create probes on our intermapper server when a machine is first provisioned using what puppet already knows about the services assigned to that server.

You can probably hook the HTTP API (5.2 or later) to do this pretty easily: Puppet would just need to create an import file with the new machine's info & then feed it to the HTTP API's import hook. The only caveats being you might need to get intimately familiar with the improbe:// URI, and I'm not sure about creating probe groups (The procedure doesn't jump out at me looking at a map export and I didn't find anything in a quick glance through the docs, so you may have to group your equipment manually when you're done).


http://download.dartware.com/docs/DevGuide/Content/02-CustomProbes/APIOverview.htm has the details (import file formats are linked from there)

-MG
____________________________________________________________________
List archives: http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [email protected]

Reply via email to