Ad Widget

Collapse

Can I import multiple images ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • augusstynr
    Junior Member
    • Jan 2009
    • 4

    #1

    Can I import multiple images ?

    Hi,
    Wiki has a set of nice icons which I would like to add to the zabbix 1.8.
    All is good but it will take me for ever ( hours ) to do it by hand?
    Has anyone wrote a script to do it and if so can you share it?
    Thanks in advance.
    robert
  • Rudlafik
    Senior Member
    • Nov 2018
    • 144

    #2
    1. Convert image to Base64 encoded image. The maximum size of the encoded image is 1 MB. Than ZBX API. https://www.zabbix.com/documentation...e/image/create
    OR
    2. Create map add factory icons 1 - 100... than export to XML Next edit XML. Replace factory icons Base64 encoded by yours custom Base64 encoded icons change name and import.

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #3
      Just 12 years and answer came...

      Comment


      • Rudlafik
        Rudlafik commented
        Editing a comment
        I know, but in that epoch I have strong opinion that Windows is best OS and Microsoft software are better way for resolving problems :-D. I wrote answer becouse this is perfect Knowlge Base for Zabbix. Information mayby for other.

      • Por
        Por commented
        Editing a comment
        Rudlafik Indeed it was useful, here I am 3 years later using this method. Thank you!
    Working...