SNMP OID helptext

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

View File

@ -922,5 +922,6 @@
"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",
"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.",
"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

@ -271,6 +271,9 @@
<div v-if="monitor.type === 'snmp'" class="my-3">
<label for="snmp_oid" class="form-label">{{ $t("OID (Object Identifier)") }}</label>
<input id="snmp_oid" v-model="monitor.snmpOid" type="text" class="form-control" required pattern="^([0-2])((\.0)|(\.[1-9][0-9]*))*$" title="Please enter a valid OID, e.g. 1.3.6.1.4.1.9.6.1.101" placeholder="1.3.6.1.4.1.9.6.1.101">
<!-- eslint-disable-next-line vue/no-v-html -->
<div class="form-text" v-html="$t('snmpOIDHelptext')"></div>
</div>
<div v-if="monitor.type === 'snmp'" class="my-3">