Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Define recursive directory that sync's custom plugins
- file { "/usr/local/share/munin-plugins" :
- ensure => directory,
- source => "puppet:///files/apps/munin/plugins",
- recurse => "true",
- mode => 755,
- }
- #These plugins work fine
- munin::plugin { "mysql_bytes": }
- munin::plugin { "mysql_queries": }
- munin::plugin { "mysql_slowqueries": }
- munin::plugin { "mysql_threads": }
- munin::plugin { "mysql_slave_delay": }
- #This set fails whether defined singularly or in this giant {}
- munin::plugin {
- mysql_bin_relay_log: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_commands: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_connections: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_files_tables: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_innodb_bpool: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_innodb_bpool_act: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_innodb_insert_buf: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_innodb_io: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_innodb_io_pend: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_innodb_log: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_innodb_rows: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_innodb_semaphores: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_innodb_tnx: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_myisam_indexes: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_network_traffic: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_qcache: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_qcache_mem: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_replication: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_select_types: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_slow: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_sorts: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_table_locks: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/";
- mysql_tmp_tables: ensure => "mysql_", script_path => "/usr/local/share/munin-plugins/"; }
- #Puppet output:
- [root@gnshard2a ~]# puppetd -tv
- info: Loading fact vlan3002_address
- info: Loading fact network_address
- notice: Ignoring --listen on onetime run
- info: Retrieving facts
- info: Loading fact vlan3002_address
- info: Loading fact network_address
- err: Could not retrieve catalog: Invalid parameter 'script_path' for type 'Munin::Plugin' at /etc/puppet/manifests/classes/mysql_server.pp:65 on node gnshard2a.gaggle.net
- warning: Not using cache on failed catalog
Add Comment
Please, Sign In to add comment