removed jenkins check command from base commands, as that has been outsourced to the jenkins module
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
|Repo Name| version | Build Status|
|
|Repo Name| version | Build Status|
|
||||||
|---|---|---|---|
|
|---|---|---|---|
|
||||||
|`cd_nagios`| 0.0.1.6 | [](https://jenkins.confdroid.com/job/cd_nagios/)|
|
|`cd_nagios`| 0.0.1.7 | [](https://jenkins.confdroid.com/job/cd_nagios/)|
|
||||||
|
|
||||||
### Synopsis
|
### Synopsis
|
||||||
Nagios is a powerful open source software solution for monitoring your IT environments.
|
Nagios is a powerful open source software solution for monitoring your IT environments.
|
||||||
@@ -147,11 +147,11 @@ by Default, Nagios creates its own nagios.conf file, which is not a vhost file a
|
|||||||
In order to monitor clients, NAGIOS must be able to connect to them. There are multiple ways of doing so, the most common ones being NRPE and SSH.
|
In order to monitor clients, NAGIOS must be able to connect to them. There are multiple ways of doing so, the most common ones being NRPE and SSH.
|
||||||
So far this module works through the usage of NRPE, which by default is enabled. Class cd_nagios::client::nrpe configures nrpe.cfg and opens the required firewall port on clients (optional,default).
|
So far this module works through the usage of NRPE, which by default is enabled. Class cd_nagios::client::nrpe configures nrpe.cfg and opens the required firewall port on clients (optional,default).
|
||||||
|
|
||||||
|
### Manage Additional Resources
|
||||||
### Manage additional resources
|
|
||||||
|
|
||||||
### Known Problems
|
### Known Problems
|
||||||
|
|
||||||
|
|
||||||
### Support
|
### Support
|
||||||
* OS: CentOS 6, 7
|
* OS: CentOS 6, 7
|
||||||
* Puppet 3.x
|
* Puppet 3.x
|
||||||
|
|||||||
@@ -55,10 +55,5 @@ class cd_nagios::nagios::objects::add_servicegroup_rules (
|
|||||||
content => template($ng_tgt_svcgrp_head_erb),
|
content => template($ng_tgt_svcgrp_head_erb),
|
||||||
order => '000',
|
order => '000',
|
||||||
}
|
}
|
||||||
|
|
||||||
cd_nagios::nagios::objects::add_servicegroups { 'example_servicegroup':
|
|
||||||
ng_servicegroup_name => 'example_servicegroup',
|
|
||||||
ng_servicegroup_alias => 'Example Servicegroup',
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -207,17 +207,6 @@ class cd_nagios::nagios::objects::commands (
|
|||||||
target => $ng_target_command,
|
target => $ng_target_command,
|
||||||
}
|
}
|
||||||
|
|
||||||
@@nagios_command { 'check_jenkins_api':
|
|
||||||
ensure => present,
|
|
||||||
command_name => 'check_jenkins_api',
|
|
||||||
command_line => '$USER1$/check_http -H $HOSTADDRESS$ -u /api/xml?depth=0 -R quietingDown.false $ARG1$ $ARG2$',
|
|
||||||
owner => 'nagios',
|
|
||||||
group => 'nagios',
|
|
||||||
mode => '0640',
|
|
||||||
target => $ng_target_command,
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@@nagios_command { 'process-service-perfdata-file':
|
@@nagios_command { 'process-service-perfdata-file':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
command_name => 'process-service-perfdata-file',
|
command_name => 'process-service-perfdata-file',
|
||||||
|
|||||||
Reference in New Issue
Block a user