Statusmap icons

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Statusmap icons

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Statusmap icons

Post by tmcdonald »

You can install pngtogd2 in CentOS with yum install pngtogd2 then use it like pngtogd2 icon.png icon.gd2 0 1.
Former Nagios employee
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: Statusmap icons

Post by orani »

i found this solution at google but didnt worked for me. when executing yum install pngtogd2 i recieve no package available error
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Statusmap icons

Post 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.
Former Nagios employee
orani
Posts: 169
Joined: Wed May 06, 2015 3:33 pm

Re: Statusmap icons

Post by orani »

OK. Now it worked perfect. Thank you for help
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Statusmap icons

Post by tmcdonald »

Great! I'll be closing this thread now, but feel free to open another if you need anything in the future!
Former Nagios employee
Locked