Open Source

Configuring LibreNMS Nginx statistics

This post might help me in configuring net-snmp to deliver Nginx statistics to LibreNMS. As such, this post may not be as helpful to you as the official documentation. Key is this URL: http://127.0.0.1/nginx-status The nginx.conf file needs something like this: NOTE: the fastcgi_pass line might also be fastcgi_pass 10.80.0.92:9000 depending on what you find

Configuring LibreNMS Nginx statistics Read More »

Adding a zroot pool to an existing system

Current FreeBSD versions will allow you to create a zroot zpool from which you can boot. However, when I created the main zpool for slocum (on Fri May 3 2:16 2013), that option did not exist. You might ask: how do I know that date? [dan@slocum:~] $ zfs get creation system NAME PROPERTY VALUE SOURCE

Adding a zroot pool to an existing system Read More »

x8dtu

This is x8dtu (named after the SuperMicro motherboard). This is the new FreshPorts server. The older post is still available In short: FreeBSD 11.2 booting off a mirrored pair of zfsroot SSDs 4.5TB of mirrored ZFS 196612 MB of RAM (yeah, that’s 196GB of RAM) SuperMicro X8DTU motherboard Intel Xeon E5620 @ 2.40GHz (two of

x8dtu Read More »

zpool: FAULTED – too many errors

This server, knew has had an intermittent problem related to CAM status: SCSI Status Error messages. There is a FreeBSD Forums post about it. On Sunday, the problem returned, and this time it degraded the zpool. I collected the information in this gist and I will list the relevant portions below. I had enabled smartd

zpool: FAULTED – too many errors Read More »

Running FreeBSD on OSX using xhyve, a port of bhyve

bhyve is a hypervisor/virtual machine manager developed on FreeBSD. xhyve is port of bhyve to OS X. It is built on top of Hypervisor.framework in OS X 10.10 Yosemite and higher, runs entirely in userspace, and has no other dependencies. I usually use MacPorts, but ran into trouble with xhyve, so this morning I tried

Running FreeBSD on OSX using xhyve, a port of bhyve Read More »

newsyslog: chmod(/var/log/auth.log.6.bz2) in change_attrs: No such file or directory

This problem was difficult to figure out. The cause was simple, but not obvious. Messages such as this were appearing in emails From July: In August: I had no idea why. My initial suspicion was the /etc/newsyslog.conf configuration for that file: [dan@knew:~] $ grep auth /etc/newsyslog.conf /var/log/auth.log root:logcheck 640 7 * @T00 JC [dan@knew:~] $

newsyslog: chmod(/var/log/auth.log.6.bz2) in change_attrs: No such file or directory Read More »

Scroll to Top