Thursday, August 11, 2011

Hobbit/Xymon - Install on CentOS (coming soon)

A few notes for my future post...

After installing Xymon (Hobbit) on a CentOS system I found that the graphs didn't contain any text.  Very frustrating to say the least.  I did the following to temporarily solve my problem, but this might become permanent.

 Used the ldd tool to determine which rrdtool library was used

# ldd /usr/lib/xymon/server/bin/hobbitgraph.cgi =>  (0xffffe000) => /lib/ (0xf7f5a000) => /usr/lib/ (0xf7f10000) => /usr/lib/ (0x004c4000) => /lib/ (0x00b9d000) => /lib/ (0x00a3b000) => /usr/lib/ (0x003ac000) => /usr/lib/ (0x0050a000) => /usr/lib/ (0xf7ef8000) => /lib/ (0x00bc3000) => /lib/ (0x00ba8000)
    /lib/ (0x00a1c000)

Then...I did a strings and grep to see what ttf file it references

# strings /usr/lib/ |grep ttf

File did not exist nor the directory it was referencing...need to go back and determine why this is.

Created directory as referenced above.

Grep'd for the "DejaVuSnasMono-Roman.ttf" font and didn't find it on the system.  However I did find a very similar one named "DejaVuLGCSansMono.ttf and created a symbolic link to it for a test.

# ln -s /usr/share/fonts/dejavu-lgc/DejaVuLGCSansMono.ttf ./DejaVuSansMono-Roman.ttf

Presto.  Worked like a charm.

No comments: