Uptime Kuma 2 установка и мониторинг сервисов без VPS

Даже самые надёжные и отказоустойчивые системы иногда могут преподносить неприятные сюрпризы. Что уж говорить про обычные VPS-сервера и запущенные на них проекты. Рано или поздно может случиться ситуация, когда сайт или какой-то сервис «упал». Причины бывают разные: от внешних (например, сбой у провайдера или проблемы на стороне хостинга) до внутренних — ошибка в коде, нехватка ресурсов или некорректные настройки. К таким ситуациям важно быть готовым заранее. И лучший способ — настроить мониторинг, который будет следить за работой сервисов и вовремя оповещать вас, если что-то пошло не так. Один из удобных инструментов для этого — Uptime Kuma . Это относительно молодой (по сравнению с «тяжеловесами» вроде Zabbix) проект, который активно развивается, прост в установке и отлично подходит для новичков. В этой статье мы разберёмся:

https://habr.com/ru/articles/941516/

#Uptime_kuma #VPS #docker_хостинг #SNMP #SMTP #HTTP #Мониторинг_сервисов

Uptime Kuma 2 установка и мониторинг сервисов без VPS

Даже самые надёжные и отказоустойчивые системы иногда могут преподносить неприятные сюрпризы. Что уж говорить про обычные VPS-сервера и запущенные на них проекты. Рано или поздно может случиться...

Хабр

TOMORROW!
Get ready to finally understand your network data.
We're going live to break down everything from #SNMP headaches to modern tools like gNMI, Suricata, and more.

⏰ Set a reminder for August 28th, at 10 am PDT | 6 pm BST | 7 pm CEST!

https://bit.ly/3JAZloa

#LiveStream #SNMP #SysAdmin #SRE

Got this one running now. Pretty hard to find out how to configure things, but now only left to configure #Nagios #SNMP #Monitoring of it.

Pretty cool cleant removed 3 Switches and now have 48 * 10G .

Long time there was no need for a console cable.

This works great also it is a used one.

Tired of fighting with SNMP and confusing network data? 😤
Join our "Nonsense Networking" live stream where we make sense of network #metrics, #logs, and #flows. We'll cover the common pain points and show you better alternatives.

📅 August 28th at 10 am PDT | 6 pm BST | 7 pm CEST

https://bit.ly/45ykGpy

#NetworkMonitoring #SysAdmin #SNMP #Netflow #Prometheus

Did you know you can really nicely pretty print your #snmp data with snmptable and csview?

E.g.

snmptable -Ci -Cb -Cf , -OX -m ALL <your v2c / v3 credentials > <your snmp host> IF-MIB::ifXTable | tail +3 | csview

No csview? You should but you can use “column -s, -t” too

You might need need a different separator with -Cf if your data has commas (e.g. -Cf “;” )

If your output has weird characters in it, you also might need to pipe it through “iconv -c -f utf-8 -t ascii” before csview

Мониторим ONU/ONT с помощью Python/Flask и snmpwalk

Всем привет. Я сетевой инженер в интернет провайдере. В данном посте я расскажу, как я сделал для техподдержки инструмент, для мониторинга абонентских ONU на Python. И избавился от кучи ручной работы.

https://habr.com/ru/articles/926334/

#сетевая_автоматизация #python #snmp #flask

Мониторим ONU/ONT с помощью Python/Flask и snmpwalk

Предисловие Всем привет. Я работаю сетевым инженером в интернет провайдере. Я уже как то рассказывал , как мы мониторим абонентские PON терминалы в телеграм боте.  В какой то момент захотелось...

Хабр

I’ve got some `while true; do …` loops running against a couple of routers to monitor two problematic interfaces and storing the data in a CSV per interface.

I suspect that there is a way to get (most of) the same information via #SNMP.

But I don’t know what OIDs I want nor do I (knowingly) have MIBs for them.

So text parsing it is.

https://oldbytes.space/@drscriptt/114821149706223977

DrScriptt (@drscriptt@oldbytes.space)

I wrote some #awk to parse output from `show interface` on #Cisco IOS devices this evening as one does. It expands the ~27 lines of dense text with multiple values on each line to be 68 discrete data points that can be worked with.

OldBytes Space - Mastodon
SNMPv2c vs SNMPv3 : focus sur la sécurité

À l'aide de Wireshark, découvrez les différences entre SNMPv3 et SNMPv2c afin de choisir le protocole le plus adapté pour sécuriser votre supervision.

IT-Connect

https://antranigv.am/posts/2025/06/1087/

A while back I needed to get the input voltage from one of our UPSes, so I used bsnmpwalk(1) to get the information needed and ran it in a script with a loop and sleep. Running it in tmux(1), of course.

#!/bin/shlastoff="maybe"while true;do inpvol=$(bsnmpwalk -o quiet -s public@172.20.42.101 1.3.6.1.2.1.33.1.3.3.1.3) [ $? != 0 ] && \ curl -s -X POST \ https://api.telegram.org/botXXX:YYY/sendMessage \ -d chat_id=-ZZZ \ -d text="Something is wrong with the SNMP server" [ "${inpvol}" -lt 200 ] && \ curl -s -X POST \ https://api.telegram.org/botXXX:YYY/sendMessage \ -d chat_id=-ZZZ \ -d text="Power seems to be off. I see Input Voltage as ${inpvol}" && \ lastoff="true" [ "${inpvol}" -ge 200 ] && [ "${lastoff}" == "true" ] && \ curl -s -X POST \ https://api.telegram.org/botXXX:YYY/sendMessage \ -d chat_id=-ZZZ \ -d text="Power back on. I see Input Voltage as ${inpvol}" && \ lastoff="false" printf "%s --- %s\n" "$(date)" "${inpvol}" sleep 60done

This got the job done, but I guess there’s place for improvement (leave a reply).

Anyways, I kept forgetting that I need to run the script in tmux after reboots, so I decided to use daemon(8).

touch /etc/rc.localchmod +x /etc/rc.localcat - >> /etc/rc.local#!/bin/shdaemon -u nobody -r -R 5 -f -t ups-notifier -o /var/log/ups_notifier.log /usr/local/bin/ups_notifier.sh

Again, there’s a place for improvement, specifically I can use a proper rc.d(8) script, yet again, this gets the job done.

Gotta say, I love the simplicity of FreeBSD.

#FreeBSD #Shell #SNMP

Antranig Vartanian