Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.29 KB | None | 0 0
  1. [root@puppet ~]# lsb_release -a
  2. 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
  3. Distributor ID: CentOS
  4. Description: CentOS release 5.5 (Final)
  5. Release: 5.5
  6. Codename: Final
  7. [root@puppet ~]# rpm -qa | grep activemq
  8. activemq-5.3.0-1.el5
  9. activemq-info-provider-5.3.0-1.el5
  10. [root@puppet ~]# rpm -qa | grep mcollective
  11. mcollective-0.4.4-1.el5
  12. mcollective-client-0.4.4-1.el5
  13. mcollective-common-0.4.4-1.el5
  14. [root@puppet ~]#
  15. [root@puppet ~]# cat /etc/mcollective/server.cfg
  16. topicprefix = /topic/mcollective
  17. libdir = /usr/libexec/mcollective
  18. logfile = /var/log/mcollective.log
  19. loglevel = debug
  20. daemonize = 1
  21.  
  22. # Plugins
  23. securityprovider = psk
  24. plugin.psk = panchalicksodie
  25.  
  26. connector = stomp
  27. plugin.stomp.host = 192.168.1.5
  28. plugin.stomp.port = 6163
  29. plugin.stomp.user = mcollective
  30. plugin.stomp.password = marionette
  31.  
  32. # Facts
  33. factsource = yaml
  34. plugin.yaml = /etc/mcollective/facts.yaml
  35.  
  36. plugin.service.hasstatus
  37. plugin.service.hasrestart = true
  38. [root@puppet ~]# ls -l /usr/libexec/mcollective/mcollective/agent/
  39. total 16
  40. -rw-r--r-- 1 root root 2087 Apr 3 09:41 discovery.rb
  41. -rw-r--r-- 1 root root 2528 Jul 6 16:29 mc-service
  42. -rw-r--r-- 1 root root 1390 Jul 6 16:29 service.ddl
  43. -rw-r--r-- 1 root root 2982 Jul 6 16:29 service.rb
  44. [root@puppet ~]# tail -n 20 /var/log/mcollective.log
  45. D, [2010-07-06T17:02:26.230222 #23654] DEBUG -- : 23654 pluginmanager.rb:73:in `[]': Returning plugin security_plugin with class MCollective::Security::Psk
  46. D, [2010-07-06T17:02:26.230532 #23654] DEBUG -- : 23654 stomp.rb:49:in `connect': Connecting to 192.168.1.5:6163
  47. D, [2010-07-06T17:02:26.252403 #23654] DEBUG -- : 23654 agents.rb:17:in `loadagents': Reloading all agents from disk
  48. D, [2010-07-06T17:02:26.252622 #23654] DEBUG -- : 23654 pluginmanager.rb:73:in `[]': Returning plugin connector_plugin with class MCollective::Connector::Stomp
  49. D, [2010-07-06T17:02:26.252945 #23654] DEBUG -- : 23654 pluginmanager.rb:83:in `loadclass': Loading MCollective::Agent::Service from mcollective/agent/service.rb
  50. D, [2010-07-06T17:05:38.102043 #23676] DEBUG -- : 23676 pluginmanager.rb:83:in `loadclass': Loading Mcollective::Facts::Yaml from mcollective/facts/yaml.rb
  51. D, [2010-07-06T17:05:38.112798 #23676] DEBUG -- : 23676 pluginmanager.rb:36:in `<<': Registering plugin facts_plugin with class MCollective::Facts::Yaml
  52. D, [2010-07-06T17:05:38.114967 #23676] DEBUG -- : 23676 pluginmanager.rb:83:in `loadclass': Loading Mcollective::Connector::Stomp from mcollective/connector/stomp.rb
  53. D, [2010-07-06T17:05:38.131078 #23676] DEBUG -- : 23676 pluginmanager.rb:36:in `<<': Registering plugin connector_plugin with class MCollective::Connector::Stomp
  54. D, [2010-07-06T17:05:38.136279 #23676] DEBUG -- : 23676 pluginmanager.rb:83:in `loadclass': Loading Mcollective::Security::Psk from mcollective/security/psk.rb
  55. D, [2010-07-06T17:05:38.145124 #23676] DEBUG -- : 23676 pluginmanager.rb:36:in `<<': Registering plugin security_plugin with class MCollective::Security::Psk
  56. D, [2010-07-06T17:05:38.152351 #23676] DEBUG -- : 23676 pluginmanager.rb:83:in `loadclass': Loading Mcollective::Registration::Agentlist from mcollective/registration/agentlist.rb
  57. D, [2010-07-06T17:05:38.161171 #23676] DEBUG -- : 23676 pluginmanager.rb:36:in `<<': Registering plugin registration_plugin with class MCollective::Registration::Agentlist
  58. D, [2010-07-06T17:05:38.163827 #23676] DEBUG -- : 23676 mcollectived:39: Starting in the background (true)
  59. D, [2010-07-06T17:05:38.172837 #23679] DEBUG -- : 23679 pluginmanager.rb:73:in `[]': Returning plugin connector_plugin with class MCollective::Connector::Stomp
  60. D, [2010-07-06T17:05:38.173317 #23679] DEBUG -- : 23679 pluginmanager.rb:73:in `[]': Returning plugin security_plugin with class MCollective::Security::Psk
  61. D, [2010-07-06T17:05:38.173601 #23679] DEBUG -- : 23679 stomp.rb:49:in `connect': Connecting to 192.168.1.5:6163
  62. D, [2010-07-06T17:05:38.183889 #23679] DEBUG -- : 23679 agents.rb:17:in `loadagents': Reloading all agents from disk
  63. D, [2010-07-06T17:05:38.184116 #23679] DEBUG -- : 23679 pluginmanager.rb:73:in `[]': Returning plugin connector_plugin with class MCollective::Connector::Stomp
  64. 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