Helptext ALL THE THINGS

This commit is contained in:
Matt Visnovsky 2024-05-06 14:33:48 -06:00
parent 19f21a9a39
commit 56e7fa8bd5
2 changed files with 12 additions and 0 deletions

View File

@ -922,6 +922,13 @@
"cellsyntSplitLongMessages": "Split long messages into up to 6 parts. 153 x 6 = 918 characters.", "cellsyntSplitLongMessages": "Split long messages into up to 6 parts. 153 x 6 = 918 characters.",
"max 15 digits": "max 15 digits", "max 15 digits": "max 15 digits",
"max 11 alphanumeric characters": "max 11 alphanumeric characters", "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.", "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." "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."
} }

View File

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