Forum

Zabbix 5, simple ap...
 
Notifications
Clear all

Zabbix 5, simple apache stats template and script

1 Posty
1 Users
0 Likes
81 Widok
0
Topic starter

example

This topic was modified 2 miesiące temu by mrmucha
1 Answer
0
Topic starter

FreeBSD example

1. download zabbix 5 apache template https://muszak.eu/download/278035/ and install it

2. download zabbix 5 external script https://muszak.eu/download/278040/ and put into folder /usr/local/etc/zabbix5/zabbix/externalscripts

3. create another file file /usr/local/etc/zabbix5/zabbix/externalscripts/query_apachestats

#!/bin/bash
set -e
/usr/bin/python /usr/local/etc/zabbix5/zabbix/externalscripts/query_apachestats.py "$1" "$2" 2>&1

 

Odpowiedź

Author Name

Author Email

Your question *

 
Preview 0 Revisions Saved
Share: