Ad Widget

Collapse

Maps: Remove Map name in zabbix 2.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pjeanne
    Junior Member
    • Jul 2012
    • 1

    #1

    Maps: Remove Map name in zabbix 2.0

    Hi everybody,

    Does anybody know how to remove the red name in map display?

    I was abble to remove it by editing map.php in fe files with zabbix 1.8.10 but the files have changed with 2.0.0 and I don't know where to find it.

    Thanks in advance,
  • alfsolli
    Junior Member
    Zabbix Certified Trainer
    Zabbix Certified Specialist
    • Aug 2010
    • 19

    #2
    Progress?

    Hi

    Did you figure this one out? I set out on the same quest today.

    I'll post if I figure it out. Would appreciate any help though

    - Alf -

    Comment

    • alfsolli
      Junior Member
      Zabbix Certified Trainer
      Zabbix Certified Specialist
      • Aug 2010
      • 19

      #3
      Solution

      2 seconds later, I figure it out.

      It's actually quite easy.

      Edit include/classes/sysmaps/CMapPainter.php :

      Line 33, if it suffice to just change the color of the title to say, white.

      line 53 can be commented out to not draw the title at all. Not sure what implications it may have, but seems fine to me.

      Comment

      • felipelo
        Junior Member
        • Dec 2014
        • 2

        #4
        Originally posted by alfsolli
        2 seconds later, I figure it out.

        It's actually quite easy.

        Edit include/classes/sysmaps/CMapPainter.php :

        Line 33, if it suffice to just change the color of the title to say, white.

        line 53 can be commented out to not draw the title at all. Not sure what implications it may have, but seems fine to me.
        Works for me only Commenting line 50

        public function paint() {
        $this->paintBackground();
        # $this->paintTitle();
        $this->paintGrid();

        Comment

        Working...