Ad Widget

Collapse

Monitoring webapp logs exposed via http

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nicolimo86
    Junior Member
    • Nov 2019
    • 2

    #1

    Monitoring webapp logs exposed via http

    Hi,
    I would like to know how you would use zabbix to monitor webapp logs that are only available via http url.
    The scenario looks like this:
    1) host1 (zabbix-server.v4.4): I have ssh access to this host, and I can install software on it.
    2) host2 (target):
    - No ssh access.
    - No rights to install any additional software.
    - It runs a webapp on a Tomcat
    - The logs of such tomcat are exposed via http url (http basic authentication required. Eg. http://187.12.12.12:2567/admin/logs/catalina.out)

    HOSTS ADDITIONAL INFOS:
    - The 2 hosts are in the same network and they can see each other.
    - On host1 (zabbix-server) is possible to retrieve the log files using wget.
    - On host1 (zabbix-server) is possible to install zabbix-sender.

    MONITORING ADDITIONAL INFOS:
    - zabbix-server should receive the content of the log files, and parse each line looking for errors.

    Thanks for you help in advance!

Working...