Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added SNMP_USER_PERMISSIONS parameter and removed SNMP_USER_STRING parameter #718

Merged
merged 3 commits into from
Dec 3, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions doc/snmp/snmp-schema-addition.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,28 +61,28 @@ In the end this is used to produce */etc/snmp/snmpd.conf*.
{
"SNMP_USER":{
"<SNMP_USER>":{
"SNMP_USER_STRING":"<SNMP_USER_STRING>",
"SNMP_USER_TYPE":"noAuthNoPriv|AuthNoPriv|Priv",
"SNMP_USER_AUTH_TYPE":"MD5|SHA|HMAC-SHA-2",
"SNMP_USER_ENCRYPTION_TYPE":"DES|AES",
"SNMP_USER_AUTH_PASSWORD":"<AUTH_PASSWORD_STRING>",
"SNMP_USER_ENCRYPTION_PASSWORD":"<ENCRYPTION_PASSWORD_STRING>"
"SNMP_USER_ENCRYPTION_PASSWORD":"<ENCRYPTION_PASSWORD_STRING>",
"SNMP_USER_PERMISSION": "RO|RW"
},
"<SNMP_USER>":{
"SNMP_USER_STRING":"<SNMP_USER_STRING>",
"SNMP_USER_TYPE":"noAuthNoPriv|AuthNoPriv|Priv",
"SNMP_USER_AUTH_TYPE":"MD5|SHA|HMAC-SHA-2",
"SNMP_USER_ENCRYPTION_TYPE":"DES|AES",
"SNMP_USER_AUTH_PASSWORD":"<AUTH_PASSWORD_STRING>",
"SNMP_USER_ENCRYPTION_PASSWORD":"<ENCRYPTION_PASSWORD_STRING>"
"SNMP_USER_ENCRYPTION_PASSWORD":"<ENCRYPTION_PASSWORD_STRING>",
"SNMP_USER_PERMISSION": "RO|RW"
},
"<SNMP_USER>":{
"SNMP_USER_STRING":"<SNMP_USER_STRING>",
"SNMP_USER_TYPE":"noAuthNoPriv|AuthNoPriv|Priv",
"SNMP_USER_AUTH_TYPE":"MD5|SHA|HMAC-SHA-2",
"SNMP_USER_ENCRYPTION_TYPE":"DES|AES",
"SNMP_USER_AUTH_PASSWORD":"<AUTH_PASSWORD_STRING>",
"SNMP_USER_ENCRYPTION_PASSWORD":"<ENCRYPTION_PASSWORD_STRING>"
"SNMP_USER_ENCRYPTION_PASSWORD":"<ENCRYPTION_PASSWORD_STRING>",
"SNMP_USER_PERMISSION": "RO|RW"
}
}
}
Expand All @@ -99,7 +99,7 @@ Where:
- SNMP_USER_ENCRYPTION_TYPE: String, defines which encryption type will be used for that SNMP user DES or AES.
- SNMP_USER_AUTH_PASSWORD: String, defines which authentication password will be used for that SNMP user.
- SNMP_USER_ENCRYPTION_PASSWORD: String, defines which encryption password will be used for that SNMP user.

- SNMP_USER_PERMISSION: String, RO (Read-Only) or RW (Read-Write) defines what will be used for that SNMP user.


New keys:
Expand Down