Commit graph

164 commits

Author SHA1 Message Date
Steven Bambling
e4ec0c03a8 removing timeperiod_ from non specifc params
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/37

refs#7217: https://dev.icinga.org/issues/7217
2014-11-11 21:22:54 -08:00
Steven Bambling
9180f9a17e removing timeperiod_ from target/dir/file and mode
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/37

refs#7217: https://dev.icinga.org/issues/7217
2014-11-11 21:22:48 -08:00
Steven Bambling
ae65c9766b updating erb to use timeperiod methods
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/37

refs#7217: https://dev.icinga.org/issues/7217
2014-11-11 21:22:00 -08:00
Steven Bambling
52f0d25836 adding methods attribute and allowing settable import template
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/37

refs#7217: https://dev.icinga.org/issues/7217
2014-11-11 21:21:07 -08:00
Steven Bambling
12bd1a9f44 adding define and template to generate timeperiods
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/37

refs#7217: https://dev.icinga.org/issues/7217
2014-11-11 21:20:42 -08:00
Ricardo Melo
d02eae3b5b * Applied comments made by nickchappell. Fixed identation and few typos on README.md. Tabularize define parameters.
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/36

refs#7216: https://dev.icinga.org/issues/7216
2014-11-11 21:10:51 -08:00
Ricardo Melo
09db5bba18 Adding notification object. #2716
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged from: https://github.com/Icinga/puppet-icinga2/pull/36

refs#7216: https://dev.icinga.org/issues/7216
2014-11-11 21:10:37 -08:00
Ricardo Melo
4dfe6fa664 added default value to arguments, env and vars and moved check to the template.
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from: https://github.com/Icinga/puppet-icinga2/pull/33

refs#7215: https://dev.icinga.org/issues/7215
2014-11-01 21:39:10 -07:00
Ricardo Melo
6af3b7b9ae * fixed typos, changed default values and changed parameters validation.
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from: https://github.com/Icinga/puppet-icinga2/pull/33

refs#7215: https://dev.icinga.org/issues/7215
2014-11-01 21:39:10 -07:00
Ricardo Melo
f9a4feb746 Add a EventCommand object defined type, refs#7215
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from: https://github.com/Icinga/puppet-icinga2/pull/33

refs#7215: https://dev.icinga.org/issues/7215
2014-11-01 21:38:59 -07:00
Ricardo Melo
d55c055682 added default value to arguments, env and vars and moved check to the template.
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from: https://github.com/Icinga/puppet-icinga2/pull/32

refs#7228: https://dev.icinga.org/issues/7228
2014-11-01 21:19:06 -07:00
Ricardo Melo
abe26cb9e3 * fixed validation
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from: https://github.com/Icinga/puppet-icinga2/pull/32

refs#7228: https://dev.icinga.org/issues/7228
2014-11-01 21:18:53 -07:00
Ricardo Melo
537735a486 * fixed typos and mistakes. thanks nickchappell.
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from: https://github.com/Icinga/puppet-icinga2/pull/32

refs#7228: https://dev.icinga.org/issues/7228
2014-11-01 21:18:43 -07:00
Ricardo Melo
f0415a6c5a + Adding notificationcommand object
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from: https://github.com/Icinga/puppet-icinga2/pull/32

refs#7228: https://dev.icinga.org/issues/7228
2014-11-01 21:17:16 -07:00
Nick Chappell
cf5c8e99bc Update the path for the target directory so it matches the target directories of the other object types. 2014-10-18 19:48:27 -07:00
Ricardo Melo
f1b88abebf * fixed #7213
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from Github PR29: https://github.com/Icinga/puppet-icinga2/pull/29

refs#7213: https://dev.icinga.org/issues/7213
2014-10-18 19:42:08 -07:00
Ricardo Melo
42e6186709 added new file
Signed-off-by: Nick Chappell <nick@intronic.org>

Merged in from Github PR29: https://github.com/Icinga/puppet-icinga2/pull/29

