Ad Widget

Collapse

custom low level discovery - 2.2.1

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sphen
    Junior Member
    • Dec 2013
    • 25

    #1

    custom low level discovery - 2.2.1

    hey guys-

    frustrated here as i am adding a new custom low level discovery item and it keeps throwing an error saying that it cannot add as an item already exists. i have added these in the past with no issue and i am pretty sure the syntax of the JSON is valid and i am creating it properly... the only new thing is that everything is running on 2.2.1 now.

    attached are a couple images of the setup and error -- here also is the json output of the discovery:

    Code:
    {
    	"data":[
    
    	{
    		"{#CCCTaskUUID}":"00EE6F44_D594_4183_A2AF_E5E78FC29252",
    		"{#CCCTaskName}":"xserve_1"
    	}
    	,
    	{
    		"{#CCCTaskUUID}":"3669A285_3A4F_4955_A4FF_FCD96FF53DCD",
    		"{#CCCTaskName}":"xserve_2"
    	}
    
    	]
    }

  • richlv
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Oct 2005
    • 3112

    #2
    can you please copypaste (not retype !) item prototype key ?
    Zabbix 3.0 Network Monitoring book

    Comment

    • sphen
      Junior Member
      • Dec 2013
      • 25

      #3
      item prototype key:
      backup.ccc[{#CCCTaskUUID},status]
      thx!

      Comment

      • sphen
        Junior Member
        • Dec 2013
        • 25

        #4
        also attached here is the server debug output in regards to this discovery rule...

        http://pastebin.com/raw.php?i=8nEw8UBv

        Comment

        • sphen
          Junior Member
          • Dec 2013
          • 25

          #5
          any brilliant ideas here? feel like i am missing something stupid...

          Comment

          • richlv
            Senior Member
            Zabbix Certified Trainer
            Zabbix Certified SpecialistZabbix Certified Professional
            • Oct 2005
            • 3112

            #6
            hmm... try using only uppercase letters in macro/variable name
            Zabbix 3.0 Network Monitoring book

            Comment

            • sphen
              Junior Member
              • Dec 2013
              • 25

              #7
              Originally posted by richlv
              hmm... try using only uppercase letters in macro/variable name
              oh good lord - that was it. uppercase only i guess! thank you so much... i wasted way too much time on that!

              Comment

              • richlv
                Senior Member
                Zabbix Certified Trainer
                Zabbix Certified SpecialistZabbix Certified Professional
                • Oct 2005
                • 3112

                #8
                good. i added a red note that lowercase letters should not be used; we will probably have to list supported symbols, too
                Zabbix 3.0 Network Monitoring book

                Comment

                Working...