summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Misiak <pmisiak@mirantis.com>2015-06-05 13:42:24 +0200
committerPiotr Misiak <pmisiak@mirantis.com>2015-06-05 13:42:24 +0200
commit767cad8dc66f4ef03669ddd120c664b3bddb73ee (patch)
tree11bc64f315f5e8fcac22eba4ea81bdd5aabd5a03
parent3e38dd33c3486d370b3eca87cb1399606962798f (diff)
initial version of Extreme Networks hardware monitoring extension for Zabbix plugin
Notes
Notes (review): Verified+2: Jenkins Code-Review+1: Andrey Epifanov <aepifanov@mirantis.com> Code-Review+2: Szymon Banka <sbanka@mirantis.com> Workflow+1: Szymon Banka <sbanka@mirantis.com> Code-Review+1: Bartłomiej Piotrowski <bpiotrowski@mirantis.com> Submitted-by: Jenkins Submitted-at: Fri, 19 Jun 2015 12:40:54 +0000 Reviewed-on: https://review.openstack.org/188755 Project: stackforge/fuel-plugin-zabbix-monitoring-extreme-networks Branch: refs/heads/master
-rw-r--r--.gitignore4
-rw-r--r--deployment_scripts/puppet/manifests/snmptt_config.pp16
-rw-r--r--deployment_scripts/puppet/manifests/zabbix_config.pp16
-rw-r--r--deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/files/Template_Extreme_Networks.xml345
-rw-r--r--deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/files/snmptt_extreme_networks.conf20
-rw-r--r--deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/manifests/extreme_host.pp39
-rw-r--r--deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/manifests/init.pp55
-rw-r--r--deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/manifests/snmptt_config.pp47
-rw-r--r--environment_config.yaml12
-rw-r--r--metadata.yaml33
-rw-r--r--repositories/centos/.gitkeep0
-rw-r--r--repositories/ubuntu/.gitkeep0
-rw-r--r--tasks.yaml14
13 files changed, 601 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0dfd567
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
1.build/
2*.noarch.rpm
3repositories/centos/*.rpm
4repositories/ubuntu/*.deb
diff --git a/deployment_scripts/puppet/manifests/snmptt_config.pp b/deployment_scripts/puppet/manifests/snmptt_config.pp
new file mode 100644
index 0000000..a04c720
--- /dev/null
+++ b/deployment_scripts/puppet/manifests/snmptt_config.pp
@@ -0,0 +1,16 @@
1#
2# Copyright 2015 Mirantis, Inc.
3#
4# Licensed under the Apache License, Version 2.0 (the "License"); you may
5# not use this file except in compliance with the License. You may obtain
6# a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13# License for the specific language governing permissions and limitations
14# under the License.
15#
16include plugin_zabbix_monitoring_extreme_networks::snmptt_config
diff --git a/deployment_scripts/puppet/manifests/zabbix_config.pp b/deployment_scripts/puppet/manifests/zabbix_config.pp
new file mode 100644
index 0000000..16a0add
--- /dev/null
+++ b/deployment_scripts/puppet/manifests/zabbix_config.pp
@@ -0,0 +1,16 @@
1#
2# Copyright 2015 Mirantis, Inc.
3#
4# Licensed under the Apache License, Version 2.0 (the "License"); you may
5# not use this file except in compliance with the License. You may obtain
6# a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13# License for the specific language governing permissions and limitations
14# under the License.
15#
16include plugin_zabbix_monitoring_extreme_networks
diff --git a/deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/files/Template_Extreme_Networks.xml b/deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/files/Template_Extreme_Networks.xml
new file mode 100644
index 0000000..5315f4c
--- /dev/null
+++ b/deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/files/Template_Extreme_Networks.xml
@@ -0,0 +1,345 @@
1<?xml version="1.0" encoding="UTF-8"?>
2<zabbix_export>
3 <version>2.0</version>
4 <date>2014-12-09T17:13:43Z</date>
5 <groups>
6 <group>
7 <name>Templates</name>
8 </group>
9 </groups>
10 <templates>
11 <template>
12 <template>Template Extreme Networks</template>
13 <name>Template Extreme Networks</name>
14 <groups>
15 <group>
16 <name>Templates</name>
17 </group>
18 </groups>
19 <applications>
20 <application>
21 <name>Extreme Networks</name>
22 </application>
23 </applications>
24 <items>
25 <item>
26 <name>Power Supply Failed</name>
27 <type>17</type>
28 <snmp_community/>
29 <multiplier>0</multiplier>
30 <snmp_oid/>
31 <key>snmptrap[&quot;.1.3.6.1.4.1.1916.0.10&quot;]</key>
32 <delay>0</delay>
33 <history>90</history>
34 <trends>365</trends>
35 <status>0</status>
36 <value_type>2</value_type>
37 <allowed_hosts/>
38 <units/>
39 <delta>0</delta>
40 <snmpv3_contextname/>
41 <snmpv3_securityname/>
42 <snmpv3_securitylevel>0</snmpv3_securitylevel>
43 <snmpv3_authprotocol>0</snmpv3_authprotocol>
44 <snmpv3_authpassphrase/>
45 <snmpv3_privprotocol>0</snmpv3_privprotocol>
46 <snmpv3_privpassphrase/>
47 <formula>1</formula>
48 <delay_flex/>
49 <params/>
50 <ipmi_sensor/>
51 <data_type>0</data_type>
52 <authtype>0</authtype>
53 <username/>
54 <password/>
55 <publickey/>
56 <privatekey/>
57 <port/>
58 <description/>
59 <inventory_link>0</inventory_link>
60 <applications>
61 <application>
62 <name>Extreme Networks</name>
63 </application>
64 </applications>
65 <valuemap/>
66 </item>
67 <item>
68 <name>Power Supply OK</name>
69 <type>17</type>
70 <snmp_community/>
71 <multiplier>0</multiplier>
72 <snmp_oid/>
73 <key>snmptrap[&quot;.1.3.6.1.4.1.1916.0.11&quot;]</key>
74 <delay>0</delay>
75 <history>90</history>
76 <trends>365</trends>
77 <status>0</status>
78 <value_type>2</value_type>
79 <allowed_hosts/>
80 <units/>
81 <delta>0</delta>
82 <snmpv3_contextname/>
83 <snmpv3_securityname/>
84 <snmpv3_securitylevel>0</snmpv3_securitylevel>
85 <snmpv3_authprotocol>0</snmpv3_authprotocol>
86 <snmpv3_authpassphrase/>
87 <snmpv3_privprotocol>0</snmpv3_privprotocol>
88 <snmpv3_privpassphrase/>
89 <formula>1</formula>
90 <delay_flex/>
91 <params/>
92 <ipmi_sensor/>
93 <data_type>0</data_type>
94 <authtype>0</authtype>
95 <username/>
96 <password/>
97 <publickey/>
98 <privatekey/>
99 <port/>
100 <description/>
101 <inventory_link>0</inventory_link>
102 <applications>
103 <application>
104 <name>Extreme Networks</name>
105 </application>
106 </applications>
107 <valuemap/>
108 </item>
109 <item>
110 <name>Fan Failed</name>
111 <type>17</type>
112 <snmp_community/>
113 <multiplier>0</multiplier>
114 <snmp_oid/>
115 <key>snmptrap[&quot;.1.3.6.1.4.1.1916.0.7&quot;]</key>
116 <delay>0</delay>
117 <history>90</history>
118 <trends>365</trends>
119 <status>0</status>
120 <value_type>2</value_type>
121 <allowed_hosts/>
122 <units/>
123 <delta>0</delta>
124 <snmpv3_contextname/>
125 <snmpv3_securityname/>
126 <snmpv3_securitylevel>0</snmpv3_securitylevel>
127 <snmpv3_authprotocol>0</snmpv3_authprotocol>
128 <snmpv3_authpassphrase/>
129 <snmpv3_privprotocol>0</snmpv3_privprotocol>
130 <snmpv3_privpassphrase/>
131 <formula>1</formula>
132 <delay_flex/>
133 <params/>
134 <ipmi_sensor/>
135 <data_type>0</data_type>
136 <authtype>0</authtype>
137 <username/>
138 <password/>
139 <publickey/>
140 <privatekey/>
141 <port/>
142 <description/>
143 <inventory_link>0</inventory_link>
144 <applications>
145 <application>
146 <name>Extreme Networks</name>
147 </application>
148 </applications>
149 <valuemap/>
150 </item>
151 <item>
152 <name>Fan OK</name>
153 <type>17</type>
154 <snmp_community/>
155 <multiplier>0</multiplier>
156 <snmp_oid/>
157 <key>snmptrap[&quot;.1.3.6.1.4.1.1916.0.8&quot;]</key>
158 <delay>0</delay>
159 <history>90</history>
160 <trends>365</trends>
161 <status>0</status>
162 <value_type>2</value_type>
163 <allowed_hosts/>
164 <units/>
165 <delta>0</delta>
166 <snmpv3_contextname/>
167 <snmpv3_securityname/>
168 <snmpv3_securitylevel>0</snmpv3_securitylevel>
169 <snmpv3_authprotocol>0</snmpv3_authprotocol>
170 <snmpv3_authpassphrase/>
171 <snmpv3_privprotocol>0</snmpv3_privprotocol>
172 <snmpv3_privpassphrase/>
173 <formula>1</formula>
174 <delay_flex/>
175 <params/>
176 <ipmi_sensor/>
177 <data_type>0</data_type>
178 <authtype>0</authtype>
179 <username/>
180 <password/>
181 <publickey/>
182 <privatekey/>
183 <port/>
184 <description/>
185 <inventory_link>0</inventory_link>
186 <applications>
187 <application>
188 <name>Extreme Networks</name>
189 </application>
190 </applications>
191 <valuemap/>
192 </item>
193 <item>
194 <name>Link Down</name>
195 <type>17</type>
196 <snmp_community/>
197 <multiplier>0</multiplier>
198 <snmp_oid/>
199 <key>snmptrap[&quot;.1.3.6.1.6.3.1.1.5.3&quot;]</key>
200 <delay>0</delay>
201 <history>90</history>
202 <trends>365</trends>
203 <status>0</status>
204 <value_type>2</value_type>
205 <allowed_hosts/>
206 <units/>
207 <delta>0</delta>
208 <snmpv3_contextname/>
209 <snmpv3_securityname/>
210 <snmpv3_securitylevel>0</snmpv3_securitylevel>
211 <snmpv3_authprotocol>0</snmpv3_authprotocol>
212 <snmpv3_authpassphrase/>
213 <snmpv3_privprotocol>0</snmpv3_privprotocol>
214 <snmpv3_privpassphrase/>
215 <formula>1</formula>
216 <delay_flex/>
217 <params/>
218 <ipmi_sensor/>
219 <data_type>0</data_type>
220 <authtype>0</authtype>
221 <username/>
222 <password/>
223 <publickey/>
224 <privatekey/>
225 <port/>
226 <description/>
227 <inventory_link>0</inventory_link>
228 <applications>
229 <application>
230 <name>Extreme Networks</name>
231 </application>
232 </applications>
233 <valuemap/>
234 </item>
235 <item>
236 <name>Link Up</name>
237 <type>17</type>
238 <snmp_community/>
239 <multiplier>0</multiplier>
240 <snmp_oid/>
241 <key>snmptrap[&quot;.1.3.6.1.6.3.1.1.5.4&quot;]</key>
242 <delay>0</delay>
243 <history>90</history>
244 <trends>365</trends>
245 <status>0</status>
246 <value_type>2</value_type>
247 <allowed_hosts/>
248 <units/>
249 <delta>0</delta>
250 <snmpv3_contextname/>
251 <snmpv3_securityname/>
252 <snmpv3_securitylevel>0</snmpv3_securitylevel>
253 <snmpv3_authprotocol>0</snmpv3_authprotocol>
254 <snmpv3_authpassphrase/>
255 <snmpv3_privprotocol>0</snmpv3_privprotocol>
256 <snmpv3_privpassphrase/>
257 <formula>1</formula>
258 <delay_flex/>
259 <params/>
260 <ipmi_sensor/>
261 <data_type>0</data_type>
262 <authtype>0</authtype>
263 <username/>
264 <password/>
265 <publickey/>
266 <privatekey/>
267 <port/>
268 <description/>
269 <inventory_link>0</inventory_link>
270 <applications>
271 <application>
272 <name>Extreme Networks</name>
273 </application>
274 </applications>
275 <valuemap/>
276 </item>
277 </items>
278 <macros/>
279 <templates/>
280 <screens/>
281 </template>
282 </templates>
283 <triggers>
284 <trigger>
285 <expression>{Template Extreme Networks:snmptrap[&quot;.1.3.6.1.4.1.1916.0.10&quot;].str(&quot;Critical&quot;)}=1</expression>
286 <name>Power Supply Failed: {ITEM.VALUE1}</name>
287 <url/>
288 <status>0</status>
289 <priority>4</priority>
290 <description/>
291 <type>1</type>
292 <dependencies/>
293 </trigger>
294 <trigger>
295 <expression>{Template Extreme Networks:snmptrap[&quot;.1.3.6.1.4.1.1916.0.11&quot;].str(&quot;Information&quot;)}=1</expression>
296 <name>Power Supply OK: {ITEM.VALUE1}</name>
297 <url/>
298 <status>0</status>
299 <priority>1</priority>
300 <description/>
301 <type>1</type>
302 <dependencies/>
303 </trigger>
304 <trigger>
305 <expression>{Template Extreme Networks:snmptrap[&quot;.1.3.6.1.4.1.1916.0.7&quot;].str(&quot;Critical&quot;)}=1</expression>
306 <name>Fan Failed: {ITEM.VALUE1}</name>
307 <url/>
308 <status>0</status>
309 <priority>4</priority>
310 <description/>
311 <type>1</type>
312 <dependencies/>
313 </trigger>
314 <trigger>
315 <expression>{Template Extreme Networks:snmptrap[&quot;.1.3.6.1.4.1.1916.0.8&quot;].str(&quot;Information&quot;)}=1</expression>
316 <name>Fan OK: {ITEM.VALUE1}</name>
317 <url/>
318 <status>0</status>
319 <priority>1</priority>
320 <description/>
321 <type>1</type>
322 <dependencies/>
323 </trigger>
324 <trigger>
325 <expression>{Template Extreme Networks:snmptrap[&quot;.1.3.6.1.6.3.1.1.5.3&quot;].str(&quot;Critical&quot;)}=1</expression>
326 <name>Link Down: {ITEM.VALUE1}</name>
327 <url/>
328 <status>0</status>
329 <priority>4</priority>
330 <description/>
331 <type>1</type>
332 <dependencies/>
333 </trigger>
334 <trigger>
335 <expression>{Template Extreme Networks:snmptrap[&quot;.1.3.6.1.6.3.1.1.5.4&quot;].str(&quot;Information&quot;)}=1</expression>
336 <name>Link Up: {ITEM.LASTVALUE1}</name>
337 <url/>
338 <status>0</status>
339 <priority>1</priority>
340 <description/>
341 <type>1</type>
342 <dependencies/>
343 </trigger>
344 </triggers>
345</zabbix_export>
diff --git a/deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/files/snmptt_extreme_networks.conf b/deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/files/snmptt_extreme_networks.conf
new file mode 100644
index 0000000..2be75ab
--- /dev/null
+++ b/deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/files/snmptt_extreme_networks.conf
@@ -0,0 +1,20 @@
1# Extreme Ports
2EVENT ExtremePortDown .1.3.6.1.6.3.1.1.5.3 "Status Events" Critical
3FORMAT ZBXTRAP $aA LinkDown Port $1
4
5EVENT ExtremePortUp .1.3.6.1.6.3.1.1.5.4 "Status Events" Information
6FORMAT ZBXTRAP $aA LinkUp Port $1
7
8# Extreme Fans
9EVENT ExtremeFanFailed .1.3.6.1.4.1.1916.0.7 "Status Events" Critical
10FORMAT ZBXTRAP $aA FanFailed Fan $3
11
12EVENT ExtremeFanOK .1.3.6.1.4.1.1916.0.8 "Status Events" Information
13FORMAT ZBXTRAP $aA FanOK Fan $3
14
15# Extreme Power Supply
16EVENT ExtremePSFailed .1.3.6.1.4.1.1916.0.10 "Status Events" Critical
17FORMAT ZBXTRAP $aA PowerFailed PS $3
18
19EVENT ExtremePSOK .1.3.6.1.4.1.1916.0.11 "Status Events" Information
20FORMAT ZBXTRAP $aA PowerOK PS $3
diff --git a/deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/manifests/extreme_host.pp b/deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/manifests/extreme_host.pp
new file mode 100644
index 0000000..3d8018d
--- /dev/null
+++ b/deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/manifests/extreme_host.pp
@@ -0,0 +1,39 @@
1#
2# Copyright 2015 Mirantis, Inc.
3#
4# Licensed under the Apache License, Version 2.0 (the "License"); you may
5# not use this file except in compliance with the License. You may obtain
6# a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13# License for the specific language governing permissions and limitations
14# under the License.
15#
16define plugin_zabbix_monitoring_extreme_networks::extreme_host(
17 $host_group = 'Extreme Networks',
18) {
19
20 $host = split($name,':')
21
22 if size($host) == 2 {
23 plugin_zabbix_host { $host[0]:
24 host => $host[0],
25 type => 2,
26 ip => $host[1],
27 port => '161',
28 api => $plugin_zabbix::params::api_hash,
29 groups => $host_group,
30 }
31 plugin_zabbix_template_link { "${host[0]} Template Extreme Networks":
32 host => $host[0],
33 template => 'Template Extreme Networks',
34 api => $plugin_zabbix::params::api_hash,
35 require => Plugin_zabbix_host[$host[0]],
36 }
37 }
38
39}
diff --git a/deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/manifests/init.pp b/deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/manifests/init.pp
new file mode 100644
index 0000000..b7f51f7
--- /dev/null
+++ b/deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/manifests/init.pp
@@ -0,0 +1,55 @@
1#
2# Copyright 2015 Mirantis, Inc.
3#
4# Licensed under the Apache License, Version 2.0 (the "License"); you may
5# not use this file except in compliance with the License. You may obtain
6# a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13# License for the specific language governing permissions and limitations
14# under the License.
15#
16class plugin_zabbix_monitoring_extreme_networks(
17 $host_group = 'Extreme Networks',
18)
19{
20
21 include plugin_zabbix::params
22
23 file { '/etc/zabbix/import/Template_Extreme_Networks.xml':
24 ensure => present,
25 source => 'puppet:///modules/plugin_zabbix_monitoring_extreme_networks/Template_Extreme_Networks.xml',
26 }
27
28 plugin_zabbix_configuration_import { 'Template_Extreme_Networks.xml Import':
29 ensure => present,
30 xml_file => '/etc/zabbix/import/Template_Extreme_Networks.xml',
31 api => $plugin_zabbix::params::api_hash,
32 require => File['/etc/zabbix/import/Template_Extreme_Networks.xml'],
33 }
34
35 plugin_zabbix_hostgroup {$host_group:
36 ensure => present,
37 api => $plugin_zabbix::params::api_hash,
38 }
39
40 $zabbix_monitoring_extreme_hash = hiera('zabbix_monitoring_extreme_networks')
41 $hosts_string = $zabbix_monitoring_extreme_hash['hosts']
42
43 if $hosts_string {
44 $hosts = split($hosts_string,',')
45
46 if size($hosts) > 0 {
47 plugin_zabbix_monitoring_extreme_networks::extreme_host { $hosts:
48 host_group => $host_group,
49 }
50 Plugin_zabbix_configuration_import<||> -> Plugin_zabbix_monitoring_extreme_networks::Extreme_host<||>
51 Plugin_zabbix_hostgroup<||> -> Plugin_zabbix_monitoring_extreme_networks::Extreme_host<||>
52 }
53 }
54
55}
diff --git a/deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/manifests/snmptt_config.pp b/deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/manifests/snmptt_config.pp
new file mode 100644
index 0000000..480bc49
--- /dev/null
+++ b/deployment_scripts/puppet/modules/plugin_zabbix_monitoring_extreme_networks/manifests/snmptt_config.pp
@@ -0,0 +1,47 @@
1#
2# Copyright 2015 Mirantis, Inc.
3#
4# Licensed under the Apache License, Version 2.0 (the "License"); you may
5# not use this file except in compliance with the License. You may obtain
6# a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13# License for the specific language governing permissions and limitations
14# under the License.
15#
16class plugin_zabbix_monitoring_extreme_networks::snmptt_config {
17
18 file { '/etc/snmp/snmptt.conf.d':
19 ensure => directory,
20 owner => 'root',
21 group => 'root',
22 mode => '0755',
23 }
24
25 file { '/etc/snmp/snmptt.conf.d/extreme_networks.conf':
26 ensure => present,
27 owner => 'root',
28 group => 'root',
29 mode => '0644',
30 source => 'puppet:///modules/plugin_zabbix_monitoring_extreme_networks/snmptt_extreme_networks.conf',
31 require => File['/etc/snmp/snmptt.conf.d'],
32 }
33
34 file_line { 'add extreme_networks.conf config to snmptt.ini':
35 path => '/etc/snmp/snmptt.ini',
36 after => 'snmptt_conf_files = <<END',
37 line => '/etc/snmp/snmptt.conf.d/extreme_networks.conf',
38 require => File['/etc/snmp/snmptt.conf.d/extreme_networks.conf'],
39 notify => Service['snmptt'],
40 }
41
42 service { 'snmptt':
43 ensure => running,
44 enable => true,
45 }
46
47}
diff --git a/environment_config.yaml b/environment_config.yaml
new file mode 100644
index 0000000..3f3848f
--- /dev/null
+++ b/environment_config.yaml
@@ -0,0 +1,12 @@
1attributes:
2 metadata:
3 restrictions:
4 - condition: "settings:zabbix_snmptrapd.metadata.enabled == false"
5 action: disable
6 message: This plugin requires SNMP trap daemon for Zabbix plugin
7 hosts:
8 value: ""
9 label: "Extreme Networks hardware to monitor"
10 description: "comma separated NAME:IP values"
11 weight: 10
12 type: "text"
diff --git a/metadata.yaml b/metadata.yaml
new file mode 100644
index 0000000..4273744
--- /dev/null
+++ b/metadata.yaml
@@ -0,0 +1,33 @@
1# Plugin name
2name: zabbix_monitoring_extreme_networks
3title: Extreme Networks hardware monitoring extension for Zabbix plugin
4# Plugin version
5version: 1.0.0
6# Description
7description: Adds Extreme Networks hardware monitoring to Zabbix plugin
8# Required fuel version
9fuel_version: ['6.1']
10# Groups
11groups: ['monitoring']
12# Licenses
13licenses: ['Apache License, Version 2.0']
14# Homepage
15homepage: 'https://github.com/stackforge/fuel-plugin-zabbix-monitoring-extreme-networks'
16# Authors
17authors: ['Dmitry Klenov <dklenov@mirantis.com>', 'Piotr Misiak <pmisiak@mirantis.com>', 'Szymon Banka <sbanka@mirantis.com>', 'Alexander Zatserklyany <azatserklyany@mirantis.com>']
18
19# The plugin is compatible with releases in the list
20releases:
21 - os: ubuntu
22 version: 2014.2-6.1
23 mode: ['ha']
24 deployment_scripts_path: deployment_scripts/
25 repository_path: repositories/ubuntu
26 - os: centos
27 version: 2014.2-6.1
28 mode: ['ha']
29 deployment_scripts_path: deployment_scripts/
30 repository_path: repositories/centos
31
32# Version of plugin package
33package_version: '2.0.0'
diff --git a/repositories/centos/.gitkeep b/repositories/centos/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/repositories/centos/.gitkeep
diff --git a/repositories/ubuntu/.gitkeep b/repositories/ubuntu/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/repositories/ubuntu/.gitkeep
diff --git a/tasks.yaml b/tasks.yaml
new file mode 100644
index 0000000..d8377ce
--- /dev/null
+++ b/tasks.yaml
@@ -0,0 +1,14 @@
1- role: ['primary-controller']
2 stage: post_deployment/8120
3 type: puppet
4 parameters:
5 puppet_manifest: puppet/manifests/zabbix_config.pp
6 puppet_modules: puppet/modules:/etc/puppet/modules:../zabbix_monitoring-1.0/puppet/modules
7 timeout: 300
8- role: ['primary-controller', 'controller']
9 stage: post_deployment/8121
10 type: puppet
11 parameters:
12 puppet_manifest: puppet/manifests/snmptt_config.pp
13 puppet_modules: puppet/modules:/etc/puppet/modules:../zabbix_monitoring-1.0/puppet/modules
14 timeout: 300