Oh no: Service Monitor is empty in Direct Admin
Just a quick tut on adding and deleting services that Direct Admin monitors.
DA will read the file services.status in /usr/local/directadmin/data/admin/. To edit
cat /usr/local/directadmin/data/admin/services.status
or
vim /usr/local/directadmin/data/admin/services.status
This should look like this
da-popb4smtp=ON dovecot=ON exim=ON httpd=ON lfd=ON mysqld=ON named=ON pure-ftpd=ON spamd=ON sshd=ON
You can add to this, save the file and your done.
Look at all your services with
systemctl --type=service
Take the name, for example “spamassassin.service”, copy only the name “spamassassin” and put it in the services.status file like this
spamassassin=ON