Documentation
Docs Home › Configuration › Hosting Agent Configuration

Hosting Agent Configuration

Hosting Agent configuration reference

Files. /etc/zwall-hosting/agent.yml (v1 unit); /etc/zwall-hosting/agent-v2.yml (v2 unit); /etc/zwall-hosting/hosting-ebpf.env (loader)
Source authority. HostingObservationConfig + configs/agent.hosting-plesk-observe-v2.example.yml

Fail-closed observation. hosting.enforcement must stay false. The Agent never joins a customer-content group; Plesk/site sources stay permission_blocked until exact-path ACLs.

Server/agent keys (server.manager_url, agent.hostname, agent.protection_model: hosting) follow Agent Configuration with Hosting paths.

hosting

Scroll sideways to see the full table. Use the arrow keys when focused.

KeyComponentDescriptionTypeRequiredDefaultAllowed valuesExampleSecret/sensitiveRestart/reloadEditionInteractionsSource authority
hosting.enabledHosting AgentMaster switchboolyes for profiletrue in exampletrue/falsetruenorestartENTERPRISEhosting example
hosting.platformHosting AgentPlatform idstringnopleskstringplesknorestartENTERPRISEhosting example
hosting.profile_versionHosting AgentProfile identitystringnohosting-plesk-observe-v2hosting-plesk-observe-v2norestartENTERPRISEpre-register profile_versionhosting example
hosting.audit_onlyHosting AgentAudit-only collectorsboolnotruetrue/falsetruenorestartENTERPRISEhosting example
hosting.log_onlyHosting AgentLog-onlyboolnotruetrue/falsetruenorestartENTERPRISEhosting example
hosting.enforcementHosting AgentMust stay falseboolnofalsefalsefalsenorestartENTERPRISE409 on rules/restarthosting example
hosting.checkpoint_pathHosting AgentCheckpoint filepathno/var/lib/zwall-hosting/hosting-checkpoints.jsonpathnorestartENTERPRISEhosting example
hosting.poll_intervalHosting AgentSource polldurationno2s2snorestartENTERPRISEhosting example
hosting.poll_max_bytesHosting AgentPer-poll bytesintno10485761048576norestartENTERPRISEhosting example
hosting.poll_max_linesHosting AgentPer-poll linesintno40964096norestartENTERPRISEhosting example
hosting.poll_max_eventsHosting AgentPer-poll eventsintno20482048norestartENTERPRISEhosting example
hosting.poll_max_sink_submissionsHosting AgentSink capintno40964096norestartENTERPRISEhosting example
hosting.poll_max_durationHosting AgentPoll deadlinedurationno30s30snorestartENTERPRISEslow hostshosting example
hosting.checkpoint_bytesHosting AgentCheckpoint sizeintno262144262144norestartENTERPRISEhosting example
hosting.checkpoint_recordsHosting AgentCheckpoint recordsintno512512norestartENTERPRISEhosting example
hosting.checkpoint_intervalHosting AgentCheckpoint perioddurationno250ms250msnorestartENTERPRISEhosting example
hosting.service_intervalHosting Agentsystemd service polldurationno30s30snorestartENTERPRISEservices[]hosting example
hosting.identity_intervalHosting AgentIdentity refreshdurationno5m5mnorestartENTERPRISEhosting example
hosting.auth_rate_thresholdHosting AgentAuth-rate observeintno1010norestartENTERPRISEnot enforcementhosting example
hosting.auth_rate_windowHosting AgentAuth-rate windowdurationno5m5mnorestartENTERPRISEhosting example
hosting.auth_rate_cooldownHosting AgentAuth-rate cooldowndurationno15m15mnorestartENTERPRISEhosting example

hosting.network

Connects the unprivileged Agent to the privileged loader. No attach/drop surface.

Scroll sideways to see the full table. Use the arrow keys when focused.

