Corrections and additions to FAQ F0097
Cook, Garry
GWCOOK at mactec.com
Tue Dec 23 19:15:02 CET 2003
The pngtogd2 usage that you mention below is exactly what was used to
create the gd2 icons. However, I was unaware of the possible issues
associated with creating them on a different box than that which they
are used on. Perhaps if/when I update these in the future I should leave
out the gd2s and add a text file with instructions on converting them...
Thanks for the heads up, I hope you get good use out of the icons.
Garry W. Cook, CCNA
Network Infrastructure Manager
MACTEC, Inc. - http://www.mactec.com/
303.308.6228 (Office) - 720.220.1862 (Mobile)
> 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_id78&alloc_id371&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