Commit graph

132 commits

Author SHA1 Message Date
Nick Chappell
928b09bb90 Correct the object name in the Postgres IDO connection object ERB template. 2014-08-23 13:45:13 -07:00
Nick Chappell
8f6fa5b70d Added an ERB template to render Postgres IDO connection object definitions. 2014-08-22 22:26:58 -07:00
Nick Chappell
6ead21b5e1 Don't name the object with the @object_name variable, since IDO MySQL connection objects have to have 'mysql-ido' as the object's name. 2014-08-22 22:26:25 -07:00
Nick Chappell
742f790f7b Added an ERB template to render MySQL IDO connection object definitions. 2014-08-22 18:30:15 -07:00
melanie
b7c360ef21 object_user.conf.erb missed = on period parameter
refs #6983

Signed-off-by: Nick Chappell <nick@intronic.org>
2014-08-21 21:27:22 -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
5272c38a38 Added a closing end tag. 2014-08-02 22:07:23 -07:00
Nick Chappell
ae0ca7e7f5 Added a skeleton user object and accompanying ERB template. 2014-08-02 22:01:15 -07:00
Nick Chappell
7de5eee88c Moved the check_command block to be before the vars block, since the vars block for a service apply will usually be setting variables for the check_command. 2014-07-31 09:25:39 -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
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