Open junioralvin opened 8 years ago
class centreon::client { include centreon::packages
@@centreon_host { $::hostname: ensure => present, alias => $::hostname, address => $::ipaddress, template => 'generic-host', }
puppet agent -tdv
Info: Caching catalog for cmp-dev-fromt-01 Debug: Not creating default schedules: default_schedules is false Debug: Loaded state in 0.00 seconds Debug: /Stage[main]/Centreon::Client/Centreon_host[cmp-dev-fromt-01]/notify: subscribes to Service[centpollers] Debug: /Stage[main]/Centreon::Server/File[/etc/init.d/centpollers]/notify: subscribes to Service[centpollers] Debug: /Stage[main]/Centreon::Server/Centreon_host[central-test]/notify: subscribes to Service[centpollers] Info: Applying configuration version '1453999005' Debug: Prefetching yum resources for package Debug: Executing '/bin/rpm --version' Debug: Executing '/bin/rpm -qa --nosignature --nodigest --qf '%{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}\n'' Debug: Executing '/etc/init.d/centpollers status' Debug: Finishing transaction 70177796888200 Debug: Storing state Debug: Stored state in 0.02 seconds Notice: Finished catalog run in 0.79 seconds Debug: Using cached connection for Debug: Caching connection for Debug: Closing connection for
[root@centreon-dev-fromt-01 nagios]# centreon -u admin -p test -e |grep cmp-fromti-dev ; echo $? 1
Guy has something wrong in your code it does not ta running CLAPI commands
not add never
Hello,
I've got the same problem (see https://github.com/mvisonneau/puppet-centreon/issues/3). Did you already solve the problem?
Can you be more specific ?