№42

... it's better to have good questions

OpenNMS Horizon, Docker, Traefik and Let's Encrypt

2021-08-11 3 min read Container How-To OpenNMS Ronny Trommer

I work from home for over 6 years now and especially when you like networking, want to get stuff up and running and breaking it - you start looking around :) You’ve heard about k8s, k{0,3}s or Microk8s but you don’t want to use it to run your private blog and you find yourself in a spot where the benefits running stuff in containers justify the pain - this article might be something for you :)

Continue reading

Hardening SSH for audit

2021-02-19 2 min read Technology How-To Ronny Trommer

Running a server in the public requires some additional work. Especially if you want management access via SSH for Ansible or if you want break stuff manually with fiddeling around :)

You can run an SSH audit of your public server using https://www.sshaudit.com. This section here is a very condensed way to get an A rating.

Just use strong host key for authentication of the host

# file: /etc/ssh/sshd_config
HostKey /etc/ssh/ssh_host_ed25519_key
HostKey /etc/ssh/ssh_host_rsa_key

Delete existing keys and re-generate the RSA and ED25519 keys

Continue reading

OpenNMS meets HP InsightManager

2009-12-10 1 min read OpenNMS HP How-To Ronny Trommer

Nach einer relativ langen Nacht und etlichen Stunden asterisk-iaxmodem-hylafax debugging habe ich die gunst der Stunde genutzt und die vorbildlich konfigurierten HP InsightManager genauer angesehen. Die folgenden SNMP-OIDs haben sich aus meiner Sicht für die Überwachung als sinnvoll ergeben:

CPQIDA-MIB

Name OID
cpqDaSpareStatus .1.3.6.1.4.1.232.3.2.4.1.1.3
cpqDaLogDrvStatus .1.3.6.1.4.1.232.3.2.3.1.1.4
cpqDaPhyDrvStatus .1.3.6.1.4.1.232.3.2.5.1.1.6

CPQHLTH-MIB

Name OID
cpqHeThermalTempStatus .1.3.6.1.4.1.232.6.2.6.3.0
cpqHeThermalSystemFanStatus .1.3.6.1.4.1.232.6.2.6.4.0
cpqHeThermalCpuFanStatus .1.3.6.1.4.1.232.6.2.6.5.0
cpqHeFltTolPowerSupplyStatus .1.3.6.1.4.1.232.6.2.9.3.1.5
cpqHeResMemModuleCondition .1.3.6.1.4.1.232.6.2.14.11.1.5

Die MIBS können von der ByteSphere MIB-Online Datenbank heruntergeladen werden. Für die Überwachung habe ich den SNMP-Monitor verwendet wie er in der Version ab 1.6.4 mit der Möglichkeit zum SNMP-Table Monitoring bietet. Die vollständige Konfiguration ist im OpenNMS Wiki HP InsightManager dokumentiert und beschrieben. Für den ein oder anderen sollten damit defekte Lüfter, RAID-Verbände und andere Überraschungen keine Probleme mehr darstellen.

Continue reading
Newer posts