Scott Smith
2008-Jul-10 07:25 UTC
[Puppet Users] Nagios_host doesn''t support contact_groups
TypeReference says it does: http://reductivelabs.com/trac/puppet/wiki/TypeReference#nagios-host However viewing `lib/puppet/external/nagios/base.rb'' shows: newtype :host do setparameters :host_name, :notifications_enabled, :event_handler_enabled, :flap_detection_enabled, :process_perf_data, :retain_status_information, :retain_nonstatus_information, :register, :use, :alias, :address, :check_command, :max_check_attempts, :notification_interval, :notification_period, :notification_options, :checks_enabled, :failure_prediction_enabled, :parents setsuperior "person" map :address => "ipHostNumber" end Adding the attribute :contact_groups to the type above works fine. -scott --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Peter Meier
2008-Jul-10 07:53 UTC
[Puppet Users] Re: Nagios_host doesn''t support contact_groups
Hi> TypeReference says it does: > > http://reductivelabs.com/trac/puppet/wiki/TypeReference#nagios-host > > However viewing `lib/puppet/external/nagios/base.rb'' shows: > > newtype :host do > setparameters :host_name, :notifications_enabled, > :event_handler_enabled, > :flap_detection_enabled, :process_perf_data, > :retain_status_information, > :retain_nonstatus_information, :register, :use, :alias, > :address, :check_command, :max_check_attempts, > :notification_interval, > :notification_period, :notification_options, :checks_enabled, > :failure_prediction_enabled, :parents > > setsuperior "person" > > map :address => "ipHostNumber" > end > > Adding the attribute :contact_groups to the type above works fine.afair this is fixed in git-branch 0.24.x really some time ago, but after 0.24.4 came out. But so it is as well in 0.24.5rc1. which version are you using? TypeReference ist autogenerated from source, so there might be newer attributes, which is a bit "ugly". Maybe there should be a TypeReferenceDevel and a TypeReferenceStable? greets Pete --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Scott Smith
2008-Jul-10 08:40 UTC
[Puppet Users] Re: Nagios_host doesn''t support contact_groups
Peter Meier wrote:> afair this is fixed in git-branch 0.24.x really some time ago, but after > 0.24.4 came out. But so it is as well in 0.24.5rc1. which version areAh, cool. I''m running 0.24.4.> you using? TypeReference ist autogenerated from source, so there might > be newer attributes, which is a bit "ugly". Maybe there should be a > TypeReferenceDevel and a TypeReferenceStable?That''d be nice ;) Thanks. -scott --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Peter Meier
2008-Jul-11 09:43 UTC
[Puppet Users] Re: Nagios_host doesn''t support contact_groups
Hi>> you using? TypeReference ist autogenerated from source, so there might >> be newer attributes, which is a bit "ugly". Maybe there should be a >> TypeReferenceDevel and a TypeReferenceStable? > > That''d be nice ;)There have been another bugreport because of this confustion [1]. Maybe something should be added to TypeReference Page, that it doesn''t represent the latest stable version, more the current HEAD. greets Pete [1] http://reductivelabs.com/redmine/issues/show/1412 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
James Turnbull
2008-Jul-11 10:05 UTC
[Puppet Users] Re: Nagios_host doesn''t support contact_groups
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Peter Meier wrote:> Hi > >>> you using? TypeReference ist autogenerated from source, so there might >>> be newer attributes, which is a bit "ugly". Maybe there should be a >>> TypeReferenceDevel and a TypeReferenceStable? >> That''d be nice ;) > > > There have been another bugreport because of this confustion [1]. Maybe > something should be added to TypeReference Page, that it doesn''t > represent the latest stable version, more the current HEAD. >It''ll be accurate when 0.24.5 is released. Regards James Turnbull - -- Author of: * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIdzB/9hTGvAxC30ARAjgAAJ0XV74Cq3mLN9XU408ZR0ABiKJwRQCgpabN 6Wcel361JQs+Y/ZtmpZXivI=etxO -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
R.I.Pienaar
2008-Jul-11 10:11 UTC
[Puppet Users] Re: Nagios_host doesn''t support contact_groups
hello,> There have been another bugreport because of this confustion [1]. > Maybe > something should be added to TypeReference Page, that it doesn''t > represent the latest stable version, more the current HEAD.if in doubt, make your own: puppetdoc -r type | rst2html > puppet-types.html that will be accurate as per your install. rst2html comes from python docutils -- R.I.Pienaar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
James Turnbull
2008-Jul-11 10:13 UTC
[Puppet Users] Re: Nagios_host doesn''t support contact_groups
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 R.I.Pienaar wrote:> hello, > >> There have been another bugreport because of this confustion [1]. >> Maybe >> something should be added to TypeReference Page, that it doesn''t >> represent the latest stable version, more the current HEAD. > > if in doubt, make your own: > > puppetdoc -r type | rst2html > puppet-types.html > > that will be accurate as per your install. rst2html comes from python docutilsOr if you like man pages: http://docutils.sourceforge.net/sandbox/manpage-writer/ Regards James Turnbull - -- Author of: * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIdzJE9hTGvAxC30ARArpgAJ9ddvylWnt+sdYcTZiR5i7WKELnCwCfXth+ 5kmP9mTRruZIq24ruIB1EN0=qlEa -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Disconnect
2008-Jul-15 14:38 UTC
[Puppet Users] Re: Nagios_host doesn''t support contact_groups
On Fri, Jul 11, 2008 at 6:05 AM, James Turnbull <james@lovedthanlost.net> wrote:> > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Peter Meier wrote: >> There have been another bugreport because of this confustion [1]. Maybe >> something should be added to TypeReference Page, that it doesn''t >> represent the latest stable version, more the current HEAD. >> > > It''ll be accurate when 0.24.5 is released. >...until development starts again. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Luke Kanies
2008-Jul-17 06:32 UTC
[Puppet Users] Re: Nagios_host doesn''t support contact_groups
On Jul 15, 2008, at 9:38 AM, Disconnect wrote:> > On Fri, Jul 11, 2008 at 6:05 AM, James Turnbull <james@lovedthanlost.net > > wrote: >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Peter Meier wrote: >>> There have been another bugreport because of this confustion [1]. >>> Maybe >>> something should be added to TypeReference Page, that it doesn''t >>> represent the latest stable version, more the current HEAD. >>> >> >> It''ll be accurate when 0.24.5 is released. >> > > ...until development starts again.As a policy I try never to regen the references except at release time. Sometimes that policy gets broken, but normally it''s followed, and has been for more than a year. -- The optimist proclaims that we live in the best of all possible worlds, and the pessimist fears that this is true. -- James Branch Cabell 1879-1958 --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---