Age | Commit message (Collapse) | Author |
|
|
|
fix syntax errors
See merge request !18
|
|
|
|
create a check_mk::params and start using it
See merge request !17
|
|
|
|
|
|
make file a non-virtual resource
this check_mk local plugin file resource doesn't need to be a virtual
resource, I suspect the "@" was just a typo since it doesn't seem to
be 'realize'd or used in any collectors. Also remove the tag since
it's not used anywhere.
See merge request !16
|
|
this check_mk local plugin file resource doesn't need to be a virtual
resource, I suspect the "@" was just a typo since it doesn't seem to
be 'realize'd or used in any collectors. Also remove the tag since
it's not used anywhere.
|
|
provide an example site_check_mk with basic examples to get users started
See merge request !15
|
|
|
|
|
|
[bug] create and reload nagios config if needed
We have the `inventory_only_on_changes` parameter that can
be set to `false` to run and inventory and create and
reload nagios config on every puppetrun.
This fixes the bug that `Exec[check_mk-reload]` would only run when
`/etc/nagios3/conf.d/check_mk/check_mk_objects.cfg` doesn't exist
(meaning it would run once and not after this, until the file gets
removed).
multinode|citest|unstable.bitmask.net]
- Resolves: https://leap.se/code/issues/6873
See merge request !14
|
|
We have the `inventory_only_on_changes` parameter that can
be set to `false` to run and inventory and create and
reload nagios config on every puppetrun.
This fixes the bug that `Exec[check_mk-reload]` would only run when
`/etc/nagios3/conf.d/check_mk/check_mk_objects.cfg` doesn't exist
(meaning it would run once and not after this, until the file gets
removed).
multinode|citest|unstable.bitmask.net]
- Resolves: https://leap.se/code/issues/6873
|
|
|
|
By default ($inventory_only_on_changes set to `true`) these two execs
are called only when config files changes:
- Exec['check_mk-refresh'] (which inventorizes checks by calling
`check_mk -II`)
- Exec['check_mk-reload'] (which generates the nagios config and
reloads nagios by calling `check_mk -O`)
By setting this parameter to `false` these execs will be called
on each puppetrun.
|
|
|
|
|
|
|
|
|
|
|
|
also have the hostname override the name that the key gets on the agent
The previous merge request that added support for overriding the hostname used for ssh, but it neglected to override the host key name so when you did override the hostname then ssh would use the wrong key and fail.
See merge request !10
|
|
|
|
allow setting the desired agent hostname, but default to fqdn
Sometimes the host's fqdn isn't the hostname you want it to use for ssh, allow overriding it
See merge request !9
|
|
|
|
ensure that use_ssh.mk permissions
are 644, otherwise it ends up unreadable by the nagios user
See merge request !7
|
|
are 644, otherwise it ends up unreadable by the nagios user
|
|
fix check_mk::local to use underscores
The recently introduced check_mk::local class was inconsistent in it's naming.
See merge request !6
|
|
|
|
check_mk: syntax fixes, linting, version overrides
A couple small commits to fix some syntax errors, cleanup whitespace and lint, and allow for version overrides
See merge request !4
|
|
|
|
|
|
For the distro package case, allow overriding the version for
agent and server
|
|
example:
check-mk::agent::install_local { 'check-kvm' :
ensure => present,
source => 'puppet:///modules/ganeti/check-kvm',
}
|
|
|
|
|
|
|
|
|
|
Conflicts:
manifests/agent/generate_sshkey.pp
|
|
minor linting
|
|
riseup Dec2014merge
riseup changes from the last few months, rebased to be easier to deal with.
adds:
* mrpe support (to replace nrpe)
* ps support (to replace statd)
* storing ssh keys in an alternate location
* update docs
* some bug fixes
See merge request !2
|
|
|
|
|
|
|
|
|
|
authdir/authfile
|
|
Conflicts:
manifests/agent/generate_sshkey.pp
|
|
|
|
|
|
|
|
those checks can just include it (stolen from the leap site_check_mk, seems like a good thing to have in the shared module)
|