Nové číslo časopisu Raspberry Pi zdarma ke čtení: Raspberry Pi Official Magazine 156 (pdf).
Armbian, tj. linuxová distribuce založená na Debianu a Ubuntu optimalizovaná pro jednodeskové počítače na platformě ARM a RISC-V, ke stažení ale také pro Intel a AMD, byl vydán ve verzi 25.8.1. Přehled novinek v Changelogu.
Včera večer měl na YouTube premiéru dokumentární film Python: The Documentary | An origin story.
Společnost comma.ai po třech letech od vydání verze 0.9 vydala novou verzi 0.10 open source pokročilého asistenčního systému pro řidiče openpilot (Wikipedie). Zdrojové kódy jsou k dispozici na GitHubu.
Ubuntu nově pro testování nových verzí vydává měsíční snapshoty. Dnes vyšel 4. snapshot Ubuntu 25.10 (Questing Quokka).
Řada vestavěných počítačových desek a vývojových platforem NVIDIA Jetson se rozrostla o NVIDIA Jetson Thor. Ve srovnání se svým předchůdcem NVIDIA Jetson Orin nabízí 7,5krát vyšší výpočetní výkon umělé inteligence a 3,5krát vyšší energetickou účinnost. Softwarový stack NVIDIA JetPack 7 je založen na Ubuntu 24.04 LTS.
Národní úřad pro kybernetickou a informační bezpečnost (NÚKIB) spolu s NSA a dalšími americkými úřady upozorňuje (en) na čínského aktéra Salt Typhoon, který kompromituje sítě po celém světě.
Společnost Framework Computer představila (YouTube) nový výkonnější Framework Laptop 16. Rozhodnou se lze například pro procesor Ryzen AI 9 HX 370 a grafickou kartu NVIDIA GeForce RTX 5070.
Google oznamuje, že na „certifikovaných“ zařízeních s Androidem omezí instalaci aplikací (včetně „sideloadingu“) tak, že bude vyžadovat, aby aplikace byly podepsány centrálně registrovanými vývojáři s ověřenou identitou. Tato politika bude implementována během roku 2026 ve vybraných zemích (jihovýchodní Asie, Brazílie) a od roku 2027 celosvětově.
Byla vydána nová verze 21.1.0, tj. první stabilní verze z nové řady 21.1.x, překladačové infrastruktury LLVM (Wikipedie). Přehled novinek v poznámkách k vydání: LLVM, Clang, LLD, Extra Clang Tools a Libc++.
----- modules/ping ----- creating images for 10.33.10.67 ( AP Bratrk) ... Use of uninitialized value in printf at ./diagrams.pl line 167 (#1) (W uninitialized) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign a defined value to your variables. To help you figure out what was undefined, perl tells you what operation you used the undefined value in. Note, however, that perl optimizes your program and the operation displayed in the warning may not necessarily appear literally in your program. For example, "that $foo" is usually optimized into "that " . $foo, and the warning will refer to the concatenation (.) operator, even though there is no . in your program. hour 0x0 /var/www/html/hotsanic/ping/10.33.10.67-hour.png 6 hours 0x0 /var/www/html/hotsanic/ping/10.33.10.67-6h.png day 0x0 /var/www/html/hotsanic/ping/10.33.10.67-day.png week 0x0 /var/www/html/hotsanic/ping/10.33.10.67-week.png month 0x0 /var/www/html/hotsanic/ping/10.33.10.67-month.png year 0x0 /var/www/html/hotsanic/ping/10.33.10.67-year.png creating images for 10.33.0.38 ( Topenar) ... hour 0x0 /var/www/html/hotsanic/ping/10.33.0.38-hour.png 6 hours 0x0 /var/www/html/hotsanic/ping/10.33.0.38-6h.png day 0x0 /var/www/html/hotsanic/ping/10.33.0.38-day.png week 0x0 /var/www/html/hotsanic/ping/10.33.0.38-week.png month 0x0 /var/www/html/hotsanic/ping/10.33.0.38-month.png year 0x0 /var/www/html/hotsanic/ping/10.33.0.38-year.pngPři incializaci HotSaNICu je vše ok:
[root@topenar hotsanic]# ./rrdgraph start Starting rrdtimer... reading & checking config (/var/www/hotsanic/settings) ... evaluating cmdline arguments... entering daemon mode... [root@topenar log]# cat HotSaNIC.log ---------------------------------------- 1171484547: archiver successfully forked into background and running on PID 19665 1171484547 Initializing modules... 1171484547 END Initializing modules... -------------------------------------------------- netstat running on PID 19503 part running on PID 19509 ping running on PID 19513 system running on PID 19517 traffic running on PID 19524Ještě uvádím výpis konfiguračního skriptu modulu ping:
[root@topenar settings]# cat mod_ping # query-interval in seconds. # INTERVAL="30" # set type of diagrams (whatever you like best ... Thanx M. Renner! ) # classic (default) -> shade ranges for min, avg, max in different colors # simple -> only shade area between min and max in light blue # TYPE="simple" # set diagram scaling # log -> set logarithmic scaling (default) # lin -> set linear scaling # SCALE="lin" # set diagram initial upper border in milliseconds (for better graph comparison) # UPPER="10" sets all diagrams upper border to 10ms # UPPER="0.01" sets all diagrams upper border to 100us # UPPER="1" # how many ping processes shall be done in parallel. Reducing the number # causes the process to run longer, but keeps your system load a bit lower. # PARALLEL="4" # use system's "ping" command instead of perl library. This is useful when not # running as root. Fallback is implemented in case Net:ing is not installed # on your system # # SYSPING="0" use Net:ing library (default) # SYSPING="1" use system command # SYSPING="0" # If SYSPING is set to "0", then you may specify the protocol used to ping all # hosts. Valid are "icmp" (the default) and "tcp". If you run HotSaNIC without # root privileges, you should use "tcp" - but note, that some hosts don't reply # to tcp ping packages! # # PROTOCOL="icmp" # PROTOCOL="icmp" # configure multiple destinations of the form: # ?=>,<+> # ?=10.33.10.67, AP Bratrk ?=10.33.0.38, TopenarU výše uvedených 6 řádků ? = H O S T a + = d e s c r i p t i o n
HotSaNIC/modules/ping# ./read-data.pl status HotSaNIC/modules/ping# ./read-data.pl showargs HotSaNIC/modules/ping# ./read-data.pl update
[root@topenar ping]# ./read-data.pl status PING: Operating system "linux" not supported! PING: Falling back to "default" PING: module running on PID 4128 for 1104.13 sec. last DB update: 6 (max: 6149) seconds ago DBs found: 10.33.10.133.rrd 10.33.0.38.rrd 10.33.0.10.rrd 10.33.10.67.rrd [root@topenar ping]# ./read-data.pl showargs PING: Operating system "linux" not supported! PING: Falling back to "default" DEBUGLEVEL = -1 HOST:10.33.0.38 = Topenar HOST:10.33.10.133 = AP Bratrk INTERVAL = 30 MODNAME = PING PARALLEL = 4 PROTOCOL = icmp SNMPGET = not configured SNMPWALK = not configured SYSPING = 0 VARDIR = /var/www/hotsanic/var//modules/system [root@topenar ping]# ./read-data.pl update PING: Operating system "linux" not supported! PING: Falling back to "default" [root@topenar ping]#
SYSPING="0" a PROTOCOL="icmp" nebo "tcp SYSPING="1" a PROTOCOL="icmp" nebo "tcpvýsledek je stejný = žádné vytvořené imgs.
a pak uz jen koukat do logu v HotSaNIC/var/log/HotSaNIC.loggrep DEBUG /usr/local/HotSaNIC/settings DEBUGLEVEL="110"
grep DEBUG /usr/local/HotSaNIC/modules/ping/platform/default.pm if (defined($args{DEBUGLEVEL}) && $args{DEBUGLEVEL}>100) { print " > $host\n"; } if ($args{DEBUGLEVEL}>101) { printf " < %-15s (%3.2f/%3.2f/%3.2f)\n",$host,$min,$avg,$max; }
Use of uninitialized value in printf at ./diagrams.pl line 167 (#1) (W uninitialized) An undefined value was used as if it were already defined. It was interpreted as a "" or a 0, but maybe it was a mistake. To suppress this warning assign a defined value to your variables. To help you figure out what was undefined, perl tells you what operation you used the undefined value in. Note, however, that perl optimizes your program and the operation displayed in the warning may not necessarily appear literally in your program. For example, "that $foo" is usually optimized into "that " . $foo, and the warning will refer to the concatenation (.) operator, even though there is no . in your program.
grep DEBUG /usr/local/HotSaNIC/modules/ping/platform/default.pm if (defined($args{DEBUGLEVEL}) && $args{DEBUGLEVEL}>100) { print " > $host\n"; } if ($args{DEBUGLEVEL}>101) { printf " < %-15s (%3.2f/%3.2f/%3.2f)\n",$host,$min,$avg,$max; }takze by tam mel byt host nebo IP a zatim sesbirane hodnoty
[root@topenar log]# cat HotSaNIC.log ---------------------------------------- 1172522458: archiver successfully forked into background and running on PID 18406 1172522458: scanning /var/www/hotsanic/modules for modules. NETSTAT PART PING SYSTEM TRAFFIC 1172522458: initializing modules... 1172522458 Initializing modules... 1172522458 END Initializing modules... -------------------------------------------------- starting module: "netstat" NETSTAT: using libs: linux.pm 1.3 / common.pm 1.2 netstat running on PID 18434 starting module: "part" PART: Operating system "linux" not supported! PART: Falling back to "default" PART: using libs: default.pm 1.13 / common.pm 1.2 part running on PID 18447 starting module: "ping" PING: Operating system "linux" not supported! PING: Falling back to "default" PING: using libs: default.pm 1.11 / common.pm 1.3 ping running on PID 18451 starting module: "system" SYSTEM: using libs: linux.pm 1.15 / common.pm 1.2 / syssnmp.pm 1.18 system running on PID 18457 starting module: "traffic" TRAFFIC: using libs: linux.pm 1.7 / common.pm 1.2 / syssnmp.pm 1.11 traffic running on PID 18462 1172522504: main loop running 1172522504: signaling 18451 18447 18462 18434 18457 0.101(ping) > 10.33.10.133 0.134(part) 0.137(traffic) 0.141(netstat) 0.117(system) < 10.33.10.133 (0.00/0.00/0.01) 1172522510: main loop running 1172522510: signaling 18451 18447 18462 18434 18457 0.167(ping) 0.128(part) 0.108(traffic) 0.136(netstat) 0.128(system) 1172522520: main loop running 1172522520: signaling 18451 18447 18462 18434 18457 0.192(ping) 0.11(part) 0.132(traffic) 0.167(netstat) 0.129(system) 1172522530: main loop running 1172522530: signaling 18451 18447 18462 18434 18457 0.119(ping) 0.168(part) 0.178(traffic) 0.137(netstat) 0.192(system) 1172522540: main loop running 1172522540: signaling 18451 18447 18462 18434 18457 0.137(ping) > 10.33.10.133 0.138(part) 0.169(traffic) 0.11(netstat) 0.155(system) < 10.33.10.133 (0.00/0.00/0.01) 1172522550: main loop running 1172522550: signaling 18451 18447 18462 18434 18457 0.165(ping) 0.116(part) 0.121(traffic) 0.155(netstat) 0.181(system) 1172522560: main loop running 1172522560: signaling 18451 18447 18462 18434 18457 0.158(ping) 0.143(part) 0.162(traffic) 0.189(netstat) 0.109(system) 1172522570: main loop running 1172522570: signaling 18451 18447 18462 18434 18457 0.139(ping) > 10.33.10.133 0.139(part) 0.142(traffic) 0.174(netstat) 0.104(system) < 10.33.10.133 (0.00/0.00/0.01) 1172522580: main loop running 1172522580: scanning /var/www/hotsanic/modules for modules. NETSTAT PART PING SYSTEM TRAFFIC netstat running on PID 18434 part running on PID 18447 ping running on PID 18451 system running on PID 18457 traffic running on PID 18462 1172522580: signaling 18451 18447 18462 18434 18457 0.108(ping) 0.194(part) 0.108(traffic) 0.159(netstat) 0.192(system) 1172522590: main loop running 1172522590: signaling 18451 18447 18462 18434 18457 0.165(ping) 0.129(part) 0.157(traffic) 0.132(netstat) 0.109(system) 1172522600: main loop running 1172522600: signaling 18451 18447 18462 18434 18457 0.17(ping) > 10.33.10.133 0.143(part) 0.106(traffic) 0.117(netstat) 0.144(system) < 10.33.10.133 (0.00/0.00/0.01) 1172522610: main loop running 1172522610: signaling 18451 18447 18462 18434 18457 0.172(ping) 0.177(part) 0.181(traffic) 0.122(netstat) 0.183(system) 1172522620: main loop running 1172522620: signaling 18451 18447 18462 18434 18457 0.141(ping) 0.163(part) 0.186(traffic) 0.132(netstat) 0.196(system) 1172522630: main loop running 1172522630: signaling 18451 18447 18462 18434 18457 0.104(ping) > 10.33.10.133 0.149(part) 0.167(traffic) 0.179(netstat) 0.101(system) < 10.33.10.133 (0.00/0.00/0.01) 1172522640: main loop running 1172522640: signaling 18451 18447 18462 18434 18457 0.192(ping) 0.103(part) 0.153(traffic) 0.185(netstat) 0.16(system) 1172522650: main loop running 1172522650: signaling 18451 18447 18462 18434 18457 0.112(ping) 0.177(part) 0.142(traffic) 0.113(netstat) 0.154(system) 1172522660: main loop running 1172522660: signaling 18451 18447 18462 18434 18457 0.133(ping) > 10.33.10.133 0.167(part) 0.183(traffic) 0.125(netstat) 0.157(system) < 10.33.10.133 (0.00/0.01/0.02) 1172522670: main loop running 1172522670: signaling 18451 18447 18462 18434 18457 0.131(ping) 0.132(part) 0.195(traffic) 0.135(netstat) 0.158(system) 1172522680: main loop running 1172522680: signaling 18451 18447 18462 18434 18457 0.132(ping) 0.198(part) 0.131(traffic) 0.146(netstat) 0.141(system) 1172522690: main loop running 1172522690: signaling 18451 18447 18462 18434 18457 0.187(ping) > 10.33.10.133 0.174(part) 0.119(traffic) 0.107(netstat) 0.126(system) < 10.33.10.133 (0.00/0.01/0.01) 1172522700: main loop running 1172522700: scanning /var/www/hotsanic/modules for modules. NETSTAT PART PING SYSTEM TRAFFIC netstat running on PID 18434 part running on PID 18447 ping running on PID 18451 system running on PID 18457 traffic running on PID 18462 1172522700: signaling 18451 18447 18462 18434 18457 0.145(ping) 0.156(part) 0.196(traffic) 0.104(netstat) 0.115(system)
make site-perl-installPřeju hodně zdaru.
tak jeste je mozne zkusit tento patch http://charon.hkfree.org/wiki/index.php/Monitorov%C3%A1n%C3%AD_serveru#ping-ten odkaz nefunguje, je tu neco aktualnejsiho? FATE
Tiskni
Sdílej: