Запуск nxagentd на FCOS
-
Запуск агента под Fedora CoreOS, если вдруг кому то понадобиться.
mkdir /var/log/netxms tar zxfv nxagent-3.8.382-linux-x86_64.tar.gz -C / cat << EOF >> /etc/nxagentd.conf # Log File LogFile=/var/log/netxms/nxagentd.log # IP white list, can contain multiple records separated by comma. # CIDR notation supported for subnets. MasterServers=X.X.X.X EOF ########################################### cat << EOF >> /etc/systemd/system/nxagentd.service [Unit] Description=NetXMS Agent After=network.target network-online.target [Service] Type=forking ExecStart=/opt/netxms/bin/nxagentd -d PIDFile=/var/run/nxagentd.pid LimitCORE=infinity Restart=on-failure [Install] WantedBy=multi-user.target Alias=netxms-agent.service EOF chcon -Rv -t bin_t -u system_u /opt/netxms systemctl enable --now nxagentd
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login