|
| 1 | +{ |
| 2 | + |
| 3 | + "notification default template": { |
| 4 | + "prefix": "notification", |
| 5 | + "body":["- notification_object:", |
| 6 | + "\t\t-", |
| 7 | + "\tapply_to:", |
| 8 | + "\tassign_filter:", |
| 9 | + "\timports:", |
| 10 | + "\t\t-", |
| 11 | + "\tnotification_interval: \"0\"", |
| 12 | + "\tusers:", |
| 13 | + "\t\t- \"\"", |
| 14 | + "\ttypes:", |
| 15 | + "\t\t- Problem", |
| 16 | + "\t\t- Recovery" |
| 17 | + ] |
| 18 | + }, |
| 19 | + |
| 20 | + "user default template": { |
| 21 | + "prefix": "user", |
| 22 | + "body":["- user_object:", |
| 23 | + "\t\t-", |
| 24 | + "\tperiod: \"24x7\"", |
| 25 | + "\temail: \"foo.bar@foobar.de\"", |
| 26 | + "\tpager: \"SIP/foobar\"", |
| 27 | + "\timports:", |
| 28 | + "\t\t-" |
| 29 | + ] |
| 30 | + }, |
| 31 | + |
| 32 | + "host_template default template": { |
| 33 | + "prefix": "hosttemp", |
| 34 | + "body":["- host_template_object:", |
| 35 | + "\t\t- \"\"", |
| 36 | + "\timports:", |
| 37 | + "\t\t-", |
| 38 | + "\tvars:" |
| 39 | + ] |
| 40 | + }, |
| 41 | + |
| 42 | + "host_group default template": { |
| 43 | + "prefix": "hostgroup", |
| 44 | + "body":["- hostgroup_object:", |
| 45 | + "\t\t- \"\"" |
| 46 | + ] |
| 47 | + }, |
| 48 | + |
| 49 | + "host default template": { |
| 50 | + "prefix": "host", |
| 51 | + "body":["- host_object:", |
| 52 | + "\t\t- \"\"", |
| 53 | + "\timports:", |
| 54 | + "\t\t-", |
| 55 | + "\taddress:" |
| 56 | + ] |
| 57 | + }, |
| 58 | + |
| 59 | + "timeperiod default template": { |
| 60 | + "prefix": "time", |
| 61 | + "body":["- timeperiod_object:", |
| 62 | + "\t\t-", |
| 63 | + "\tranges:", |
| 64 | + "\t\t-" |
| 65 | + ] |
| 66 | + }, |
| 67 | + |
| 68 | + "service_group default template": { |
| 69 | + "prefix": "servicegroup", |
| 70 | + "body":["- servicegroup_object:", |
| 71 | + "\t\t- \"\"", |
| 72 | + "\tassign_filter:" |
| 73 | + ] |
| 74 | + }, |
| 75 | + |
| 76 | + "service_apply default template": { |
| 77 | + "prefix": "service-apply", |
| 78 | + "body":["- service_apply_object:", |
| 79 | + "\t\t-", |
| 80 | + "\timports:", |
| 81 | + "\t\t-", |
| 82 | + "\tassign_filter: 'host.name=\"\"'", |
| 83 | + "\tvars:" |
| 84 | + ] |
| 85 | + }, |
| 86 | + |
| 87 | + "service_template default template": { |
| 88 | + "prefix": "servicetemp", |
| 89 | + "body":["- service_template_object:", |
| 90 | + "\t\t- \"\"", |
| 91 | + "\tcheck_command: foo", |
| 92 | + "\tcheck_interval: 60", |
| 93 | + "\tretry_interval: 30", |
| 94 | + "\tuse_agent: true" |
| 95 | + ] |
| 96 | + }, |
| 97 | + |
| 98 | + "command_template default template": { |
| 99 | + "prefix": "commandtemp", |
| 100 | + "body":["- command_template_object:", |
| 101 | + "\t\t- \"\"", |
| 102 | + "\targuments:", |
| 103 | + "\t\t\"-foo\":", |
| 104 | + "\t\t\trequired: false", |
| 105 | + "\t\t\tvalue: \"\\$foo$\"", |
| 106 | + "\tcommand: \"foo.sh\"", |
| 107 | + "\ttimeout: 60" |
| 108 | + ] |
| 109 | + }, |
| 110 | + |
| 111 | + "command default template": { |
| 112 | + "prefix": "commandic", |
| 113 | + "body":["- command_object:", |
| 114 | + "\t\t- \"\"", |
| 115 | + "\tdisabled: false", |
| 116 | + "\tcommand_type: \"PluginCheck\"", |
| 117 | + "\timports:", |
| 118 | + "\t\t-" |
| 119 | + ] |
| 120 | + } |
| 121 | + |
| 122 | +} |
0 commit comments