This commit is contained in:
2023-10-11 16:15:31 +08:00
parent 716b39ef70
commit 3f1a4d8604
2 changed files with 6 additions and 4 deletions

View File

@@ -615,7 +615,7 @@ omc:
comment: ""
- name: "nename"
alias: "ne_name"
type: "int"
type: "string"
optional: "true"
apostr: "true"
filter: ""
@@ -634,7 +634,7 @@ omc:
type: "enum"
optional: "true"
apostr: "true"
filter: '{"Critical","Major","Minor","Warning","Event"}'
filter: '{"Critical":"Critical","Major":"Major","Minor":"Minor","Warning":"Warning","Event":"Event"}'
display: "Original severity"
comment: ""
- name: "pvflag"
@@ -666,7 +666,7 @@ omc:
type: "enum"
optional: "true"
apostr: "true"
filter: '{"CommunicationAlarm","EquipmentAlarm","ProcessingFailure","EnvironmentalAlarm","QualityOfServiceAlarm"}'
filter: '{"CommunicationAlarm":"CommunicationAlarm","EquipmentAlarm":"EquipmentAlarm","ProcessingFailure":"ProcessingFailure","EnvironmentalAlarm":"EnvironmentalAlarm","QualityOfServiceAlarm":"QualityOfServiceAlarm"}'
display: "Alarm type"
comment: ""
- name: "alarmstatus"

View File

@@ -31,4 +31,6 @@ while read line
table=`echo $line | cut -d " " -f 1`
echo "dump ${table} to install directory"
mysqldump -h ${host} -P ${port} -u ${user} -p${password} -d ${dbname} ${table} > ${insdir}/${table}.sql
done < ${dumpdbdir}/${tables_s}
done < ${dumpdbdir}/${tables_s}