add Zabbix plugin code

Change-Id: I9e1c1073453a4f49f660ad992df1e861c6e45373
This commit is contained in:
Szymon Banka
2015-03-19 12:38:07 +01:00
committed by Piotr Misiak
parent 40b96dcb76
commit 89196c3022
140 changed files with 24922 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
#
# Copyright 2015 Mirantis, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
class plugin_zabbix::db(
$db_ip = undef,
$db_password = 'zabbix',
) {
#stub for multiple possible db backends
class { 'plugin_zabbix::db::mysql':
db_ip => $db_ip,
db_password => $db_password,
}
contain 'plugin_zabbix::db::mysql'
}