Skip to content

Commit

Permalink
Fixed warnings for snmtraps image
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Jun 21, 2024
1 parent a30f680 commit 48a86df
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Dockerfiles/snmptraps/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ COPY ["conf/usr/sbin/zabbix_trap_handler.sh", "/usr/sbin/"]

USER 1997

CMD ["/usr/sbin/snmptrapd", "-n", "-t", "-X", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A", "--doNotFork=yes", "--agentuser=zabbix", "--agentgroup=zabbix"]
CMD ["/usr/sbin/snmptrapd", "-n", "-t", "-X", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A", "--doNotFork=yes", "--agentuser=zabbix"]
2 changes: 1 addition & 1 deletion Dockerfiles/snmptraps/alpine/conf/etc/snmp/snmptrapd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ doNotFork yes
# File in which to store the process ID of the notification receiver
pidFile /tmp/snmptrapd.pid
# Disables support for the NOTIFICATION-LOG-MIB
doNotRetainNotificationLogs yes
#doNotRetainNotificationLogs yes

authCommunity log,execute,net public
disableAuthorization yes
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/snmptraps/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ COPY ["conf/usr/sbin/zabbix_trap_handler.sh", "/usr/sbin/"]

USER 1997

CMD ["/usr/sbin/snmptrapd", "-n", "-t", "-X", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A", "--doNotFork=yes", "--agentuser=zabbix", "--agentgroup=zabbix"]
CMD ["/usr/sbin/snmptrapd", "-n", "-t", "-X", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A", "--doNotFork=yes", "--agentuser=zabbix"]
2 changes: 1 addition & 1 deletion Dockerfiles/snmptraps/centos/conf/etc/snmp/snmptrapd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ doNotFork yes
# File in which to store the process ID of the notification receiver
pidFile /tmp/snmptrapd.pid
# Disables support for the NOTIFICATION-LOG-MIB
doNotRetainNotificationLogs yes
#doNotRetainNotificationLogs yes

authCommunity log,execute,net public
disableAuthorization yes
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/snmptraps/ol/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ COPY ["conf/usr/sbin/zabbix_trap_handler.sh", "/usr/sbin/"]

USER 1997

CMD ["/usr/sbin/snmptrapd", "-n", "-t", "-X", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A", "--doNotFork=yes", "--agentuser=zabbix", "--agentgroup=zabbix"]
CMD ["/usr/sbin/snmptrapd", "-n", "-t", "-X", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A", "--doNotFork=yes", "--agentuser=zabbix"]
2 changes: 1 addition & 1 deletion Dockerfiles/snmptraps/ol/conf/etc/snmp/snmptrapd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ doNotFork yes
# File in which to store the process ID of the notification receiver
pidFile /tmp/snmptrapd.pid
# Disables support for the NOTIFICATION-LOG-MIB
doNotRetainNotificationLogs yes
#doNotRetainNotificationLogs yes

authCommunity log,execute,net public
disableAuthorization yes
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/snmptraps/rhel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@ COPY ["conf/usr/sbin/zabbix_trap_handler.sh", "/usr/sbin/"]

USER 1997

CMD ["/usr/sbin/snmptrapd", "-n", "-t", "-X", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A", "--doNotFork=yes", "--agentuser=zabbix", "--agentgroup=zabbix"]
CMD ["/usr/sbin/snmptrapd", "-n", "-t", "-X", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A", "--doNotFork=yes", "--agentuser=zabbix"]
2 changes: 1 addition & 1 deletion Dockerfiles/snmptraps/rhel/conf/etc/snmp/snmptrapd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ doNotFork yes
# File in which to store the process ID of the notification receiver
pidFile /tmp/snmptrapd.pid
# Disables support for the NOTIFICATION-LOG-MIB
doNotRetainNotificationLogs yes
#doNotRetainNotificationLogs yes

authCommunity log,execute,net public
disableAuthorization yes
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/snmptraps/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,4 @@ COPY ["conf/usr/sbin/zabbix_trap_handler.sh", "/usr/sbin/"]

USER 1997

CMD ["/usr/sbin/snmptrapd", "-n", "-t", "-X", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A", "--doNotFork=yes", "--agentuser=zabbix", "--agentgroup=zabbix"]
CMD ["/usr/sbin/snmptrapd", "-n", "-t", "-X", "-C", "-c", "/etc/snmp/snmptrapd.conf", "-Lo", "-A", "--doNotFork=yes", "--agentuser=zabbix"]
2 changes: 1 addition & 1 deletion Dockerfiles/snmptraps/ubuntu/conf/etc/snmp/snmptrapd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ doNotFork yes
# File in which to store the process ID of the notification receiver
pidFile /tmp/snmptrapd.pid
# Disables support for the NOTIFICATION-LOG-MIB
doNotRetainNotificationLogs yes
#doNotRetainNotificationLogs yes

authCommunity log,execute,net public
disableAuthorization yes
Expand Down

0 comments on commit 48a86df

Please sign in to comment.