Ad Widget

Collapse

Graphic title generated by discovery not showing item name value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jusavard
    Member
    • Sep 2013
    • 48

    #1

    Graphic title generated by discovery not showing item name value

    Hi,
    I'v got this weird issue. I upgraded a Zabbix server 5.0 to 6.0. I'm using the Linux template for all my Linux host. When a graph is generated by the discovery rule (netowrk interface and disk), the item name does not show up in the graph title. For instance, the discovery rule create a "Free inode" par file system. Instead of seeing "My_server_name: Free Inode on /var (percentage)" in the title I see "My_server_name: Free Inode on $1 (percentage)". And it goes like that for pretty munch any graph that has a variable in the title.

    Any Idea on why it doest that ?

    Click image for larger version

Name:	2023_01_24_12_19_35_Custom_graphs.png
Views:	300
Size:	113.9 KB
ID:	458196
    Attached Files
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    Oh noes... not again.. those $1 etc macros were deprecated already in v5 (but still usable).. and removed in v6... https://www.zabbix.com/documentation...nger-supported

    Comment

    • jusavard
      Member
      • Sep 2013
      • 48

      #3
      Great....How was it replaced ? For instance, in vfs.discovery rule how was the positional value ($1) replaced ? {#FSNAME} ? New rule ?


      Click image for larger version

Name:	image.png
Views:	251
Size:	31.5 KB
ID:	458257

      Comment

      • Markku
        Senior Member
        Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
        • Sep 2018
        • 1781

        #4


        Markku

        Comment

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

          #5
          Originally posted by jusavard
          Great....How was it replaced ? For instance, in vfs.discovery rule how was the positional value ($1) replaced ? {#FSNAME} ? New rule ?
          yes.. in this case, just replace it with {#FSNAME}

          Comment

          Working...