Ad Widget

Collapse

Adding HTML to screens

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • qix
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2006
    • 423

    #1

    Adding HTML to screens

    Hi Alexei,

    Would it be easy to implement an option to put raw html code in your screens?
    I know that I can use an external URL to include pages in screens, but I would like to add some custom text to screens so I can make a 'title'.

    We have a screen in zabbix that shows us the images from our IP camera's in the server rooms.

    I would like to add the following to this screen above this picture:

    Code:
    <H1> Serverroom 1 </H1> <BR> <H2> Row 2 </H2>
    Or something similar.
    I could also use this to show the customer name in a screen.

    Thanks for the response!
    Last edited by qix; 04-01-2008, 11:54. Reason: typo
    With kind regards,

    Raymond
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Added to the ZABBIX 1.6 wish list.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • qix
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Oct 2006
      • 423

      #3
      Thanks Alexei!
      With kind regards,

      Raymond

      Comment

      • vgray
        Junior Member
        • Aug 2005
        • 19

        #4
        I can't find this feature in zabbix 1.7
        so I've write it.

        Please see

        Comment

        • nelsonab
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Sep 2006
          • 1233

          #5
          You can also "hack" this in the current version.

          When setting up the screen item select url and point it to a page where you have pre-formatted your text or graphic. This will however create an iframe and if the url being pointed to renders larger than the box you will get scrollbars.
          RHCE, author of zbxapi
          Ansible, the missing piece (Zabconf 2017): https://www.youtube.com/watch?v=R5T9NidjjDE
          Zabbix and SNMP on Linux (Zabconf 2015): https://www.youtube.com/watch?v=98PEHpLFVHM

          Comment

          Working...