Page 1 of 1
Statusmap icons
Posted: Thu Aug 11, 2016 5:43 am
by orani
How can i convert a png file to gd2 file to use it at nagios statusmap.
I am using centos and any solutions i found is about ubuntu and didnt work at centos
Re: Statusmap icons
Posted: Thu Aug 11, 2016 3:31 pm
by tmcdonald
You can install pngtogd2 in CentOS with yum install pngtogd2 then use it like pngtogd2 icon.png icon.gd2 0 1.
Re: Statusmap icons
Posted: Sun Aug 14, 2016 5:42 am
by orani
i found this solution at google but didnt worked for me. when executing yum install pngtogd2 i recieve no package available error
Re: Statusmap icons
Posted: Mon Aug 15, 2016 10:20 am
by tmcdonald
Sorry about that, my mind was thinking one thing while my hands typed another. The correct command to install should be:
yum install gd-progs
Then you should have the pngtogd2 command.
Re: Statusmap icons
Posted: Sun Aug 21, 2016 1:04 pm
by orani
OK. Now it worked perfect. Thank you for help
Re: Statusmap icons
Posted: Mon Aug 22, 2016 9:37 am
by tmcdonald
Great! I'll be closing this thread now, but feel free to open another if you need anything in the future!