summaryrefslogtreecommitdiff
path: root/templates/service/snmp/v3/tsm/local-key/node.def
blob: d238d31010601be2469a196e13744e83156c1904 (plain)
1
2
3
4
5
6
7
8
9
10
type: txt
help: Defines the server certificate fingerprint or key-file name.
allowed: sudo ls /etc/snmp/tls/certs
syntax:expression: pattern $VAR(@) "^[0-9A-F]{2}(:[0-9A-F]{2}){19}$" ||
    exec "if [ `sudo ls \"/etc/snmp/tls/certs/$VAR(@)\" 2> /dev/null` ]; \
      then \
	 exit 0; \
      else \
        exit 1; \
      fi" ; "value can be finger print key or filename in /etc/snmp/tls/certs folder"