1
0
mirror of https://github.com/limosek/zaf-plugins.git synced 2024-11-01 08:17: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 #!/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 if [ "${ZAF_PKG}" = "opkg" ]; then
AWK='{ print $2" "$5; }' AWK='{ print $2" "$5; }'
PS="w" PS="w"

View File

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