ScalarX monitoring is based on a decentralized approach designed for infrastructure that does not always run in a single data center, or even on a single continent.
 
ScalarX does not artificially centralize what should remain distributed. Our clients may have servers in several countries, with several providers, or in their own data centers. Our monitoring is designed for that reality.
 
Each StackX server can dynamically generate its own local operational state, exposed through a dedicated HTTPS monitoring endpoint. Pingdom, SolarWinds, or any other system capable of checking a web page can then verify that endpoint externally.
 
The objective is to separate the server’s local state, service availability, the network path, and the geographic measurement point.
 
This model is especially useful for multi-provider, multi-country, multi-continent, or hybrid architectures, where a measurement from a single location can provide an incomplete or even misleading view of operational reality.

ScalarX Monitoring Model

ScalarX Monitoring Model
PrinciplePractical Application
Local server stateEach machine can produce its own operational state through StackX Monitoring System
Usable source of truthA dedicated HTTPS endpoint returns local checks in a format an external tool can read
External checkPingdom, SolarWinds, another tool, or a manual check can query this monitoring endpoint
Independent third partyChecks can be performed by an external provider independent of the monitored infrastructure
Geographic measurementThe measurement point can be selected according to the region, client, provider, or production scenario
Infrastructure decouplingMonitoring does not require a ScalarX data center, a single cloud region, or a proprietary agent
StackX Monitoring System screenshot showing the local state of a DRS node
Example of local StackX Monitoring System state. Each server can produce a readable local operational state that Pingdom, SolarWinds, or another monitoring tool can check externally over HTTPS.

What Monitoring Helps Distinguish

What Monitoring Helps Distinguish
QuestionOperational Interpretation
Is the server healthy locally?Expected processes, filesystems, services, and local checks reported by StackX
Is the service responding?External validation of the exposed endpoint and associated services
Is the issue on the server?Correlation among local state, processes, services, and reported errors
Is the issue on the network?Comparison between a correct local state and unavailability observed from an external point
Does the issue depend on geography?Interpretation based on country, transit, peering, CDN, provider, or BGP path

Why Centralized Monitoring Can Be Misleading

Why Centralized Monitoring Can Be Misleading
SituationInterpretation Risk
Server in Australia, monitoring in EuropeObserved latency does not necessarily represent the actual experience of a client in the United States
Application on several continentsOne measurement point cannot summarize the overall state of the service
Degraded transit or peeringThe alert may come from the network path, not the server
Asymmetric route or temporary congestionA transient error may originate in the Internet path, not the managed infrastructure
Specific CDN, provider, or regionAn outage may be localized without making the service globally unavailable

StackX Monitoring ToolingSMS, Munin, alerts, and external checks

StackX Monitoring Tooling
ComponentRole
StackX Monitoring System (SMS)Generates a local server state that an external check can use
HTTPS monitoring endpointDedicated address generated during deployment to return operational state without exposing the internal structure
Local check profileExpected processes, filesystems, services, and checks based on the machine’s role
Gradual transitionThe current SMS generation can temporarily coexist with a legacy check during migration
MuninHistorical metrics protected by HTTPS authentication
sxpostcheckPost-install audit and StackX component consistency checks
sxnetstatOperational network view of observed connections, ports, and IP addresses
sxfpmcheckLocal PHP-FPM pool checks, with JSON, full, and OpenMetrics modes

Additional StackX DiagnosticsCPU, memory, storage, and databases

Additional StackX Diagnostics
ToolOperational Use
memcalcMeasures RAM usage by service, user, or PID
sxsqlyzeMariaDB/MySQL analysis: database/table sizes, growth, fragmentation, engines, and indexes
sxpgdbInventory, display, and doctor functions for PostgreSQL resources linked to environments
sxmdbsyncMariaDB/MySQL synchronization between environments, useful for recovery, testing, or PRD/DRS paths
sxbkpmdb / sxbkppgdbMariaDB/MySQL and PostgreSQL backup with logs, retention, and execution checks
sxserialcheckDNS serial consistency checks across name servers

What Monitoring Does Not Require

What Monitoring Does Not Require
Absent ConstraintWhy It Matters
No mandatory central platformMonitoring can be verified from several tools or external points
No required proprietary agentA simple HTTPS check can be enough to validate the locally generated state
No single cloud regionMulti-provider or multi-continent environments remain monitorable
No fixed network topologyThe model adapts to dedicated servers, public cloud, private cloud, disaster recovery, or hybrid environments
No dependency on a ScalarX data centerThe server retains the ability to produce its operational state locally

Typical Local ChecksServices, network, backups, and replication

Typical Local Checks
CheckStackX Example
Critical processesApache, SSH, cron, fail2ban, PHP-FPM, Redis, OpenSearch, RabbitMQ, or profile-specific services
FilesystemsChecks expected mount points and critical volumes
RAID / ZFS poolsChecks volume and pool state, degradation, or errors depending on the architecture
Load averageDetects CPU pressure, saturation, or abnormal system behavior
RAM usageMemory view by service, user, or PID through tools such as memcalc
Application servicesPHP-FPM by version, databases, RabbitMQ, application components, or dedicated services
Replication / synchronizationSQL role, replication lag, file exchange state, and preparation of PRD / DRS synchronization
NetworkExposed ports, active connections, observed IP addresses, and consistency with filtering rules
Post-install consistencyExpected StackX files, configuration, monitoring, logs, permissions, and services

Use Cases

Use Cases
ContextBenefit
Isolated but critical serverCheck essential components locally without imposing a heavy platform
Multi-site infrastructureCompare local state and external availability across regions
DR / DRSCheck production and recovery nodes separately
Multi-providerAvoid confusing a provider outage, network transit issue, and server failure
International clientAdapt measurement points to the users’ geographic reality