Corrections and additions to FAQ F0097

Paul L. Allen pla at softflare.com
Tue Dec 23 19:08:25 CET 2003


I downloaded the cook extra icons and found that the gd2s in that package
would not display in the status map.  After a lot of digging I finally 
found the answer.  The internal format of gd2 changes from time to time
and one version of the gd libraries may not be able to cope with the
format create by another version.  The answer to this problem is to
convert the pngs on the system running Nagios.

That leads to the next problem.  The usage of pngtogd2 has changed from
that implied in the FAQ.  It is now:

    pngtogd2 in.png out.gd2 cs fmt

where cs is the chunk size (can be 0 to 4096 and makes no difference on
file
size for typical Nagios images) and fmt is 1 for raw or 2 for compressed.
So a typical invocation for use with Nagios would be:

    pngtogd2 in.png out.gd2 0 1

-- 
Paul Allen
Softflare Support


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list