Commit graph

142 commits

Author SHA1 Message Date
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
a165864121 Added a list of parameters that need to be added to the service object file template. 2014-07-28 19:08:03 -07:00
Nick Chappell
3a45597b79 Added a bare template for service objects. 2014-07-28 18:57:21 -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
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
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
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
cf3c05ddc9 Removed 2 parameters from the comment list that are already added. 2014-07-26 18:07:36 -07:00
Nick Chappell
1927d0377e Added a hostgroup defined type. 2014-07-20 20:40:22 -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
8e873c51d4 Add rendering of the groups = [] parameter into the host object ERB template. 2014-07-10 21:57:46 -07:00
Nick Chappell
a8640bef22 Added an array for a groups parameter and a hash for a vars parameter. 2014-07-10 21:04:51 -07:00
Nick Chappell
0437d4d69a Added a basic defined type for Icinga 2 host objects; added an accompanying template.
This is really basic now. I'll add more parameters to it later on.
2014-07-09 22:20:08 -07:00
Nick Chappell
e20a06194c Add the objects/ directory as one to recursively include when looking for ojbect definitions. 2014-07-05 16:34:12 -07:00
Nick Chappell
27ba602386 Added a template for /etc/icinga2/icinga2.conf. 2014-07-05 15:07:09 -07:00
Nick Chappell
cca69e86fa Added a template for NRPE command definitions. 2014-07-05 13:50:57 -07:00
Nick Chappell
e0e6d48018 Added a template for nrpe.cfg. 2014-07-05 13:50:38 -07:00