Nagios

32 views
Skip to first unread message

TFML

unread,
Oct 11, 2012, 2:59:20 PM10/11/12
to puppet...@googlegroups.com
I've got a Nagios setup with puppet to add nodes/contacts/command running at one datacenter, I'm trying to setup a second Nagios server using the same manifests, but I'm getting this error:

info: Retrieving plugin
info: Loading facts in snmpd
info: Loading facts in snmpd
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Exported resource Nagios_timeperiod[24x7] cannot override local resource on node nagios2.theflux.net
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
Time:
         Last run: 1349977873

Can someone give me some direction on why this is happening?  Thanks!

Peter Brown

unread,
Oct 11, 2012, 7:17:38 PM10/11/12
to puppet...@googlegroups.com
How are you setting up the nagios resources?
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.

Gabriel Filion

unread,
Oct 12, 2012, 1:55:01 PM10/12/12
to puppet...@googlegroups.com
On 2012-10-11 14:59, TFML wrote:
> I've got a Nagios setup with puppet to add nodes/contacts/command
> running at one datacenter, I'm trying to setup a second Nagios server
> using the same manifests, but I'm getting this error:
>
> info: Retrieving plugin
> info: Loading facts in snmpd
> info: Loading facts in snmpd
> err: Could not retrieve catalog from remote server: Error 400 on SERVER:
> Exported resource Nagios_timeperiod[24x7] cannot override local resource
> on node nagios2.theflux.net <http://nagios2.theflux.net>

your manifests are probably exporting the same resources twice.

you might want to verify either that one nagios server is exporting
these and the second is collecting them, or that both create them as
local resources and collect host/service definitions from other nodes.

--
Gabriel Filion

signature.asc
Reply all
Reply to author
Forward
0 new messages