Hi,
I've been struggling for several hours with setting up the apache template on one particular host, and now it's time to start begging for help
- other services on the host have been monitored for a couple of years now, networking/dns/communication with the Zabbix server is not the issue.
- I have verified the availability of the server-status page from the Zabbix server (on a different host in same network) and the agent the apache template is installed on
- What appears to be identical apache monitoring on 2 other hosts is running just fine. - no issues
This particular host is not tracking the apache data (no graphs) checking the logs on both hosts it appears that "Preprocessing" is failing even though the data is there:
Looking at just the BusyWorkers (all the variables fail)
Please take a look at the log items below, any help would be much appraciated!!
Honestly don't know if this is the same host, I can't find any real indication
I've been struggling for several hours with setting up the apache template on one particular host, and now it's time to start begging for help

- other services on the host have been monitored for a couple of years now, networking/dns/communication with the Zabbix server is not the issue.
- I have verified the availability of the server-status page from the Zabbix server (on a different host in same network) and the agent the apache template is installed on
- What appears to be identical apache monitoring on 2 other hosts is running just fine. - no issues
This particular host is not tracking the apache data (no graphs) checking the logs on both hosts it appears that "Preprocessing" is failing even though the data is there:
Looking at just the BusyWorkers (all the variables fail)
Please take a look at the log items below, any help would be much appraciated!!
Code:
1641527:20230728:133035.737 error reason for "www.my_fake_server_name.com:apache.workers_total.busy" changed: Preprocessing failed for: {"Server":"nginx","Date":"Fri, 28 Jul 2023 17:30:35 GMT","Type":"text/html; charset=ISO-8859-1","...
1. Failed: cannot extract value from json by path "$.BusyWorkers": no data matches the specified path
Code:
1641517:20230728:133135.298 worker_preprocess_dep_items: FAIL Preprocessing failed for: {"Server":"nginx","Date":"Fri, 28 Jul 2023 17:31:35 GMT","Type":"text/html; charset=ISO-8859-1","...
1. Failed: cannot extract value from json by path "$.BusyWorkers": no data matches the specified path
1641517:20230728:133135.299 worker_preprocess_dep_items(): {"Server":"nginx","Date":"Fri, 28 Jul 2023 17:31:35 GMT","Type":"text/html; charset=ISO-8859-1","Length":1995,"Connection":"keep-alive","Vary":"Accept-Encoding","Encoding":"gzip","Server Version":"Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f mod_fcgid/2.3.9</dt>","Server MPM":"event</dt>","Server Built":"2023-03-08T17:32:54","Current Time":"Friday, 28-Jul-2023 17:31:35 UTC</dt>","Restart Time":"Friday, 28-Jul-2023 17:30:02 UTC</dt>"," Generation":"1</dt>","Parent Server MPM Generation":"0</dt>","Server uptime":" 1 minute 33 seconds</dt>","Server load":"0.17 0.20 0.14</dt>","Total accesses":"4 - Total Traffic: 21 kB - Total Duration: 3808</dt>","CPU Usage":"u.6 s.11 cu0 cs0 - .763% CPU load</dt>","Total FastCGI processes":1,"Process":"cgi_wrapper</b> (/var/www/cgi-bin/cgi_wrapper/cgi_wrapper)<br />","cache type":"<b>SHMCB</b>, shared memory: <b>512000</b> bytes, current entries: <b>5</b><br>subcaches: <b>32</b>, indexes per subcache: <b>88</b><br>time left on oldest entries' objects: avg: <b>249</b> seconds, (range: 249...249)<br>index usage: <b>0%</b>, cache usage: <b>0%</b><br>total entries stored since starting: <b>5</b><br>total entries replaced since starting: <b>0</b><br>total entries expired since starting: <b>0</b><br>total (pre-expiry) entries scrolled out of the cache: <b>0</b><br>total retrieves since starting: <b>0</b> hit, <b>0</b> miss<br>total removes since starting: <b>0</b> hit, <b>0</b> miss<br></td></tr>","ServerVersion":"nginx","Workers":{"waiting":0,"starting":0,"reading":0,"sending":0,"keepalive":0,"dnslookup":0,"closing":0,"logging":0,"finishing":0,"cleanup":0,"slot":0}}
Code:
root@monitor:/etc/zabbix# curl -get http://my_fake_server_ip/server-status-95mf873hgy0?auto my_fake_server_ip ServerVersion: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f mod_fcgid/2.3.9 ServerMPM: event Server Built: 2023-03-08T17:32:54 CurrentTime: Friday, 28-Jul-2023 17:32:23 UTC RestartTime: Friday, 28-Jul-2023 17:30:02 UTC ParentServerConfigGeneration: 1 ParentServerMPMGeneration: 0 ServerUptimeSeconds: 141 ServerUptime: 2 minutes 21 seconds Load1: 0.23 Load5: 0.22 Load15: 0.15 Total Accesses: 35 Total kBytes: 111 Total Duration: 8447 CPUUser: .81 CPUSystem: .17 CPUChildrenUser: 0 CPUChildrenSystem: 0 CPULoad: .695035 Uptime: 141 ReqPerSec: .248227 BytesPerSec: 806.128 BytesPerReq: 3247.54 DurationPerReq: 241.343 BusyWorkers: 1 IdleWorkers: 49 Processes: 2 Stopping: 0 BusyWorkers: 1 IdleWorkers: 49 ConnsTotal: 0 ConnsAsyncWriting: 0 ConnsAsyncKeepAlive: 0 ConnsAsyncClosing: 0 Scoreboard: W_________________________________________________.................................................................................................... TLSSessionCacheStatus CacheType: SHMCB CacheSharedMemory: 512000 CacheCurrentEntries: 32 CacheSubcaches: 32 CacheIndexesPerSubcaches: 88 CacheTimeLeftOldestAvg: 247 CacheTimeLeftOldestMin: 201 CacheTimeLeftOldestMax: 259 CacheIndexUsage: 1% CacheUsage: 1% CacheStoreCount: 32 CacheReplaceCount: 0 CacheExpireCount: 0 CacheDiscardCount: 0 CacheRetrieveHitCount: 0 CacheRetrieveMissCount: 0 CacheRemoveHitCount: 0 CacheRemoveMissCount: 0

Comment