Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
dcdb
dcdb
Commits
f45f66f5
Commit
f45f66f5
authored
Dec 02, 2018
by
lu43jih
Browse files
Example how gpfsmon.conf would look like
parent
4d684af8
Changes
2
Hide whitespace changes
Inline
Side-by-side
config/gpfsmon.conf
View file @
f45f66f5
...
...
@@ -6,35 +6,36 @@ global {
;
add
here
other
global
attributes
for
your
plugin
}
template_
group
def
1
{
;
define
template
groups
by
appending
"template_"
group
io
group1
{
nodenameList
i
[
0
-
9
]
c
[
4
-
24
]
r
[
1
,
6
,
17
],
i2c3r
[
8
,
10
-
12
]
interval
1000
minValues
3
groupAtt
1234
;
add
other
attributes
your
plugin
requires
for
a
sensor
group
minValues
10
;
define
sensors
belonging
to
the
group
below
sensor
temp1
{
sensorAtt
5678
;
add
other
attributes
your
plugin
requires
for
a
sensor
;
how
do
we
calculate
it
from
nodenameList
?
mqttPrefix
01
sensor
IOBYTESREAD
{
mqttsuffix
00
}
sensor
IOBYTESWRITE
{
mqttsuffix
01
}
}
single_sensor
sens1
{
;
if
you
want
a
group
with
only
one
sensor
you
can
use
a
single_sensor
default
temp1
mqttsuffix
0
001
;
add
other
attributes
your
plugin
requires
for
a
sensor
sensor
IOREADS
{
mqttsuffix
0
2
}
}
group
g1
{
interval
1000
mqttprefix
01
default
def1
;
single
sensor
group
iogroup2
{
nodenameList
i2c3r9
interval
10000
minValues
10
;
sensor
temp1
is
took
over
from
def1
and
does
not
need
to
be
redefined
sensor
gSens
{
mqttsuffix
00
sensor
IOOPENS
{
mqttsuffix
03
}
}
pluginGenerator/config.sh
View file @
f45f66f5
...
...
@@ -36,7 +36,7 @@ group g1 {
mqttprefix 01
default def1
;sensor temp1 is t
ook over
from def1 and does not need to be redefined
;sensor temp1 is t
aken
from def1 and does not need to be redefined
sensor gSens {
mqttsuffix 00
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment