As part of the refactoring of the puppet code base, nagios resources were
moved into their own module, nagios_core
<https://forge.puppet.com/puppetlabs/nagios_core>. Installing that module
should resolve your error.

On Thu, Oct 18, 2018 at 8:45 PM comport3 <[email protected]> wrote:

> Hi All,
>
> We are testing some Nagios stuff on Puppet 6 and it seems all the
> previously native functionality was completely removed.
>
> Is it available to be re-added via a Module? If not, why was it removed -
> technical issues, etc??
>
> Example to reproduce:
>
> (on server to be monitored, exporting it's 'nagios_host' resource)
>   @@nagios_host { $::fqdn :
>     tag        => "nagios-${lookup('nagios_server')}",
>     ensure     => present,
>     address     => $facts['networking.ip'],
>     use        => 'wan-host',
>     hostgroups => (lookup('nagios_hostgroups', {merge => deep})).join(','),
>     target     => "/etc/nagios3/conf.d/puppet.d/host_${::fqdn}.cfg",
>   }
>
> (on monitoring server collecting this exported resource:
>
> *Error: Could not retrieve catalog from remote server: Error 500 on
> SERVER: Server Error: Evaluation Error: Error while evaluating a Resource
> Statement, Unknown resource type: 'nagios_host'*
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/0f91c67f-36f7-4c3e-ab7c-d4a98d0be144%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/0f91c67f-36f7-4c3e-ab7c-d4a98d0be144%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
*Austin Blatt*
Associate Software Engineer
[email protected]

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CADVW12O-qxdqXWxbiei%3DEDVADsJGbdS4R9vOwFkB57XXF%3Dgr%3Dg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to