Getting Nginx logs into Victoria-Logs

My goal today: get nginx logs into Victoria-Logs. I’ve already gotten Victoria-Logs running on FreeBSD and replaced syslog with syslog-ng to get TLS NOTE: This post was originally only about Nginx. I’ve since added general syslog messages to the configuration. Also, the Adding an nginx proxy in front of Victoria-Labs post might be helpful before proceeding here. Over the past 48 hours or so, I’ve managed to get Nginx logs flowing from an […]

Getting Nginx logs into Victoria-Logs Read More »

Adding an nginx proxy in front of Victoria-Labs

Victoria-Logs has an built-in UI – and it’s easier for me to access via my web browser if I put Nginx in front of it. In this post: FreeBSD 15.0 victoria-logs-1.50.0_2 nginx-1.30.2_2,3/li> Victoria Logs config This is the main configuration, as found in /etc/rc.conf: Those \ and multiple lines, yea, don’t do that, put it all on one line. I’ve done that above to make it easier for you to read. Nginx This

Adding an nginx proxy in front of Victoria-Labs Read More »

Replacing syslogd with syslog-ng (sysutils/syslog-ng) on FreeBSD

I just got Victoria Logs running. Now I want to get logs into it. For starters, I want to get the logs on the host itself into Victoria Logs. I figure this is a log-risk experiment. In this post: FreeBSD 15.0 victoria-logs-1.50.0_2 syslog-ng-4.11.0_2 I will be using TLS between syslog-ng and victoria-logs – you will notice this is all on the same host, and some of you might say: you don’t need TLS

Replacing syslogd with syslog-ng (sysutils/syslog-ng) on FreeBSD Read More »

LibreNMS 26.6.0 & itable cache directories vntl/var/db/

I updated my version of LibreNMS to 26.6.0 and there are “decent sized refactor to the rrd processes” – I’m seeing the following: This is an issue with fontconfig The advice I was given: “XDG_CACHE_HOME might help, but I’m not sure if that is the right fix…” I first created a new directory (I’ve since discovered creating the directory is not necessary, adding the configuration item is sufficient): [12:45 besser dvl /var/db/librenms] %

LibreNMS 26.6.0 & itable cache directories vntl/var/db/ Read More »

Getting Victoria Logs running on FreeBSD

This post is only about getting Victoria Logs running on FreeBSD. A future post will go over configuration and getting logs in. I’m hoping Victoria Logs can fill the role which ElasticSearch once tried to fill, but failed; it was too finicky and fragile for my use. In this post: FreeBSD 15.0 victoria-logs-1.50.0_2 mkjail-0.0.8 Jail creation I’m going to run this in a jail, like most things. You don’t have to. I’m using

Getting Victoria Logs running on FreeBSD Read More »

Let’s Encrypt: Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6

Today, about a nearly two weeks after making some config changes for some Let’s Encrypt certs, today I saw new-to-me messages: In this post: FreeBSD 15.0 acme.sh-3.1.3_1 Looking up that URL, I found: Let’s see: root@certs:/var/db/acme/certs # host acme-v02.api.acmeencrypt.org Host acme-v02.api.acmeencrypt.org not found: 3(NXDOMAIN) root@certs:/var/db/acme/certs # Oh. I posted on Mastodon before proceeding. First things first. Priority matters. Then I went into /var/db/acme/certs/r720-02-pg01.example.org/r720-02-pg01.example.org.conf and made this change: In short, acmeencrypt became letsencrypt. I

Let’s Encrypt: Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 6 Read More »

Giving poudriere a jump start

From time to time, I build my ports for a different version of MySQL, or Python, or, as in tonights case, PHP. My usual build command is: [23:43 pkg01 dvl ~] % sudo poudriere bulk -j 150amd64 -p default -z primary -f /usr/local/etc/poudriere.d/buildlists/primary In this post: FreeBSD 15.0 poudriere-3.4.8 For me to build against PHP85, I first created this file: [23:56 pkg01 dvl /usr/local/etc/poudriere.d] % cat 150amd64-default-php85-make.conf DEFAULT_VERSIONS+= php=85 With that file in

Giving poudriere a jump start Read More »

How changes to poudriere.conf affect the build time

NOTE: I was starting my 6th build when I realized the log links are not publicly accessible. Sorry about that: https://pkg02.int.unixathome.org/ should not resolve for you. I have a new server in the basement, known as r7425-01 – it’s beefy. It’s newer than the other hosts I have. Should I retire one of the older servers? First, let’s see if it’s faster. My primary use case: building packages via poudriere. In this post:

How changes to poudriere.conf affect the build time Read More »

acme.sh – Let’s Encrypt: Renewing using Le_API=https://acme.zerossl.com/v2/DV90

For a few days now, the cronjob which runs acme.sh to renew my Let’s Encrypt certificates was tossing out errors for the same two certs. Today, I went looking in the logs. In this post: FreeBSD 15.0 acme.sh-3.1.3_1 hostnames have been altered to obscure those actually in use – the real reason I do this is to trigger the security by obscurity zealots The cronjob My cronjob looks like this: The logs The

acme.sh – Let’s Encrypt: Renewing using Le_API=https://acme.zerossl.com/v2/DV90 Read More »

r7425-01

This is the Dell R7425 host known as r7425-01. At idle, despite holding 12 x 12TB HDD, this chassis is pulling about 300-350 watts. gpart zpool list zpool status zfs list dmesg sesutil show [22:28 r7425-01 dvl ~] % sudo sesutil show ses0: ; ID: 500056b345a433ff Desc Dev Model Ident Size/Status Drive Slot 0 da0 ATA HGST HUH721212AL 8CGSV9DG Unknown Drive Slot 1 da1 ATA HGST HUH721212AL 8CGSXG6G Unknown Drive Slot 2 da2

r7425-01 Read More »

Scroll to Top