Tag Archives: perl

munin: File is not a perl storable

The problem

I recently got me a bunch of mails from cron, informing me about a failure

File is not a perl storable at /usr/lib/perl/5.18/Storable.pm line 398, at /usr/share/perl5/Munin/Master/Utils.pm line 279.

Most of the graphs (but not all graphs) for a host was not displaying correctly. Instead of the graph I saw the actual data.

Not really finding any relevant answers to my querys on Google, I found this page. Not exactly the same error, but I did find some valuable information about how to further investigate the problem.

The solution

Run munin-cron as user munin to see if displays anymore information about the problem:

Posted in Linux | Tagged , , , , | Leave a comment

CamelCase

CamelCase, also known as medial capitals, is easy to achieve with some help of perl:

echo 'watch the bump!' |perl -pe 's/b([a-z])/u$1/g;'

becomes:

Watch The Bump!
Posted in Linux | Tagged , , , | Leave a comment