The Sentinel Agent configuration covers service identity, discovery targets, system and process metric thresholds, notification channels, and scheduling.
Naming. Labeled Sentinel Agent in the web UI; the config file, binary, and settings keys below still use the discovery_agent / disco* names.
Tip: you don’t have to write this file by hand — the Component Config Builder generates a ready-to-run discovery_agent.json from a few guided questions. Its Express mode defaults are documented here.
Service Configuration (discovery_agent.json)
This file must be in the same directory as the executable.
Password of the internal adminMNS machine account, used for component-to-component API authentication (for example, the Webserver logging in to Enable this agent or Push Settings). Must be identical across all Mugnsoft components. When empty, adminMNS is not created and the Webserver cannot drive this agent
shipped sample value
_sharedInternal must hold the same value in monitor.json, webserver.json, integrator.json and discovery_agent.json. A mismatch makes Enable / Push Settings fail with a bcrypt error in the target’s log. See Internal component secret for details and rotation.
Discovery Targets
Field
Type
Description
processes
string
Comma-separated process names (e.g., "nginx,mysqld,java")
ports
string
Comma-separated TCP ports to monitor (e.g., "80,443,3306")
"true" identifies application protocols from packet payloads. "false" stops the capture loop from ever reading packet contents; protocols then fall back to port-number and process-name inference
"true"
discoCaptureLoopbackEnabled
string
"true" also captures the loopback interface, where host-local IPC lives. Bandwidth figures rise once enabled, since host-local traffic starts being counted
"false"
Both flags are re-read at the start of every collection run, so a change applies on the next cycle without a restart. An absent or unreadable key falls back to the default above, so configurations written before these keys existed keep their previous behaviour.
Packet capture is a runtime dependency. Without a pcap runtime (Npcap on Windows, libpcap on Linux) and the privilege to open it, every bandwidth value stays at 0 — the agent stays up and the topology map is still built. See Packet capture is a runtime dependency for the per-platform requirements, and Bandwidth is always zero to diagnose it.
discoCaptureLoopbackEnabled is Linux-only today. The interface test uses Linux device naming (lo), so the flag has no effect on Windows.
System Metric Thresholds
CPU
Field
Description
discoCPUGFixedThreshCri
Critical CPU % threshold
discoCPUGFixedThreshMaj
Major CPU % threshold
discoCPUGFixedThreshMin
Minor CPU % threshold
discoCPUGMonEnabled
Enable/disable CPU monitoring ("true"/"false")
Memory
Field
Description
discoMEMGFixedThreshCri
Critical memory % threshold
discoMEMGFixedThreshMaj
Major memory % threshold
discoMEMGFixedThreshMin
Minor memory % threshold
discoMEMGMonEnabled
Enable/disable memory monitoring
Load Average (Linux only)
Field
Description
discoLoadAvg5minGFixedThreshCri
Critical 5-min load average threshold
discoLoadAvg5minGFixedThreshMaj
Major threshold
discoLoadAvg5minGFixedThreshMin
Minor threshold
discoLoadAvg5minGMonEnabled
Enable/disable load average monitoring
Filesystem
Field
Description
discoFSGFixedThreshCri
Critical filesystem % threshold
discoFSGFixedThreshMaj
Major threshold
discoFSGFixedThreshMin
Minor threshold
discoFSGMonitored
Which filesystems to monitor (e.g., "/,/data")
TCP Sockets
Field
Description
discoTCPSocketsGFixedThreshCri
Critical TCP socket count threshold
discoTCPSocketsGFixedThreshMaj
Major threshold
discoTCPSocketsGFixedThreshMin
Minor threshold
CPU I/O Wait (Linux only)
Field
Description
discoCpuIOWaitGFixedThreshCri
Critical I/O wait % threshold
discoCpuIOWaitGFixedThreshMaj
Major threshold
discoCpuIOWaitGFixedThreshMin
Minor threshold
Per-Process Metric Thresholds
Each process metric supports either fixed thresholds or auto-thresholds (not both).
Fixed-threshold fields left empty ("") are unset: the agent applies an internal unreachable threshold, so no alert fires for that metric until the auto-threshold baseline is computed or an explicit value is set. The web UI displays unset fields as ∞. The legacy sentinel value 999999999999999.00 used by older releases is automatically normalized back to "" by the agent.
CPU
Field
Description
discoCPUPFixedThreshCri
Critical per-process CPU %
discoCPUPFixedThreshMaj
Major threshold
discoCPUPFixedThreshMin
Minor threshold
discoCPUPAutoThreshold
"true" to auto-calculate from history
discoCPUPMonEnabled
Enable/disable
Memory
Field
Description
discoMEMPFixedThreshCri
Critical per-process memory threshold
discoMEMPFixedThreshMaj
Major threshold
discoMEMPFixedThreshMin
Minor threshold
discoMEMPAutoThreshold
Auto-calculate
discoMEMPMonEnabled
Enable/disable
Swap
Field
Description
discoSWAPPFixedThreshCri
Critical swap threshold
discoSWAPPFixedThreshMaj
Major threshold
discoSWAPPFixedThreshMin
Minor threshold
discoSWAPPAutoThreshold
Auto-calculate
discoSWAPPMonEnabled
Enable/disable
I/O Read
Field
Description
discoIostatReadPFixedThreshCri
Critical I/O read bytes/s
discoIostatReadPFixedThreshMaj
Major threshold
discoIostatReadPFixedThreshMin
Minor threshold
discoIostatReadPAutoThreshold
Auto-calculate
I/O Write
Field
Description
discoIostatWritePFixedThreshCri
Critical I/O write bytes/s
discoIostatWritePFixedThreshMaj
Major threshold
discoIostatWritePFixedThreshMin
Minor threshold
discoIostatWritePAutoThreshold
Auto-calculate
CPU User Mode
Field
Description
discoCPUUserPFixedThreshCri
Critical CPU user-mode %
discoCPUUserPFixedThreshMaj
Major threshold
discoCPUUserPFixedThreshMin
Minor threshold
Threads
Field
Description
discoNumThreadsPFixedThreshCri
Critical thread count
discoNumThreadsPFixedThreshMaj
Major threshold
discoNumThreadsPFixedThreshMin
Minor threshold
File Descriptors (Linux only)
Field
Description
discoNumFDsPFixedThreshCri
Critical FD count
discoNumFDsPFixedThreshMaj
Major threshold
discoNumFDsPFixedThreshMin
Minor threshold
Network Traffic
Per-process network traffic thresholds use a JSON map:
">" alert when above threshold, "<" alert when below
critical
Critical threshold in kbits/s
major
Major threshold in kbits/s
minor
Minor threshold in kbits/s
Log File & Directory Monitors
Beyond system and per-process metrics, the agent can monitor log files (pattern matches, staleness, throughput) and directories (file count, total size). These are defined as logMonitors and dirMonitors lists in the agent settings, each with its own path, schedule, and rules.