From: Michael Tremer Date: Tue, 21 Oct 2025 10:42:25 +0000 (+0000) Subject: graphs: hostapd: Add graph that shows the station signal X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d780bf2120ead98bfc0b0223b9299a4db18152d;p=telemetry.git graphs: hostapd: Add graph that shows the station signal Signed-off-by: Michael Tremer --- diff --git a/Makefile.am b/Makefile.am index eed0d45..7caea77 100644 --- a/Makefile.am +++ b/Makefile.am @@ -117,6 +117,8 @@ dist_telemetryd_SOURCES = \ src/daemon/graphs/contextswitches.c \ src/daemon/graphs/contextswitches.h \ src/daemon/graphs/graph.h \ + src/daemon/graphs/hostapd.c \ + src/daemon/graphs/hostapd.h \ src/daemon/graphs/loadavg.c \ src/daemon/graphs/loadavg.h \ src/daemon/graphs/memory.c \ diff --git a/po/POTFILES.in b/po/POTFILES.in index 4de5384..c690152 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -25,6 +25,8 @@ src/daemon/graphs/contextswitches.c src/daemon/graphs/contextswitches.h src/daemon/graphs/graph.h src/daemon/graphs.h +src/daemon/graphs/hostapd.c +src/daemon/graphs/hostapd.h src/daemon/graphs/loadavg.c src/daemon/graphs/loadavg.h src/daemon/graphs/memory.c @@ -55,6 +57,8 @@ src/daemon/sources/contextswitches.h src/daemon/sources/df.c src/daemon/sources/df.h src/daemon/sources.h +src/daemon/sources/hostapd.c +src/daemon/sources/hostapd.h src/daemon/sources/ipfrag4.c src/daemon/sources/ipfrag4.h src/daemon/sources/loadavg.c diff --git a/po/ar.po b/po/ar.po index 5d1a77c..dd4047e 100644 --- a/po/ar.po +++ b/po/ar.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Arabic (http://www.transifex.com/mstremer/ipfire/language/" @@ -47,6 +47,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "متوسط الجهد" diff --git a/po/ca.po b/po/ca.po index 81d749f..3f06022 100644 --- a/po/ca.po +++ b/po/ca.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Catalan (http://www.transifex.com/mstremer/ipfire/language/" @@ -45,6 +45,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/po/cs_CZ.po b/po/cs_CZ.po index ced997c..be75f6a 100644 --- a/po/cs_CZ.po +++ b/po/cs_CZ.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Czech (Czech Republic) (http://www.transifex.com/mstremer/" @@ -46,6 +46,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Průměrná zátěž 1m" diff --git a/po/da.po b/po/da.po index bd7b290..b9f16cc 100644 --- a/po/da.po +++ b/po/da.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Danish (http://www.transifex.com/mstremer/ipfire/language/" @@ -46,6 +46,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Gennemsnitlig belastning" diff --git a/po/de.po b/po/de.po index 9f33fed..ec8976b 100644 --- a/po/de.po +++ b/po/de.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2020-09-28 18:12+0100\n" "Last-Translator: Michael Tremer \n" "Language-Team: German (http://www.transifex.com/mstremer/ipfire/language/" @@ -48,6 +48,22 @@ msgstr "Kontextwechsel" msgid "Context Switches/s" msgstr "Kontextwechsel/s" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "Load Average" diff --git a/po/el_GR.po b/po/el_GR.po index 99e07bb..0812fc3 100644 --- a/po/el_GR.po +++ b/po/el_GR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Greek (Greece) (http://www.transifex.com/mstremer/ipfire/" @@ -45,6 +45,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/po/es.po b/po/es.po index 65f0675..96b9512 100644 --- a/po/es.po +++ b/po/es.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Spanish (http://www.transifex.com/mstremer/ipfire/language/" @@ -47,6 +47,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Carga media" diff --git a/po/fa.po b/po/fa.po index 2fcfb9d..a2c0bd7 100644 --- a/po/fa.po +++ b/po/fa.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Persian (http://www.transifex.com/mstremer/ipfire/language/" @@ -48,6 +48,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "متوسط بارگزاری" diff --git a/po/fr.po b/po/fr.po index 6424810..573202e 100644 --- a/po/fr.po +++ b/po/fr.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: French (http://www.transifex.com/mstremer/ipfire/language/" @@ -47,6 +47,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Charge moyenne" diff --git a/po/hr.po b/po/hr.po index 1699641..ce3f00b 100644 --- a/po/hr.po +++ b/po/hr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Croatian (http://www.transifex.com/mstremer/ipfire/language/" @@ -46,6 +46,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Prosječno opterećenje" diff --git a/po/hu.po b/po/hu.po index c624b8a..81c4231 100644 --- a/po/hu.po +++ b/po/hu.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Hungarian (http://www.transifex.com/mstremer/ipfire/language/" @@ -46,6 +46,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Átlag terhelés" diff --git a/po/id.po b/po/id.po index db79d62..6aca36f 100644 --- a/po/id.po +++ b/po/id.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Indonesian (http://www.transifex.com/mstremer/ipfire/language/" @@ -46,6 +46,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Muatan rata-rata" diff --git a/po/it.po b/po/it.po index ff429f1..1bf6f4c 100644 --- a/po/it.po +++ b/po/it.po @@ -12,7 +12,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Italian (http://www.transifex.com/mstremer/ipfire/language/" @@ -50,6 +50,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Caricamento medio" diff --git a/po/ja.po b/po/ja.po index 2878890..fca2b76 100644 --- a/po/ja.po +++ b/po/ja.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Japanese (http://www.transifex.com/mstremer/ipfire/language/" @@ -45,6 +45,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/po/jv.po b/po/jv.po index b5e9f46..444af30 100644 --- a/po/jv.po +++ b/po/jv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Javanese (http://www.transifex.com/mstremer/ipfire/language/" @@ -45,6 +45,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/po/km_KH.po b/po/km_KH.po index 1279729..9087963 100644 --- a/po/km_KH.po +++ b/po/km_KH.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Khmer (Cambodia) (http://www.transifex.com/mstremer/ipfire/" @@ -46,6 +46,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Load មធ្យម" diff --git a/po/nl.po b/po/nl.po index 3863cef..b13a9ea 100644 --- a/po/nl.po +++ b/po/nl.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Dutch (http://www.transifex.com/mstremer/ipfire/language/" @@ -46,6 +46,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Gemiddelde belasting" diff --git a/po/pl.po b/po/pl.po index e146b5c..61a5ef8 100644 --- a/po/pl.po +++ b/po/pl.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Polish (http://www.transifex.com/mstremer/ipfire/language/" @@ -49,6 +49,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "średnie obciążenie" diff --git a/po/pt.po b/po/pt.po index 797448b..745a50d 100644 --- a/po/pt.po +++ b/po/pt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Portuguese (http://www.transifex.com/mstremer/ipfire/language/" @@ -45,6 +45,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/po/pt_BR.po b/po/pt_BR.po index af34ac9..bc9c28c 100644 --- a/po/pt_BR.po +++ b/po/pt_BR.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/mstremer/ipfire/" @@ -46,6 +46,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Carga média" diff --git a/po/pt_PT.po b/po/pt_PT.po index d18952c..a9b35ae 100644 --- a/po/pt_PT.po +++ b/po/pt_PT.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Portuguese (Portugal) (http://www.transifex.com/mstremer/" @@ -45,6 +45,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/po/ro.po b/po/ro.po index e1861c0..5b8f486 100644 --- a/po/ro.po +++ b/po/ro.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Romanian (http://www.transifex.com/mstremer/ipfire/language/" @@ -46,6 +46,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/po/ro_RO.po b/po/ro_RO.po index 48701f1..fe98fa0 100644 --- a/po/ro_RO.po +++ b/po/ro_RO.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Romanian (Romania) (http://www.transifex.com/mstremer/ipfire/" @@ -47,6 +47,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Încărcarea medie" diff --git a/po/ru.po b/po/ru.po index 0b5aea0..7f2719b 100644 --- a/po/ru.po +++ b/po/ru.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Russian (http://www.transifex.com/mstremer/ipfire/language/" @@ -49,6 +49,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Загрузка около" diff --git a/po/rw.po b/po/rw.po index 9315598..522b46c 100644 --- a/po/rw.po +++ b/po/rw.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Kinyarwanda (http://www.transifex.com/mstremer/ipfire/" @@ -45,6 +45,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/po/sk.po b/po/sk.po index 1a75a8d..dadad47 100644 --- a/po/sk.po +++ b/po/sk.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Slovak (http://www.transifex.com/mstremer/ipfire/language/" @@ -45,6 +45,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/po/sq.po b/po/sq.po index 59ee42d..f600216 100644 --- a/po/sq.po +++ b/po/sq.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Albanian (http://www.transifex.com/mstremer/ipfire/language/" @@ -46,6 +46,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Ngarko mesatarisht" diff --git a/po/sr.po b/po/sr.po index 3dfd88d..5cd766d 100644 --- a/po/sr.po +++ b/po/sr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Serbian (http://www.transifex.com/mstremer/ipfire/language/" @@ -46,6 +46,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/po/su.po b/po/su.po index 0b7b849..3e6c4c4 100644 --- a/po/su.po +++ b/po/su.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Sundanese (http://www.transifex.com/mstremer/ipfire/language/" @@ -45,6 +45,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/po/sv.po b/po/sv.po index 01269fa..555b2fa 100644 --- a/po/sv.po +++ b/po/sv.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Swedish (http://www.transifex.com/mstremer/ipfire/language/" @@ -46,6 +46,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Snitt belastning" diff --git a/po/th.po b/po/th.po index 745f950..34c4ef4 100644 --- a/po/th.po +++ b/po/th.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Thai (http://www.transifex.com/mstremer/ipfire/language/th/)\n" @@ -44,6 +44,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/po/tk.po b/po/tk.po index 3015fe5..56713af 100644 --- a/po/tk.po +++ b/po/tk.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Turkmen (http://www.transifex.com/mstremer/ipfire/language/" @@ -45,6 +45,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/po/tr.po b/po/tr.po index 87a5cda..9f19331 100644 --- a/po/tr.po +++ b/po/tr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Turkish (http://www.transifex.com/mstremer/ipfire/language/" @@ -46,6 +46,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Ortalama yük" diff --git a/po/uk.po b/po/uk.po index ab5c954..333b13d 100644 --- a/po/uk.po +++ b/po/uk.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Ukrainian (http://www.transifex.com/mstremer/ipfire/language/" @@ -47,6 +47,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + #, fuzzy msgid "Load Average" msgstr "Завантаження біля" diff --git a/po/uz@Latn.po b/po/uz@Latn.po index dc91689..ba99917 100644 --- a/po/uz@Latn.po +++ b/po/uz@Latn.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Uzbek (Latin) (http://www.transifex.com/mstremer/ipfire/" @@ -45,6 +45,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/po/vi.po b/po/vi.po index a6ce27e..de2d3e3 100644 --- a/po/vi.po +++ b/po/vi.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Vietnamese (http://www.transifex.com/mstremer/ipfire/language/" @@ -45,6 +45,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/po/zh.po b/po/zh.po index a73cb4e..8926914 100644 --- a/po/zh.po +++ b/po/zh.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: IPFire Project\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2025-10-19 13:40+0000\n" +"POT-Creation-Date: 2025-10-21 10:43+0000\n" "PO-Revision-Date: 2015-10-26 17:22+0000\n" "Last-Translator: Michael Tremer \n" "Language-Team: Chinese (http://www.transifex.com/mstremer/ipfire/language/" @@ -45,6 +45,22 @@ msgstr "" msgid "Context Switches/s" msgstr "" +#, python-format +msgid "Station %s - Signal" +msgstr "" + +msgid "RSSI - dBm" +msgstr "" + +msgid "Signal" +msgstr "" + +msgid "dBm" +msgstr "" + +msgid "Last ACK Signal" +msgstr "" + msgid "Load Average" msgstr "" diff --git a/src/daemon/graphs.c b/src/daemon/graphs.c index a7aa6ac..173c793 100644 --- a/src/daemon/graphs.c +++ b/src/daemon/graphs.c @@ -30,6 +30,7 @@ // Load all graphs #include "graphs/conntrack.h" #include "graphs/contextswitches.h" +#include "graphs/hostapd.h" #include "graphs/loadavg.h" #include "graphs/memory.h" #include "graphs/processor.h" @@ -39,6 +40,7 @@ static const td_graph_impl* graph_impls[] = { &conntrack_graph, &contextswitches_graph, + &hostapd_station_signal_graph, &loadavg_graph, &memory_graph, &processor_graph, diff --git a/src/daemon/graphs/hostapd.c b/src/daemon/graphs/hostapd.c new file mode 100644 index 0000000..cd792fb --- /dev/null +++ b/src/daemon/graphs/hostapd.c @@ -0,0 +1,76 @@ +/*############################################################################# +# # +# telemetryd - The IPFire Telemetry Collection Service # +# Copyright (C) 2025 IPFire Development Team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +#############################################################################*/ + +#include + +#include "../string.h" +#include "graph.h" +#include "hostapd.h" + +/* + This graph is showing the signal from the station to the AP. + + It would have been nice to show the other way round, too (last_ack_signal), + but on my development system this is always showing (-95 dBm) for all stations. +*/ + +static int hostapd_station_signal_title(td_ctx* ctx, td_graph* graph, + const char* object, char* title, size_t length) { + return __td_string_format(title, length, _("Station %s - Signal"), object); +} + +static int hostapd_station_signal_vlabel(td_ctx* ctx, td_graph* graph, + const char* object, char* vlabel, size_t length) { + return __td_string_set(vlabel, length, _("RSSI - dBm")); +} + +static int hostapd_station_signal_render(td_ctx* ctx, + td_graph* graph, td_args* args, const char* object) { + int r; + + // This require the source + r = td_graph_require_source(graph, args, "hostapd", object); + if (r < 0) + return r; + + // Header + PRINT_HEADER4(args, _("Current"), _("Average"), _("Minimum"), _("Maximum")); + + // Draw signal + DRAW_LINE2_WITH_LABEL(args, "signal", object, BLACK, _("Signal")); + PRINT_CAMM(args, "signal", object, FLOAT_WITH_UNIT, _("dBm")); + + // Draw last ACK signal + DRAW_LINE2_WITH_LABEL(args, "last_ack_signal", object, GREY, _("Last ACK Signal")); + PRINT_CAMM(args, "last_ack_signal", object, FLOAT_WITH_UNIT, _("dBm")); + + return 0; +} + +const td_graph_impl hostapd_station_signal_graph = { + .name = "HostapdStationSignal", + .render = hostapd_station_signal_render, + .title = hostapd_station_signal_title, + .vlabel = hostapd_station_signal_vlabel, + + // Limits + .lower_limit = -LONG_MAX, + .upper_limit = 0, +}; diff --git a/src/daemon/graphs/hostapd.h b/src/daemon/graphs/hostapd.h new file mode 100644 index 0000000..21ea128 --- /dev/null +++ b/src/daemon/graphs/hostapd.h @@ -0,0 +1,28 @@ +/*############################################################################# +# # +# telemetryd - The IPFire Telemetry Collection Service # +# Copyright (C) 2025 IPFire Development Team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +#############################################################################*/ + +#ifndef TELEMETRY_GRAPH_HOSTAPD_H +#define TELEMETRY_GRAPH_HOSTAPD_H + +#include "../graph.h" + +extern const td_graph_impl hostapd_station_signal_graph; + +#endif /* TELEMETRY_GRAPH_HOSTAPD_H */ diff --git a/src/daemon/source.c b/src/daemon/source.c index 27ae1e8..36a4c73 100644 --- a/src/daemon/source.c +++ b/src/daemon/source.c @@ -350,8 +350,10 @@ static int td_source_register_heartbeat(td_source* self) { if (!self->impl->heartbeat) return 0; +#if 0 // To avoid any load peaks, stagger sources heartbeat = SEC_TO_USEC(rand() % STAGGER); +#endif // Call the heartbeat function immediately r = sd_event_add_time_relative(self->loop, &self->events.heartbeat,