Jaisol
2013-Feb-21 22:55 UTC
[Puppet Users] Is it possible to get the nodes status (failed/unresponsive/change) from puppetmaster/puppetdb via Puppet API?
I use the REST API to get some information from puppetmaster/puppetdb such as resources,facts,metrics via CURL. (http://docs.puppetlabs.com/guides/rest_api.html#reports, https://github.com/cprice-puppet/puppetdb/tree/abf161c9208fc2e9df5a3adc59d595f90dc8be9a/spec) I really need another way different than puppetdashboard ( http://puppetmaster:3000/nodes) to get the nodes status, meaning what nodes nodes are failed/unresponsive/change from the puppetmaster/puppetdb via any API/CURL. Any help is greatly appreciated. Thanks! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
albert.turri1@gmail.com
2013-Feb-21 23:54 UTC
[Puppet Users] Re: Is it possible to get the nodes status (failed/unresponsive/change) from puppetmaster/puppetdb via Puppet API?
Perhaps parsing Puppet dashboard''s logs (.yaml''s located under /var/lib/puppet/reports/)?! On Thursday, February 21, 2013 5:55:19 PM UTC-5, Jaisol wrote:> > I use the REST API to get some information from puppetmaster/puppetdb such > as resources,facts,metrics via CURL. > (http://docs.puppetlabs.com/guides/rest_api.html#reports, > https://github.com/cprice-puppet/puppetdb/tree/abf161c9208fc2e9df5a3adc59d595f90dc8be9a/spec > ) > > I really need another way different than puppetdashboard ( > http://puppetmaster:3000/nodes) to get the nodes status, meaning what > nodes nodes are failed/unresponsive/change from the puppetmaster/puppetdb > via any API/CURL. > > Any help is greatly appreciated. Thanks! >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.