mirror of
https://github.com/limosek/zaf-plugins.git
synced 2025-10-31 17:47:37 +01:00
Released new zaf plugin version
Added documentation
This commit is contained in:
5
zaf/README.md
Normal file
5
zaf/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# Zaf default plugin
|
||||
This plugin helps to monitor zaf status on each host. It can report zaf version, discover all plugins and get their versions. This should be linked as essential part of templates for each zaf enabled host.
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ Description::
|
||||
::
|
||||
|
||||
# Version of the plugin.
|
||||
Version: 0.3
|
||||
Version: 0.4
|
||||
|
||||
# Url of plugin location to be able to update plugin
|
||||
Url: https://raw.githubusercontent.com/limosek/zaf-plugins/master/zaf
|
||||
@@ -50,10 +50,48 @@ Function: zaf_discovery_plugins
|
||||
Item plugin_version:
|
||||
Parameters: plugin_name
|
||||
Description::
|
||||
Returns maintainer of plugin
|
||||
Returns version of plugin
|
||||
::
|
||||
|
||||
Function: zaf_plugin_version $1
|
||||
|
||||
/Item
|
||||
|
||||
Item plugin_url:
|
||||
Parameters: plugin_name
|
||||
Description::
|
||||
Returns base url of plugin
|
||||
::
|
||||
Function: zaf_plugin_url $1
|
||||
/Item
|
||||
|
||||
Item plugin_web:
|
||||
Parameters: plugin_name
|
||||
Description::
|
||||
Returns home url of plugin
|
||||
::
|
||||
Function: zaf_plugin_web $1
|
||||
/Item
|
||||
|
||||
Item plugin_maintainer:
|
||||
Parameters: plugin_name
|
||||
Description::
|
||||
Returns maintainer of plugin
|
||||
::
|
||||
Function: zaf_plugin_mainatner $1
|
||||
/Item
|
||||
|
||||
Item plugin_items:
|
||||
Parameters: plugin_name
|
||||
Description::
|
||||
Returns items defined in plugin
|
||||
::
|
||||
Function: zaf_list_plugin_items $1
|
||||
/Item
|
||||
|
||||
Item plugin_template_url:
|
||||
Parameters: plugin_name
|
||||
Description::
|
||||
Returns base template url for plugin
|
||||
::
|
||||
Function: zaf_plugin_template_url $1
|
||||
/Item
|
||||
|
||||
|
||||
132
zaf/template.xml
132
zaf/template.xml
@@ -145,6 +145,138 @@
|
||||
<logtimefmt/>
|
||||
<application_prototypes/>
|
||||
</item_prototype>
|
||||
<item_prototype>
|
||||
<name>ZAF plugin {#PLUGIN} home url</name>
|
||||
<type>0</type>
|
||||
<snmp_community/>
|
||||
<multiplier>0</multiplier>
|
||||
<snmp_oid/>
|
||||
<key>zaf.plugin_url[{#PLUGIN}]</key>
|
||||
<delay>3600</delay>
|
||||
<history>90</history>
|
||||
<trends>0</trends>
|
||||
<status>0</status>
|
||||
<value_type>1</value_type>
|
||||
<allowed_hosts/>
|
||||
<units/>
|
||||
<delta>0</delta>
|
||||
<snmpv3_contextname/>
|
||||
<snmpv3_securityname/>
|
||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||
<snmpv3_authpassphrase/>
|
||||
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||
<snmpv3_privpassphrase/>
|
||||
<formula>1</formula>
|
||||
<delay_flex/>
|
||||
<params/>
|
||||
<ipmi_sensor/>
|
||||
<data_type>0</data_type>
|
||||
<authtype>0</authtype>
|
||||
<username/>
|
||||
<password/>
|
||||
<publickey/>
|
||||
<privatekey/>
|
||||
<port/>
|
||||
<description/>
|
||||
<inventory_link>0</inventory_link>
|
||||
<applications>
|
||||
<application>
|
||||
<name>ZAF</name>
|
||||
</application>
|
||||
</applications>
|
||||
<valuemap/>
|
||||
<logtimefmt/>
|
||||
<application_prototypes/>
|
||||
</item_prototype>
|
||||
<item_prototype>
|
||||
<name>ZAF plugin {#PLUGIN} template url</name>
|
||||
<type>0</type>
|
||||
<snmp_community/>
|
||||
<multiplier>0</multiplier>
|
||||
<snmp_oid/>
|
||||
<key>zaf.plugin_template_url[{#PLUGIN}]</key>
|
||||
<delay>3600</delay>
|
||||
<history>90</history>
|
||||
<trends>0</trends>
|
||||
<status>0</status>
|
||||
<value_type>1</value_type>
|
||||
<allowed_hosts/>
|
||||
<units/>
|
||||
<delta>0</delta>
|
||||
<snmpv3_contextname/>
|
||||
<snmpv3_securityname/>
|
||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||
<snmpv3_authpassphrase/>
|
||||
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||
<snmpv3_privpassphrase/>
|
||||
<formula>1</formula>
|
||||
<delay_flex/>
|
||||
<params/>
|
||||
<ipmi_sensor/>
|
||||
<data_type>0</data_type>
|
||||
<authtype>0</authtype>
|
||||
<username/>
|
||||
<password/>
|
||||
<publickey/>
|
||||
<privatekey/>
|
||||
<port/>
|
||||
<description/>
|
||||
<inventory_link>0</inventory_link>
|
||||
<applications>
|
||||
<application>
|
||||
<name>ZAF</name>
|
||||
</application>
|
||||
</applications>
|
||||
<valuemap/>
|
||||
<logtimefmt/>
|
||||
<application_prototypes/>
|
||||
</item_prototype>
|
||||
<item_prototype>
|
||||
<name>ZAF plugin {#PLUGIN} items</name>
|
||||
<type>0</type>
|
||||
<snmp_community/>
|
||||
<multiplier>0</multiplier>
|
||||
<snmp_oid/>
|
||||
<key>zaf.plugin_items[{#PLUGIN}]</key>
|
||||
<delay>3600</delay>
|
||||
<history>90</history>
|
||||
<trends>0</trends>
|
||||
<status>0</status>
|
||||
<value_type>1</value_type>
|
||||
<allowed_hosts/>
|
||||
<units/>
|
||||
<delta>0</delta>
|
||||
<snmpv3_contextname/>
|
||||
<snmpv3_securityname/>
|
||||
<snmpv3_securitylevel>0</snmpv3_securitylevel>
|
||||
<snmpv3_authprotocol>0</snmpv3_authprotocol>
|
||||
<snmpv3_authpassphrase/>
|
||||
<snmpv3_privprotocol>0</snmpv3_privprotocol>
|
||||
<snmpv3_privpassphrase/>
|
||||
<formula>1</formula>
|
||||
<delay_flex/>
|
||||
<params/>
|
||||
<ipmi_sensor/>
|
||||
<data_type>0</data_type>
|
||||
<authtype>0</authtype>
|
||||
<username/>
|
||||
<password/>
|
||||
<publickey/>
|
||||
<privatekey/>
|
||||
<port/>
|
||||
<description/>
|
||||
<inventory_link>0</inventory_link>
|
||||
<applications>
|
||||
<application>
|
||||
<name>ZAF</name>
|
||||
</application>
|
||||
</applications>
|
||||
<valuemap/>
|
||||
<logtimefmt/>
|
||||
<application_prototypes/>
|
||||
</item_prototype>
|
||||
</item_prototypes>
|
||||
<trigger_prototypes/>
|
||||
<graph_prototypes/>
|
||||
|
||||
Reference in New Issue
Block a user