Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@puppet ~]# lsb_release -a
- LSB Version: :core-3.1-amd64:core-3.1-ia32:core-3.1-noarch:graphics-3.1-amd64:graphics-3.1-ia32:graphics-3.1-noarch
- Distributor ID: CentOS
- Description: CentOS release 5.5 (Final)
- Release: 5.5
- Codename: Final
- [root@puppet ~]# rpm -qa | grep activemq
- activemq-5.3.0-1.el5
- activemq-info-provider-5.3.0-1.el5
- [root@puppet ~]# rpm -qa | grep mcollective
- mcollective-0.4.4-1.el5
- mcollective-client-0.4.4-1.el5
- mcollective-common-0.4.4-1.el5
- [root@puppet ~]#
- [root@puppet ~]# cat /etc/mcollective/server.cfg
- topicprefix = /topic/mcollective
- libdir = /usr/libexec/mcollective
- logfile = /var/log/mcollective.log
- loglevel = debug
- daemonize = 1
- # Plugins
- securityprovider = psk
- plugin.psk = panchalicksodie
- connector = stomp
- plugin.stomp.host = 192.168.1.5
- plugin.stomp.port = 6163
- plugin.stomp.user = mcollective
- plugin.stomp.password = marionette
- # Facts
- factsource = yaml
- plugin.yaml = /etc/mcollective/facts.yaml
- plugin.service.hasstatus
- plugin.service.hasrestart = true
- [root@puppet ~]# ls -l /usr/libexec/mcollective/mcollective/agent/
- total 16
- -rw-r--r-- 1 root root 2087 Apr 3 09:41 discovery.rb
- -rw-r--r-- 1 root root 2528 Jul 6 16:29 mc-service
- -rw-r--r-- 1 root root 1390 Jul 6 16:29 service.ddl
- -rw-r--r-- 1 root root 2982 Jul 6 16:29 service.rb
- [root@puppet ~]# tail -n 20 /var/log/mcollective.log
- D, [2010-07-06T17:02:26.230222 #23654] DEBUG -- : 23654 pluginmanager.rb:73:in `[]': Returning plugin security_plugin with class MCollective::Security::Psk
- D, [2010-07-06T17:02:26.230532 #23654] DEBUG -- : 23654 stomp.rb:49:in `connect': Connecting to 192.168.1.5:6163
- D, [2010-07-06T17:02:26.252403 #23654] DEBUG -- : 23654 agents.rb:17:in `loadagents': Reloading all agents from disk
- D, [2010-07-06T17:02:26.252622 #23654] DEBUG -- : 23654 pluginmanager.rb:73:in `[]': Returning plugin connector_plugin with class MCollective::Connector::Stomp
- D, [2010-07-06T17:02:26.252945 #23654] DEBUG -- : 23654 pluginmanager.rb:83:in `loadclass': Loading MCollective::Agent::Service from mcollective/agent/service.rb
- D, [2010-07-06T17:05:38.102043 #23676] DEBUG -- : 23676 pluginmanager.rb:83:in `loadclass': Loading Mcollective::Facts::Yaml from mcollective/facts/yaml.rb
- D, [2010-07-06T17:05:38.112798 #23676] DEBUG -- : 23676 pluginmanager.rb:36:in `<<': Registering plugin facts_plugin with class MCollective::Facts::Yaml
- D, [2010-07-06T17:05:38.114967 #23676] DEBUG -- : 23676 pluginmanager.rb:83:in `loadclass': Loading Mcollective::Connector::Stomp from mcollective/connector/stomp.rb
- D, [2010-07-06T17:05:38.131078 #23676] DEBUG -- : 23676 pluginmanager.rb:36:in `<<': Registering plugin connector_plugin with class MCollective::Connector::Stomp
- D, [2010-07-06T17:05:38.136279 #23676] DEBUG -- : 23676 pluginmanager.rb:83:in `loadclass': Loading Mcollective::Security::Psk from mcollective/security/psk.rb
- D, [2010-07-06T17:05:38.145124 #23676] DEBUG -- : 23676 pluginmanager.rb:36:in `<<': Registering plugin security_plugin with class MCollective::Security::Psk
- D, [2010-07-06T17:05:38.152351 #23676] DEBUG -- : 23676 pluginmanager.rb:83:in `loadclass': Loading Mcollective::Registration::Agentlist from mcollective/registration/agentlist.rb
- D, [2010-07-06T17:05:38.161171 #23676] DEBUG -- : 23676 pluginmanager.rb:36:in `<<': Registering plugin registration_plugin with class MCollective::Registration::Agentlist
- D, [2010-07-06T17:05:38.163827 #23676] DEBUG -- : 23676 mcollectived:39: Starting in the background (true)
- D, [2010-07-06T17:05:38.172837 #23679] DEBUG -- : 23679 pluginmanager.rb:73:in `[]': Returning plugin connector_plugin with class MCollective::Connector::Stomp
- D, [2010-07-06T17:05:38.173317 #23679] DEBUG -- : 23679 pluginmanager.rb:73:in `[]': Returning plugin security_plugin with class MCollective::Security::Psk
- D, [2010-07-06T17:05:38.173601 #23679] DEBUG -- : 23679 stomp.rb:49:in `connect': Connecting to 192.168.1.5:6163
- D, [2010-07-06T17:05:38.183889 #23679] DEBUG -- : 23679 agents.rb:17:in `loadagents': Reloading all agents from disk
- D, [2010-07-06T17:05:38.184116 #23679] DEBUG -- : 23679 pluginmanager.rb:73:in `[]': Returning plugin connector_plugin with class MCollective::Connector::Stomp
- D, [2010-07-06T17:05:38.184608 #23679] DEBUG -- : 23679 pluginmanager.rb:83:in `loadclass': Loading MCollective::Agent::Service from mcollective/agent/service.rb
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement