mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,5 Tsd.
aktive Profile

#systemadministration

0 Beiträge0 Beteiligte0 Beiträge heute

Well I had a productive night, (and far too long of one at that...) I managed to finally get my network diagnostics script rewritten with standard libraries and curses support over on

github.com/eVAL-Agency/net-dia

Currently it supports Linux and Windows, but I'm yet to test it on Windows and probably have a few issues with that build, (I'll get around to testing that OS though).

It's a command-line app which monitors an interface and reports in real-time some useful information for diagnosing a network, including displaying what switch+port it's connected to, (if supported by your infrastructure).

It even supports wifi connections, (though some of the information will be different as wifi doesn't seem to support LLDP). When monitoring a wifi interface it'll report signal strength, AP, and link quality.

The original application was written with Textual, but it was too laggy and glitchy for my preferences, so I re-wrote the app with #Curses.

Now I'm contemplating if I can port this to an Android client too, but not sure how many people walk around with a USB-C to Ethernet adapter in their work back.

Also thinking of implementing an option to log data for future analysis of a network.

---

Network Diagnostics

Interface ️✅ enp6s0
Type ️✅ ethernet
Status ️✅ UP
Speed ️✅ 1.0 Gbps
Duplex ️✅ Full Duplex
MTU ️✅ 1500
LLDP Peer ️✅ US-8-60W - Port 4 [12:34:56:78:90:ab:cd] (US-8-60W, 7.0.50.15613, Linux 3.6.5)
IP Address ️✅ 10.200.0.227/24
Routes ️✅ Default gateway 10.200.0.1, Direct access to 10.200.0.0/24
Nameservers ️✅ 10.200.0.3
Domain Name ️✅ house.local
Neighbors ️✅ 6 visible devices
WAN IP ️✅ 1.2.3.4
Internet Status ️✅ Connected
Latency ️✅ 50.17 ms
DNS Resolution ️✅ up.eval.bz -> 159.89.55.61

---

Collection of network scanning and diagnostic utilities for technician workstations and on-prem management boxes - eVAL-Agency/net-diag
GitHubGitHub - eVAL-Agency/net-diag: Collection of network scanning and diagnostic utilities for technician workstations and on-prem management boxesCollection of network scanning and diagnostic utilities for technician workstations and on-prem management boxes - eVAL-Agency/net-diag

Man! #FreeBSD pkg-upgrade(8) does not find a pending update if given the currently installed package name with version, which is the output of: pkg audit --quiet.

pkg-audit(8) lacks the option to list only the package name sans version. It also lacks the option to find possibly available updates itself. Of course it does.

🤬🖕

As of #pkg v2.1.4, in order to check for pending updates of vulnerable packages, need to strip the version string from the output of pkg-audit(8)😫:

# sh

rc=0
if ! pkg audit --fetch --recursive
then
rc=1
printf "\n# Checking if updates for vulnerable packages are available ...\n"

# "pkg-query(8)" command is used to extract the package name sans version as
# "pkg-upgrade(8)" can only cope with either that or name-version of the
# updated package yet to be installed.
pkg audit --quiet | xargs pkg query '%n' | xargs pkg upgrade --dry-run
fi

exit $rc

Announcing Libero GNU/Linux 1.1 - A New Admin CD Release

I'm excited to share the release of Libero GNU/Linux version 1.1, a specialized i486 Admin CD built on Gentoo Linux foundations. This release represents months of development focused on creating a lightweight, powerful administration and installation environment.

You can check the full website at libero.eu.org

Or you can visit our Github Repository: github.com/liberolinux

Server monitoring 101

I have been running a @yunohost server for ~5 years now, but there is one question I have never been able to answer: how loaded is my server? 👀

I know, I am a terrible sysad (actually, I am not a sysad, at all), because I have no idea how to determine:

  • if my server is running smoothly
  • if the server is under stress, and why
  • what applications are the heaviest
  • if there is the possibility of installing more apps
  • when peaks of stress are happening and what is causing them

In general, I would like to understand the fundamentals of server monitoring: what are the most critical metrics and what do they mean? What parameters do I have to keep an eye on?

I installed Prometheus and Grafana, but then I realized I have absolutely no idea what to do next… Do you have any suggestions?

I thought about watching some video tutorials, but I would not really know how they would relate to YunoHost installations.

Please, if possible reply in this thread of the YunoHost forum, so that we can keep track of this useful information also for others in the future. 🌻

Once I will have learned the basics, I would be very happy to write some pointers about this in the documentation, or an essential YunoHost Monitoring tutorial.

YunoHost Forum · YunoHost Monitoring 101Hi everyone! I have been running a YunoHost server for ~5 years now, but there is one question I have never been able to reply to: how loaded is my server? 👀 I am a terrible administrator, I have no idea how to determine: if my server is running smoothly if the server is under stress, and why what applications are the heaviest if there is the possibility of installing more apps when peaks of stress are happening and what is causing them In general, I would like to understand the fundam...
#sysAd#YunoHost#askFedi