1
0
mirror of https://github.com/limosek/zaf-plugins.git synced 2024-11-01 00:07:19 +01:00

Repaired script and template

This commit is contained in:
Lukas Macura 2016-04-01 15:50:42 +02:00
parent 24ca1c11bc
commit 32d96e6707
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,9 @@
#!/bin/sh
. ${ZAF_LIB_DIR}/zaf.lib.sh
. ${ZAF_LIB_DIR}/os.lib.sh
. ${ZAF_LIB_DIR}/ctrl.lib.sh
if [ "${ZAF_PKG}" = "opkg" ]; then
AWK='{ print $2" "$5; }'
PS="w"

View File

@ -9,8 +9,8 @@
</groups>
<templates>
<template>
<template>Template Zaf processinfo</template>
<name>Template Zaf processinfo</name>
<template>Template Zaf psx</template>
<name>Template Zaf psx</name>
<description/>
<groups>
<group>
@ -29,7 +29,7 @@
<type>0</type>
<snmp_community/>
<snmp_oid/>
<key>ps.discovery</key>
<key>psx.discovery</key>
<delay>300</delay>
<status>0</status>
<allowed_hosts/>