Helptext ALL THE THINGS

pull/4717/head
Matt Visnovsky 2 weeks ago
parent 19f21a9a39
commit 56e7fa8bd5

@ -922,6 +922,13 @@
"cellsyntSplitLongMessages": "Split long messages into up to 6 parts. 153 x 6 = 918 characters.",
"max 15 digits": "max 15 digits",
"max 11 alphanumeric characters": "max 11 alphanumeric characters",
"Community String": "Community String",
"snmpCommunityStringHelptext": "This string acts as a password and is used to authenticate and control access to SNMP-enabled devices. Ensure it matches the configuration of your SNMP device.",
"OID (Object Identifier)": "OID (Object Identifier)",
"snmpOIDHelptext": "Please input the OID corresponding to the sensor or status you wish to monitor. If you're unsure about the OID, various network management tools can assist you in discovering the correct OID for your device, such as a MIB browser, or SNMP management software.",
"Condition": "Condition",
"Control Value": "Control Value",
"snmpControlValueHelptext": "Enter the control value against which the SNMP value will be compared. Depending on the condition chosen, this value can be numeric or string. For 'contains' condition, specify a substring to search for within the SNMP value.",
"SNMP Version": "SNMP Version",
"snmpVersionHelptext": "Prefer SNMPv2c for enhanced security and expanded features. If compatibility issues occur, fallback to SNMPv1, but note that SNMPv1 has limited capabilities compared to SNMPv2c."
}

@ -266,6 +266,9 @@
<div v-if="monitor.type === 'snmp'" class="my-3">
<label for="snmp_community_string" class="form-label">{{ $t("Community String") }}</label>
<input id="snmp_community_string" v-model="monitor.snmpCommunityString" type="text" class="form-control" required placeholder="public">
<!-- eslint-disable-next-line vue/no-v-html -->
<div class="form-text" v-html="$t('snmpCommunityStringHelptext')"></div>
</div>
<div v-if="monitor.type === 'snmp'" class="my-3">
@ -295,6 +298,8 @@
<input v-else id="snmp_control_value" v-model="monitor.snmpControlValue" type="text" class="form-control" required>
</div>
</div>
<!-- eslint-disable-next-line vue/no-v-html -->
<div class="form-text" v-html="$t('snmpControlValueHelptext')"></div>
</div>
<div v-if="monitor.type === 'snmp'" class="my-3">

Loading…
Cancel
Save