KeyComponentDescriptionTypeRequiredDefaultAllowed valuesExampleSecret/sensitiveRestart/reloadEditionInteractionsSource authority
hosting.network.enabledHosting AgentUNIX observer clientboolnotruetrue/falsetruenorestartENTERPRISEloader must run firstHostingNetworkConfig
hosting.network.socket_pathHosting AgentObserver socketpathno/run/zwall-hosting-ebpf/observer.sockUNIX path/run/zwall-hosting-ebpf/observer.socknorestartENTERPRISEloader RuntimeDirectoryhosting example
hosting.network.poll_intervalHosting AgentSocket polldurationno5s5snorestartENTERPRISEhosting example
hosting.network.max_response_bytesHosting AgentMax readintno10485761048576norestartENTERPRISEhosting example
hosting.network.max_events_per_pollHosting AgentEvent capintno6464norestartENTERPRISEhosting example
hosting.network.request_timeoutHosting AgentRequest deadlinedurationno20s20snorestartENTERPRISEhosting example
hosting.network.read_timeoutHosting AgentRead deadlinedurationno2s2snorestartENTERPRISEhosting example
hosting.network.write_timeoutHosting AgentWrite deadlinedurationno2s2snorestartENTERPRISEhosting example

hosting.sources

Each element (HostingSourceConfig):

Scroll sideways to see the full table. Use the arrow keys when focused.

KeyComponentDescriptionTypeRequiredDefaultAllowed valuesExampleSecret/sensitiveRestart/reloadEditionInteractionsSource authority
hosting.sources[].idHosting AgentParser idstringyesserver-owned idshosting.ssh.auth.v1norestartENTERPRISEparsers never from UIHostingSourceConfig
hosting.sources[].pathHosting AgentExact log pathpathyesallowlisted path/var/log/auth.lognorestartENTERPRISEoperator ACLs requiredHostingSourceConfig
hosting.sources[].site_idHosting AgentOptional site bindstringnonorestartENTERPRISEsites[].idHostingSourceConfig
hosting.sources[].stateHosting AgentInventory statestringnopermission_blocked / source_not_present / empty=collectpermission_blockednorestartENTERPRISEexample YAMLhosting example
hosting.sources[].reasonHosting AgentWhy blockedstringnopermission_denied / not_presentpermission_deniednorestartENTERPRISEhosting example

Example ids: hosting.ssh.auth.v1, hosting.ftp.auth.v1, hosting.mail.auth.v1, hosting.plesk.panel.v1, hosting.nginx.access.v1, hosting.nginx.error.v1, hosting.apache.access.v1, hosting.apache.error.v1, hosting.php_fpm.error.v1, hosting.mysql.error.v1, hosting.mariadb.error.v1, hosting.fail2ban.observe.v1, hosting.dns.error.v1, hosting.modsecurity.global.metadata.v1.

ModSecurity collector is global metadata only — not full WAF payload.

hosting.services

Scroll sideways to see the full table. Use the arrow keys when focused.

KeyComponentDescriptionTypeRequiredDefaultAllowed valuesExampleSecret/sensitiveRestart/reloadEditionInteractionsSource authority
hosting.servicesHosting Agentsystemd unit names to observestring[]noexample listunit namesssh.servicenorestartENTERPRISEservice_intervalhosting example

Example list: ssh.service, nginx.service, apache2.service, mariadb.service, postfix.service, dovecot.service, xinetd.service, named.service, fail2ban.service, sw-cp-server.service. Observation of unit active state, not start/stop control.

hosting.sites

Scroll sideways to see the full table. Use the arrow keys when focused.

KeyComponentDescriptionTypeRequiredDefaultAllowed valuesExampleSecret/sensitiveRestart/reloadEditionInteractionsSource authority
hosting.sites[].idHosting AgentCategory-safe site idstringyesopaque idsite-safe-idnorestartENTERPRISEnever copy path into eventsHostingSiteConfig
hosting.sites[].document_rootHosting AgentLocal docrootpathyes/var/www/vhosts/SAFE_SITE_NAME/httpdocsnorestartENTERPRISElocal onlyHostingSiteConfig
hosting.sites[].system_userHosting AgentAccount namestringyesSAFE_SITE_USERnorestartENTERPRISEnot copied into eventsHostingSiteConfig

hosting.certificates

Scroll sideways to see the full table. Use the arrow keys when focused.

KeyComponentDescriptionTypeRequiredDefaultAllowed valuesExampleSecret/sensitiveRestart/reloadEditionInteractionsSource authority
hosting.certificates[].idHosting AgentLocal cert labelstringyesplesk-panelnorestartENTERPRISEexpiry-only metadataHostingCertificateConfig
hosting.certificates[].addressHosting AgentLoopback TLS endpointstringyeshost:port127.0.0.1:8443norestartENTERPRISEnames/SANs/bytes never leave hostHostingCertificateConfig