Thanks for the script and for the thread, it has been really useful. I was having the same issues than FireMail. This was because I was using a vhost setting, redirected the domain to another host, and has configured the server status in a virtual host:
Server-status was configured in the admin.generatech.org vhost. I was getting the following:
The script worked perfectly when redirecting /server-status to the virtual host:
Now, I get:
Thanks!
Code:
Redirect permanent / http://www.generatech.org
Code:
ZabbixApacheUpdater.py -o admin.generatech.org -c generatech -z generatech
zabbix_sender [11830]: DEBUG: Answer [{
"response":"success",
"info":"Processed 0 Failed 20 Total 20 Seconds spent 0.000170"}]
Info from server: "Processed 0 Failed 20 Total 20 Seconds spent 0.000170"
sent: 20; skipped: 0; total: 20
Code:
Redirect permanent /server-status http://admin.generatech.org/server-status Redirect permanent / http://www.generatech.org
Code:
ZabbixApacheUpdater.py -c generatech -z generatech
zabbix_sender [15371]: DEBUG: Answer [{
"response":"success",
"info":"Processed 20 Failed 0 Total 20 Seconds spent 0.000188"}]
Info from server: "Processed 20 Failed 0 Total 20 Seconds spent 0.000188"
sent: 20; skipped: 0; total: 20

Comment