Commit f45f66f5 authored by lu43jih's avatar lu43jih
Browse files

Example how gpfsmon.conf would look like

parent 4d684af8
......@@ -6,35 +6,36 @@ global {
;add here other global attributes for your plugin
}
template_group def1 {
;define template groups by appending "template_"
group iogroup1 {
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 0001
;add other attributes your plugin requires for a sensor
sensor IOREADS{
mqttsuffix 02
}
}
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
}
}
......@@ -36,7 +36,7 @@ group g1 {
mqttprefix 01
default def1
;sensor temp1 is took over from def1 and does not need to be redefined
;sensor temp1 is taken from def1 and does not need to be redefined
sensor gSens {
mqttsuffix 00
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment