Nagios the turd

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)

[permalink] · Blog ·