monitor service

Anders Yuran <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <CA+-JXBnorjTGUyczHGkKqQNzBC-+gs73RM7_eYjL4owWLRxcTw@mail.gmail.com>
Hello!
This is absolutely new for me so all possible help is needed.
I have monit 5.25.1 installed on Ubuntu 18.04
It monitor apache2 and mariadb but I also have a backend server installed
for gps tracking. Can I monitor that also?
The traccar.service file looks like this


[Unit]
Description=traccar
After=network.target

[Service]
Type=simple
WorkingDirectory=/opt/traccar
ExecStart=/opt/traccar/jre/bin/java -jar tracker-server.jar conf/traccar.xml
SyslogIdentifier=traccar
SuccessExitStatus=143

[Install]
WantedBy=multi-user.target

-- 
Kind Regards

Anders Yuran

Havouza 15
4607 Pissouri
Cyprus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.