refs#7213: https://dev.icinga.org/issues/7213
2014-10-18 19:41:25 -07:00
Melanie Gault
80c87b0ad1 add dependency and apply dependency objects
Signed-off-by: Nick Chappell <nick@intronic.org>

Icinga refs#7219: https://dev.icinga.org/issues/7219
2014-10-14 21:52:18 -07:00
Nick Chappell
28961d8fce Comments in the icinga2::object::graphitewriter manifest. 2014-10-09 23:43:02 -07:00
Steven Bambling
2e8770f9cb feature to create/add graphitewriter configurtion
Signed-off-by: Nick Chappell <nick@intronic.org>

Taken from: https://github.com/Icinga/puppet-icinga2/pull/24
2014-10-02 21:02:01 -07:00
Steven Bambling
d76a47706a setting 4 digit octal
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-09-28 20:12:09 -07:00
Steven Bambling
9bc44f6b26 setting 4 digit octal
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-09-28 20:12:09 -07:00
Steven Bambling
447a27a6ea style guide fixes
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-09-28 20:12:09 -07:00
Steven Bambling
fb75630a5c style guide fixes
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-09-28 20:12:09 -07:00
Steven Bambling
1154197843 style guide fixes
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-09-28 20:12:09 -07:00
Steven Bambling
bf683d719e style guide fixes
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-09-28 20:12:09 -07:00
Steven Bambling
5896e2b72a style guide fixes
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-09-28 20:12:08 -07:00
Steven Bambling
8e5b816eae style guide fixes
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-09-28 20:12:08 -07:00
Steven Bambling
670a0f7b46 style guide fixes
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-09-28 20:12:08 -07:00
Steven Bambling
eefd533fb6 style guide fixes
Signed-off-by: Nick Chappell <nick@intronic.org>
2014-09-28 20:12:08 -07:00
Nick Chappell
6d0b759fa6 Added a SyslogLogger object, accompanying ERB template and README additions.
refs#7234: https://dev.icinga.org/issues/7234
2014-09-15 21:07:42 -07:00
Nick Chappell
cc57f33ac1 Whitespace cleanup. 2014-09-13 19:46:24 -07:00
Nick Chappell
52da440fa5 Added a servicegroup object defined type. 2014-09-07 16:31:03 -07:00
Nick Chappell
200645b4cc Added validation to the icinga2::object::usergroup class' parameters. 2014-09-06 18:50:27 -07:00
Nick Chappell
b83450af91 Added validation to the icinga2::object::user class' parameters. 2014-09-06 18:50:21 -07:00
Nick Chappell
c8230124ef Added validation to the icinga2::object::service class' parameters. 2014-09-06 18:50:13 -07:00
Nick Chappell
1af2287ea7 Added validation to the icinga2::object::idopgsqlconnection class' parameters. 2014-09-06 18:44:34 -07:00
Nick Chappell
db735934b5 Added validation to the icinga2::object::idomysqlconnection class' parameters. 2014-09-06 18:44:26 -07:00
Nick Chappell
ddc3395113 Added validation to the icinga2::object::hostgroup class' parameters. 2014-09-06 18:44:12 -07:00
Nick Chappell
ee68d95053 Added validation to the icinga2::object::host class' parameters. 2014-09-06 18:44:05 -07:00
Nick Chappell
4e1cec7439 Added validation to the icinga2::object::apply_service_to_host class' parameters. 2014-09-06 18:43:50 -07:00
Nick Chappell
fe21de08f0 Remove duplicate enable_notifications parameter that was added. 2014-08-24 18:14:50 -07:00
Nick Chappell
9ec7f5ca9c Name user object files after the defined type instance's name instead of the FQDN of the machine. 2014-08-24 17:59:58 -07:00
Nick Chappell
2c6d82895c Added an enable_notifications parameter to the user object defined type. 2014-08-24 17:48:28 -07:00
Nick Chappell
7a21694ab2 Added a usergroup defined type and accompanying ERB tempalte. 2014-08-24 17:25:42 -07:00
Nick Chappell
3596f236ce Whitespace cleanup. 2014-08-23 17:39:36 -07:00
Nick Chappell
552072ec3b Added a defined type for Postgres IDO connection object definitions. 2014-08-22 22:26:42 -07:00
Nick Chappell
15e9555f64 Added a defined type for MySQL IDO connection object definitions. 2014-08-22 18:29:46 -07:00
Nick Chappell
d5fa1e655a Added a states parameter to the user object and rendering of it to the ERB template. 2014-08-03 19:16:58 -07:00
Nick Chappell
6ad25eee99 Added a types parameter to the user object and rendering of it to the ERB template. 2014-08-03 19:15:57 -07:00
Nick Chappell
086a300b1f Added a period parameter to the user object and rendering of it to the ERB template. 2014-08-03 19:14:02 -07:00
Nick Chappell
92e7a4f5e7 Added an enable_notifications parameter to the user object and rendering of it to the ERB template. 2014-08-03 18:27:46 -07:00
Nick Chappell
7b5f7a994f Added a groups parameter to the user object and rendering of it to the ERB template. 2014-08-03 18:26:36 -07:00
Nick Chappell
f9193d14f7 Added a vars parameter to the user object and rendering of it to the ERB template. 2014-08-03 18:24:26 -07:00
Nick Chappell
89b3e25e9a Added a pager parameter to the user object and rendering of it to the ERB template. 2014-08-03 18:23:28 -07:00
Nick Chappell
d5173611f4 Added an email parameter to the user object and rendering of it to the ERB template. 2014-08-03 18:20:29 -07:00
Nick Chappell
341f66433e Added a display_name parameter to the user object and rendering of it to the ERB template. 2014-08-02 22:28:34 -07:00
Nick Chappell
90ffb35e20 Added an object_username parameter. 2014-08-02 22:03:38 -07:00
Nick Chappell
ae0ca7e7f5 Added a skeleton user object and accompanying ERB template. 2014-08-02 22:01:15 -07:00
Nick Chappell
2b766285b2 Added an object defined type for applying services to hosts; also included an ERB template to render the object files. 2014-07-30 22:34:55 -07:00
Nick Chappell
06cd9ece88 Added a parameter and default value for the ignore_where parameter; added it to the service object ERB template. 2014-07-29 17:21:10 -07:00
Nick Chappell
e498643750 Remove trailing whitespace. 2014-07-29 08:33:32 -07:00
Nick Chappell
5f614ce97d Added a parameter and default value for the icon_image_alt parameter; added it to the service object ERB template. 2014-07-28 21:06:28 -07:00
Nick Chappell
90f256fea0 Added a parameter and default value for the icon_image parameter; added it to the service object ERB template. 2014-07-28 21:05:39 -07:00
Nick Chappell
81c52e9862 Added a parameter and default value for the action_url parameter; added it to the service object ERB template. 2014-07-28 21:04:54 -07:00
Nick Chappell
c9e90c6ff0 Added a parameter and default value for the notes_url parameter; added it to the service object ERB template. 2014-07-28 21:02:39 -07:00
Nick Chappell
65bd120e0d Added a parameter and default value for the notes parameter; added it to the service object ERB template. 2014-07-28 21:02:00 -07:00
Nick Chappell
40a6e5fb46 Added a parameter and default value for the volatile parameter; added it to the service object ERB template. 2014-07-28 20:57:43 -07:00
Nick Chappell
273b488c22 Added a parameter and default value for the flapping_threshold parameter; added it to the service object ERB template. 2014-07-28 20:52:23 -07:00
Nick Chappell
c715924797 Added a parameter and default value for the event_command parameter; added it to the service object ERB template. 2014-07-28 20:51:40 -07:00
Nick Chappell
d47a3ddee5 Added a parameter and default value for the enable_perfdata parameter; added it to the service object ERB template. 2014-07-28 20:50:07 -07:00
Nick Chappell
9bddcc25a0 Added a parameter and default value for the enable_flap_detection parameter; added it to the service object ERB template. 2014-07-28 20:49:27 -07:00
Nick Chappell
a22add7d56 Added a parameter and default value for the enable_event_handler parameter; added it to the service object ERB template. 2014-07-28 20:47:45 -07:00
Nick Chappell
31936ee5e7 Added a parameter and default value for the enable_passive_checks parameter; added it to the service object ERB template. 2014-07-28 20:46:44 -07:00
Nick Chappell
4b4079f7e8 Added a parameter and default value for the enable_active_checks parameter; added it to the service object ERB template. 2014-07-28 20:45:53 -07:00
Nick Chappell
91f67557eb Added a parameter and default value for the enable_notifications parameter; added it to the service object ERB template. 2014-07-28 20:43:38 -07:00
Nick Chappell
a1aa063e42 Added a parameter and default value for the retry_interval parameter; added it to the service object ERB template. 2014-07-28 20:42:53 -07:00
Nick Chappell
f2c44a9e1b Added a parameter and default value for the check_interval parameter; added it to the service object ERB template. 2014-07-28 20:42:05 -07:00
Nick Chappell
83bea379db Added a parameter and default value for the check_period parameter; added it to the service object ERB template. 2014-07-28 20:38:12 -07:00
Nick Chappell
b5251ef8c6 Added a parameter and default value for the max_check_attempts parameter; added it to the service object ERB template. 2014-07-28 20:37:03 -07:00
Nick Chappell
022abb8cdf Added a parameter and default value for the check_command parameter; added it to the service object ERB template. 2014-07-28 19:30:55 -07:00
Nick Chappell
948b5b68aa Added a parameter and default value for the vars parameter; added it to the service object ERB template. 2014-07-28 19:26:39 -07:00
Nick Chappell
90d22283aa Added a parameter and default value for the groups parameter; added it to the service object ERB template. 2014-07-28 19:24:39 -07:00
Nick Chappell
a66de2fe38 Removing the name parameter from the lists of parameters to add since it's part of the template and defined type already. 2014-07-28 19:23:48 -07:00
Nick Chappell
ec0a3b1bd5 Added a parameter and default value for the host_name parameter; added it to the service object ERB template. 2014-07-28 19:22:00 -07:00
Nick Chappell
3b931c2068 Added a parameter and default value for the display_name parameter; added it to the service object ERB template. 2014-07-28 19:17:11 -07:00
Nick Chappell
2419d0d58f Added a parameter for a template that can be imported; added it to the service object ERB template. 2014-07-28 19:15:10 -07:00
Nick Chappell
e0de7f8c45 Added an object_servicename parameter; this isn't part of the service object spec on the Icinga 2 docs, but I use it internally in the template. 2014-07-28 19:12:32 -07:00
Nick Chappell
99465d00b7 Added a list of parameters that need to be added to the service object defined type manifest. 2014-07-28 19:07:50 -07:00
Nick Chappell
b592b93b58 Added file parameters and default values for the service object defined type. 2014-07-28 18:59:09 -07:00
Nick Chappell
b6c832524b Added a skeleton defined type for service objects. 2014-07-28 18:57:07 -07:00
Nick Chappell
9ce8678b7b Added more header comments. 2014-07-28 18:49:09 -07:00
Nick Chappell
d9695544ad Added an icon_image_alt parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:19:21 -07:00
Nick Chappell
e16704399e Added an icon_image parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:18:38 -07:00
Nick Chappell
3e84b13e5b Added an action_url parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:18:01 -07:00
Nick Chappell
a99d56aab2 Added a notes_url parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:16:05 -07:00
Nick Chappell
b366738fd9 Added a notes parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:15:01 -07:00
Nick Chappell
16a558c534 Added a volatile parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:14:20 -07:00
Nick Chappell
6809afc9b9 Added a flapping_threshold parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:12:29 -07:00
Nick Chappell
7942e8a3b7 Added an event_command parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:10:25 -07:00