I have created monitors templates via
apiClient and that process use this method "
addDeviceTemplate " in the form i fill information about trouble message , the problem i am having is that later in some monitors of the device i got this as trouble message "Threshold exceeded" and some alarms just say "Threshold exceeded: ", of course i can update the device monitor one by one, but why te value of the trouble message configured in the template has changed?.
addDeviceTemplate - Example of values being send:
typeName:
test1
graphID:
custGraph_1
deviceType:
test1
IconName:
default.png
pingInterval:
15
category:
Switch
vendor:
3Com
sysOID:
1212.1212.21.21..21
graphObj:
{"dataArray":[{"graphName":"test 1 mon","displayName":"test 1 mon","oid":"2323.23.2.3.32","graphDescription":"test 1 mon","functionalExp":"","units":"u","protocol":"SNMP","interval":300,"isEnabled":"Enabled","id":"custGraph_1","warningType":"min","warningVal":"4","warningMsg":"$MONITOR is $CURRENTVALUE $UNITS, threshold value for this monitor is $THRESHOLDVALUE $UNITS","troubleType":"min","troubleVal":"3","troubleMsg":"$MONITOR is $CURRENTVALUE $UNITS, threshold value for this monitor is $THRESHOLDVALUE $UNITS","criticalType":"min","criticalVal":"1","criticalMsg":"$MONITOR is $CURRENTVALUE $UNITS, threshold value for this monitor is $THRESHOLDVALUE $UNITS","rearmType":"max","rearmVal":"4","rearmMsg":"$MONITOR is $CURRENTVALUE $UNITS, threshold value for this monitor is $THRESHOLDVALUE $UNITS","timeout":"1"}]