adding snmptrapd install to ubuntu
This commit is contained in:
parent
05b8df628c
commit
622b5ea65b
|
@ -337,6 +337,7 @@ server_dependencies=" \
|
||||||
libgeo-ip-perl \
|
libgeo-ip-perl \
|
||||||
arping \
|
arping \
|
||||||
snmp-mibs-downloader \
|
snmp-mibs-downloader \
|
||||||
|
snmptrapd \
|
||||||
libnsl2 \
|
libnsl2 \
|
||||||
openjdk-8-jdk "
|
openjdk-8-jdk "
|
||||||
execute_cmd "apt install -y $server_dependencies" "Installing Pandora FMS Server dependencies"
|
execute_cmd "apt install -y $server_dependencies" "Installing Pandora FMS Server dependencies"
|
||||||
|
@ -837,6 +838,10 @@ sed --follow-symlinks -i -e "s/^openssl_conf = openssl_init/#openssl_conf = open
|
||||||
# Enable postfix
|
# Enable postfix
|
||||||
systemctl enable postfix --now &>> "$LOGFILE"
|
systemctl enable postfix --now &>> "$LOGFILE"
|
||||||
|
|
||||||
|
# Disable snmptrapd
|
||||||
|
systemctl disable --now snmptrapd &>> "$LOGFILE"
|
||||||
|
systemctl disable --now snmptrapd.socket &>> "$LOGFILE"
|
||||||
|
|
||||||
#SSH banner
|
#SSH banner
|
||||||
[ "$(curl -s ifconfig.me)" ] && ipplublic=$(curl -s ifconfig.me)
|
[ "$(curl -s ifconfig.me)" ] && ipplublic=$(curl -s ifconfig.me)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue