Skip to content
Example · Observability

InfluxDB and NetSimulyzer export

Runs the NR-NTN RRC stack and exports every KPI as InfluxDB line protocol (file or UDP) on the simulation clock (NTN_INFLUX_WALLCLOCK=1 for wall clock), plus a NetSimulyzer trace for Grafana dashboards.

ntn-observability-demo about 60 s on the server

Parameters (7)

Defaults are the values the browser run form starts from. Pass any of them on the command line as --name=value.

ParameterDefaultUnitDescription
Simulation duration
--simTime
20sSimulation duration (s)
Tag added to every exported InfluxDB point
--runId
demo-1-Tag added to every exported InfluxDB point
Radio backend
--radio
nr-Radio backend: nr (FR1) or mmwave
InfluxDB line-protocol output file
--influxFile
(empty)-InfluxDB line-protocol output file
InfluxDB UDP host
--udpHost
(empty)-InfluxDB UDP host; when set, points are sent there instead of to the file
InfluxDB UDP listener port
--udpPort
8089-InfluxDB UDP listener port
NetSimulyzer JSON output file
--netSim
(empty)-NetSimulyzer JSON output file

Reproduce it locally

With the example's built-in defaults, in the public Docker image:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-observability-demo"

With the same parameters the browser run form starts from:

shell
docker run --rm -it uzairdocker69/ns3-ntn-toolkit:latest ./ns3 run "ntn-observability-demo --simTime=20 --runId=demo-1 --radio=nr --udpPort=8089"

List every argument with ./ns3 run "ntn-observability-demo --PrintHelp".

More Observability examples

Cite this

If you use this module, please cite the article that describes the toolkit: doi:10.1109/OJCOMS.2026.3745010.

M. Uzair, B. G. Aldahlan, A. A. Albar, H. Althumali and A. Alghammas, "ns3-ntn-toolkit: An integrated ns-3 platform for 6G non-terrestrial networks," IEEE Open Journal of the Communications Society, vol. 7, pp. 13440-13467, 2026, doi: 10.1109/OJCOMS.2026.3745010.

BibTeX
@article{uzair2026ns3ntntoolkit,
  author  = {Uzair, Muhammad and Aldahlan, Bassma G. and Albar, Ali A. and
             Althumali, Huda and Alghammas, Adnan},
  title   = {ns3-ntn-toolkit: An Integrated ns-3 Platform for 6G
             Non-Terrestrial Networks},
  journal = {IEEE Open Journal of the Communications Society},
  volume  = {7},
  pages   = {13440--13467},
  year    = {2026},
  doi     = {10.1109/OJCOMS.2026.3745010}
}