Commit graph

292 commits

Author SHA1 Message Date
Nick Chappell
4dedb8bdea Merge branch 'feature/object_defined_types' into develop
Merging in so that we get the completed host object defined type added.
2014-07-26 21:20:31 -07:00
Nick Chappell
9139c8fc23 Get rid of the needed parameters list since we have all of them in the template now. 2014-07-26 21:20:15 -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
Nick Chappell
8012897f6b Added an enable_perfdata parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 21:08:09 -07:00
Nick Chappell
6981ccf12d Added an enable_flap_detection parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:53:07 -07:00
Nick Chappell
3f1b1847be Added an enable_event_handler parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:50:26 -07:00
Nick Chappell
55c81ab2a1 Added an enable_passive_checks parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:47:24 -07:00
Nick Chappell
5c5d88eee6 Added an enable_active_checks parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:45:48 -07:00
Nick Chappell
ad45f44542 Added an enable_notifications parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:41:31 -07:00
Nick Chappell
8c9efdf291 Added a section explaining what happens with undef values. 2014-07-26 20:38:13 -07:00
Nick Chappell
6c87a47844 Added a header for the exported resources section. 2014-07-26 20:37:44 -07:00
Nick Chappell
6ecbc1c942 Removed quotes because the max_check_attempts, check_interval and retry_interval values aren't supposed to be quoted. 2014-07-26 20:28:30 -07:00
Nick Chappell
f28dcf90a6 Added a retry_interval parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:19:41 -07:00
Nick Chappell
ca7438d798 Added a check_interval parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:16:56 -07:00
Nick Chappell
b9a64802f8 Added a check_period parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 20:15:55 -07:00
Nick Chappell
211208fcdf Fix typos so that the variable names match. 2014-07-26 20:15:04 -07:00
Nick Chappell
7b51e2d4f2 Added a max_check_attempts parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 19:10:44 -07:00
Nick Chappell
07e7fb9567 Added a note about how to use the object defined types as exported resources; included some examples. 2014-07-26 19:10:03 -07:00
Nick Chappell
6dad69c02a Added a check_command parameter and redering of it in the host object ERB template; removed it from the lists of needed parameters. 2014-07-26 18:59:25 -07:00
Nick Chappell
63b6869428 Removed groups from the list of needed parameters in the host ERB template since the groups variable is already getting rendered. 2014-07-26 18:41:55 -07:00
Nick Chappell
04ceee6270 Added rendering of vars; removed it from the list of parameters that need to be added. 2014-07-26 18:41:27 -07:00
Nick Chappell
f5a9300606 Added a note about IPv6 addresses in host object defined types. 2014-07-26 18:27:29 -07:00
Nick Chappell
f70ef5135e Added a subsection for the icinga2::object::host defined type's usage. 2014-07-26 18:27:04 -07:00
Nick Chappell
97c2ce350b Added a subsection for object defined type usage. 2014-07-26 18:26:35 -07:00
Nick Chappell
9436c5b686 Added rendering of the address6 value, if the parameter for an IPv6 address is set. 2014-07-26 18:21:38 -07:00
Nick Chappell
c5d1b96fdf Changed default value of the IPv6 address parameter to undef so that we don't get address6 set in a host definition to an IPv4 address that facter returns. 2014-07-26 18:20:59 -07:00
Nick Chappell
cf3c05ddc9 Removed 2 parameters from the comment list that are already added. 2014-07-26 18:07:36 -07:00
Nick Chappell
999964f09a Added a list of parameters that still need to be added to the ::object::host class as comments. 2014-07-26 18:06:28 -07:00
Nick Chappell
e099b9c1d3 Renamed the objects file and directory. 2014-07-26 17:08:47 -07:00
Nick Chappell
bf8cde0053 Renamed objects:: class to object:: since each defined type is for a single object type. 2014-07-26 17:07:03 -07:00
Nick Chappell
456b112134 Updated comments in the host definition ERB template. 2014-07-24 10:28:41 -07:00
Nick Chappell
6962a11a86 Merge branch 'feature/object_defined_types' into develop 2014-07-20 20:40:31 -07:00
Nick Chappell
1927d0377e Added a hostgroup defined type. 2014-07-20 20:40:22 -07:00
Nick Chappell
211bea4877 Merge branch 'develop' into feature/object_defined_types
Merging in develop so that we can get the icinga2::client --> icinga2::nrpe class rename and the parameter to control whether or not the plugins packages get installed via the icinga2::server class.
2014-07-20 19:43:14 -07:00
Nick Chappell
c869877158 Merge branch 'refactor/rename_client_to_nrpe' into develop 2014-07-20 19:37:55 -07:00
Nick Chappell
bdf994929f Deleted the duplicate client.pp and client/ directories. 2014-07-20 17:37:57 -07:00
Nick Chappell
f4e07050fc Renamed the icinga2::client class to icinga2::nrpe; this is mainly to accomodate other potential tyes of clients in the future, like NSCA or the Icinga 2 agent. 2014-07-20 17:35:20 -07:00
Nick Chappell
8d10c5c871 Merge branch 'develop' into refactor/rename_client_to_nrpe
Merge the develop branch in so we can get the parameter that allows us to not install the plugin packages via the ::server class.
2014-07-20 17:23:11 -07:00
Nick Chappell
2430995a0b Merge branch 'fix/duplicate_plugin_package_resources' into develop 2014-07-20 17:11:20 -07:00
Nick Chappell
3231bcb2a8 Added notes in the README about how to stop the icinga2::server class from installing the plugins packages. 2014-07-20 17:10:58 -07:00
Nick Chappell
4d5c93d32a Wrapped the server plugin install in an if statement so that installing the plugins packages depends on the parameter being set to true. 2014-07-20 17:05:11 -07:00
Nick Chappell
507fc377ff Added a parameter for picking whether to install the Nagios plugins packages on nodes with the icinga2::server class applied. 2014-07-20 17:04:25 -07:00
Nick Chappell
8e873c51d4 Add rendering of the groups = [] parameter into the host object ERB template. 2014-07-10 21:57:46 -07:00