example42 / psick

Puppet Systems Infrastructure Construction Kit: The control-repo

Home Page:http://www.example42.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

global $monitor_tool variable takes presedence over class parameters

jskarpe opened this issue · comments

Attempting to disable nagios check for ntp nextgen module:

$monitor_tool = ["nagios", "monit", "munin", "puppi"]

class {
    'ntp' :
        server => ['pool.ntp.org'],
        puppi => true,
        monitor => true,
        monitor_tool => ["monit", "munin", "puppi"],
}

Here Nagios is still enabled for ntp

Are you sure?
Note that changes on Nagios (as everything driven by storedconfigs) are applied AFTER a run on the target node and a subsequent run on the Nagios Server.