1
0
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:
Lukas Macura
2016-04-09 12:23:40 +02:00
parent 7e534c255d
commit 8922559443
9 changed files with 385 additions and 11 deletions

View File

@@ -4,5 +4,64 @@ Please note that this plugin is very simple plugin for domonstrating possibiliti
## Usage
zaf intall process-list
```
psx.discovery [t|{
"data":[
{
"{#PSNAME}":"daemon" ,
"{#PSUSER}":"atd"
},
{
"{#PSNAME}":"hosting" ,
"{#PSUSER}":"php5-fpm"
},
{
"{#PSNAME}":"krtek" ,
"{#PSUSER}":"php5-fpm"
},
{
"{#PSNAME}":"lipka" ,
"{#PSUSER}":"php5-fpm"
},
{
"{#PSNAME}":"macura" ,
"{#PSUSER}":"php5-fpm"
},
{
"{#PSNAME}":"memcache" ,
"{#PSUSER}":"memcached"
},
{
"{#PSNAME}":"message+" ,
"{#PSUSER}":"dbus-daemon"
},
{
"{#PSNAME}":"mysql" ,
"{#PSUSER}":"mysqld"
},
{
"{#PSNAME}":"odeli" ,
"{#PSUSER}":"php5-fpm"
},
{
"{#PSNAME}":"postfix" ,
"{#PSUSER}":"qmgr"
},
{
"{#PSNAME}":"postfix" ,
"{#PSUSER}":"tlsmgr"
},
{
"{#PSNAME}":"rdnssd" ,
"{#PSUSER}":"rdnssd"
},
{
"{#PSNAME}":"root" ,
"{#PSUSER}":"acpid"
}
]
}
```

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>3.0</version>
<date>2016-03-23T09:37:42Z</date>
<date>2016-04-09T10:08:50Z</date>
<groups>
<group>
<name>Templates</name>
@@ -21,6 +21,12 @@
<application>
<name>Process Statistics</name>
</application>
<application>
<name>psx</name>
</application>
<application>
<name>ZAF</name>
</application>
</applications>
<items/>
<discovery_rules>
@@ -97,6 +103,12 @@ Returns the {#PSNAME} and {#PSUSER} discovery macros which return the process na
<application>
<name>Process Statistics</name>
</application>
<application>
<name>psx</name>
</application>
<application>
<name>ZAF</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
@@ -141,6 +153,12 @@ Returns the {#PSNAME} and {#PSUSER} discovery macros which return the process na
<application>
<name>Process Statistics</name>
</application>
<application>
<name>psx</name>
</application>
<application>
<name>ZAF</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>
@@ -185,6 +203,12 @@ Returns the {#PSNAME} and {#PSUSER} discovery macros which return the process na
<application>
<name>Process Statistics</name>
</application>
<application>
<name>psx</name>
</application>
<application>
<name>ZAF</name>
</application>
</applications>
<valuemap/>
<logtimefmt/>