Hi all!
For my system, there is a need to add icons similar to the standard ones (OK, Error, Warning, etc.).
I tried these recommendations:
- https://helpdesk.paessler.com/en/support/solutions/articles/52723
- https://helpdesk.paessler.com/en/support/solutions/articles/64436
These entries are pretty old.
Either something has changed in the PRTG, or am I doing something wrong.
Is there an opportunity now, in 2020, to add your own sensor status icons? To be able to use both standard icons (led_green, led_red, etc.) and your own, which will also change depending on the state.
Article Comments
Those articles discuss other issues - not those that interest me.
There is also a link to an article that I have already tried.
The article https://helpdesk.paessler.com/en/support/solutions/articles/64436 is already old, but it is as close as possible to what I need. But even the file names are different.
I need to change the default status icons. I understand that this is not officially supported anymore, but maybe you have some example of the implementation of such an opportunity?
Is it technically possible to do this?
Feb, 2020 - Permalink
Looks like I found a pretty easy solution. And the solution is quite aesthetic, to some extent.
With minimal intervention, I edit the mesageonly_related_background.htm file, delete the text from it. The result is a clean field with color according to status, with a custom size.
Then in the sensor html_before I place the usual img tag, insert the svg or png image with transparency, and get a very versatile sensor.
It seems to me that this is the best option: interference with the original components is minimal, no need to edit the CSS, etc.
Although I was also able to add a picture to another sensor, although not quite correctly.
Feb, 2020 - Permalink
I'm afraid we don't have any more recent instructions nor examples for changing map objects and status icons.
However I'm glad you could find a solution. Thank you for sharing these information here for future customers. :)
Feb, 2020 - Permalink
In fact, and thanks to other examples in the knowledge base, I have achieved some results.
These were not the results that I wanted, but if I worked more with html/css, I think that would have produced good results too. Just unfortunately my knowledge in the CSS is too small.
But, probably, minimal intervention in the core of the prtg is the most correct way.
Feb, 2020 - Permalink
Hello,
You may want to have a look at this article:Where can I find custom map objects and other map customizations?
However, please note that we cannot offer further support here, since customization is officially not supported anymore.
Kind Regards,
Timo Dambach
Paessler Tech Support
Feb, 2020 - Permalink