Commit graph

95 commits

Author SHA1 Message Date
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
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
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
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
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
1927d0377e Added a hostgroup defined type. 2014-07-20 20:40:22 -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
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
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
441216a3c4 Added parameters to specify the target file's owner, group and mode. 2014-07-10 19:44:49 -07:00
Nick Chappell
8054821d60 Merge branch 'feature/object_defined_types' into develop 2014-07-09 22:21:13 -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
125f29a811 Added the package to Ubuntu 12.04 and 14.04 that contains the NRPE plugin, check_nrpe. 2014-07-08 18:53:34 -07:00
Nick Chappell
33ff28b86d Add parameters for Nagios plugin pacakges and install them with a package resource in the icinga2::server::packages class so we can get the Nagios plugin packages Icinga 2 servers. 2014-07-05 22:00:20 -07:00
Nick Chappell
5ce282fdc8 Added an empty class file for icinga2::objects so that we can keep all of the object types in their own subclass and directory hierarchy. 2014-07-05 18:12:36 -07:00
Nick Chappell
70e0f29dfc Added directories for template, constant and apply objects. 2014-07-05 18:10:37 -07:00
Nick Chappell
98022e2910 Add directory resources for /etc/icinga2/objects and subdirectories underneath it for each object type outlined on: http://docs.icinga.org/icinga2/latest/doc/module/icinga2/toc#icinga2#object-types. 2014-07-05 16:35:16 -07:00
Nick Chappell
d354aaffcd Added parameters for /etc/icinga2/objects/ and its subfolders. 2014-07-05 16:33:10 -07:00
Nick Chappell
9c83a449e0 Added a subsection for server service parameters and case statement to pick the Icinga 2 daemon name based on the OS; added a service resource for the Icinga 2 daemon; uncommented the squiggly arrows so the icinga2::server::service class gets applied. 2014-07-05 15:58:05 -07:00
Nick Chappell
995f4877a7 Added a subsection for server service parameters. 2014-07-05 15:56:55 -07:00
Nick Chappell
616784a032 Added a directory resource for /etc/icinga2/zones.d/. 2014-07-05 15:49:28 -07:00
Nick Chappell
5d5209883e Added a directory resource for /etc/icinga2/scripts/. 2014-07-05 15:48:49 -07:00
Nick Chappell
01bab8b187 Added a directory resource for /etc/icinga2/pki/. 2014-07-05 15:47:37 -07:00
Nick Chappell
414849941d Added a directory resource for /etc/icinga2/features-enabled. 2014-07-05 15:47:04 -07:00
Nick Chappell
6489063193 Added a file resource for /etc/icinga2/features-available/. 2014-07-05 15:43:00 -07:00
Nick Chappell
42af2a2f95 Added a file resource for /etc/icinga2/conf.d/. 2014-07-05 15:41:47 -07:00
Nick Chappell
5a6e78d47d Added a file resource for /etc/icinga2/icinga2.conf. 2014-07-05 15:36:56 -07:00
Nick Chappell
82a3cf983c Added a directory resource for /etc/icinga2/. 2014-07-05 15:24:13 -07:00
Nick Chappell
d4f6484702 Uncomment chaining arrows so that we apply the icinga2::server::config class after the icinga2::server::install class. 2014-07-05 15:23:54 -07:00
Nick Chappell
061fffb235 Added parameters that will get used in directory resources for /etc/icinga2/pki/ and /etc/icinga2/scripts/. 2014-07-05 15:17:37 -07:00