Skip to content

Commit

Permalink
Merge pull request #5 from testainers/dev
Browse files Browse the repository at this point in the history
Version 0.0.5.
  • Loading branch information
edufolly authored Aug 14, 2024
2 parents e5d64bf + fb95a66 commit 4bf2d5f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,15 @@ Obrigado pelo seu apoio contínuo!
| SNMP_COMMUNITY | -- | public |
| SNMP_LOCATION | -- | -- |
| SNMP_CONTACT | -- | -- |
| SNMP_SERVICES | -- | -- |
| SNMP_SERVICES | -- | 72 |
| SNMP_V3_USER | -- | -- |
| SNMP_V3_USER_TYPE | rouser - rwuser | rouser |
| SNMP_V3_AUTH_PROTOCOL | MD5 - SHA | SHA |
| SNMP_V3_AUTH_PWD | -- | -- |
| SNMP_V3_PRIV_PROTOCOL | DES - AES | AES |
| SNMP_V3_PRIV_PWD | -- | -- |

If `SNMP_LOCATION`, `SNMP_CONTACT` or `SNMP_SERVICES` are not set, they may
be writable.
If `SNMP_LOCATION` or `SNMP_CONTACT` are not set, they may be writable.

## How to Use

Expand Down
4 changes: 1 addition & 3 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ else
export SNMP_CONTACT=""
fi

if [ -n "$SNMP_SERVICES" ]; then
export SNMP_SERVICES="sysServices $SNMP_SERVICES"
else
if [ -z "$SNMP_SERVICES" ]; then
export SNMP_SERVICES="72"
fi

Expand Down
2 changes: 1 addition & 1 deletion etc/snmp/snmpd.template.conf
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ${SNMP_LOCATION}
${SNMP_CONTACT}
# Application + End-to-End layers
# sysServices
${SNMP_SERVICES}
sysServices ${SNMP_SERVICES}

#
# Process Monitoring
Expand Down
2 changes: 1 addition & 1 deletion version.yaml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: 0.0.4
version: 0.0.5

0 comments on commit 4bf2d5f

Please sign in to comment.