Hi all,
It is possible to change the size of the green (or red during a fault) circles?
Thanks,
Regards
statusmap circle size
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: statusmap circle size
This is not a normal feature, though you may be able to track this piece of core back to it's source with a browser plugin such as firebug. There you may be able to change the values, otherwise you could submit a feature request at:
http://tracker.nagios.org/
http://tracker.nagios.org/
Re: statusmap circle size
Hi,
solved,
I modified the file statusmap.c.
I replaced the function gdImageArc with gdImageFilledArc.
The result is a very nice and visible filled circle
Bye
solved,
I modified the file statusmap.c.
I replaced the function gdImageArc with gdImageFilledArc.
The result is a very nice and visible filled circle
Code: Select all
/* draw a target around root hosts (hosts with no parents) */
if(temp_host!=NULL && use_highlights==TRUE){
if(temp_host->parent_hosts==NULL){
gdImageFilledArc(map_image,x1+(DEFAULT_NODE_WIDTH/2),y1+(DEFAULT_NODE_WIDTH/2),(DEFAULT_NODE_WIDTH*2),(DEFAULT_NODE_WIDTH*2),0,360,status_color,4);