Nagios the turd
From Garbage In, Garbage Out
After upgrading to FreeBSD 6.3 (from 6.2), my nagios setup kept going to 100% cpu over and over. There has been recent discussion and even patches posted on the FreeBSD list but those didn't help so much.
However, this did:
21:18 PST | jfesler@goat:~/ % cat /etc/libmap.conf [/usr/local/nagios/bin/nagios] libpthread.so.2 libthr.so.2 libpthread.so libthr.so [bin/nagios] libpthread.so.2 libthr.so.2 libpthread.so libthr.so
Restart nagios, then use lsof to verify that it linked to libthr instead of libpthread. (OR .. just check your CPU)
Originally published: 2008-01-31 21:19:00 -0800, by jfesler