Ad Widget

Collapse

Zabbix agent sending empty values of data

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • safartrum
    Junior Member
    • Nov 2017
    • 1

    #1

    Zabbix agent sending empty values of data

    Hello All.
    I'm having troubles trying to understand how to make zabbix server interprets empty values as nodata!! Or how to make zabbix agent not to send them when script described in conf file returns nothing.
    Anyone?
  • d0n0van
    Junior Member
    • Jan 2018
    • 7

    #2
    I am searching for a solution also

    Comment

    • kaspars.mednis
      Senior Member
      Zabbix Certified Trainer
      Zabbix Certified SpecialistZabbix Certified Professional
      • Oct 2017
      • 349

      #3
      Are you trying to use "nodata" trigger ?

      nodata is used, when there is no data at all received form agent or sender, in your case there is response - just empty string

      here are some tips
      Long time no see… I’ve changed my job and didn’t have enough time to update blog. I’ll try to keep regular updates on it. Recently, I wanted to get information for Zabbix from Ast…


      Regards,
      Kaspars

      Comment

      • d0n0van
        Junior Member
        • Jan 2018
        • 7

        #4
        If use now the third option in combination with or nodata().

        Code:
        The third is “Regular expression V matching last value in period T, then N = 1, 0 – otherwise”. Put the following:
        
        V: ^$
        Last of (T): 1 [Count]
        N: 1
        I was hoping for a out of the box solution.

        The item normally returns a valid json, i am gonna try to find a solution with just a nodata trigger and a preprocessing on the item

        Comment

        Working...