Ad Widget

Collapse

"No Data" problem in Graphs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • calguy1000
    Junior Member
    • Jun 2011
    • 2

    #1

    "No Data" problem in Graphs

    Okay, so I've got zabbix 1.8.5 mostly working the way I want on ubuntu 10.04.

    I'm just in the process of adding the items that I want, and configuring the triggers and actions setting priority etc.

    I added a new item into the zabbix-agentd.conf on a couple of the hosts that I am monitoring:

    UserParameter=established_conns[*],netstat -an | grep :$1 | grep ESTABLISHED |wc -l

    After restarting the zabbix-agent I then added an 'item' into the template for those hosts with a key of: established_conns[80]

    This works, and under "Monitoring >> Latest data" I can see that data is being collected for that new item. ... cool.

    Then I went into the template again and added a new graph and selected the 'Item' I created above. I left everything else as the default (other than the name of the graph) and hit submit.

    Now, for the past few day I have been waiting, but when I display this graph via "Monitoring >> Graphs" all it says is 'No data'. However, under "Monitoring >> Latest Data" there is a link to a graph that does work.

    So the question is, why won't the graph I have defined manually work?

    Thanks in advance.
  • Rudd
    Member
    • Mar 2011
    • 69

    #2
    Try to create the graph directly on the host, rather than in the template.

    I find that some template graphs do not show on hosts whereas they do work when defined directly on the host. Never bothered to check out why. Perhaps someone here knows the answer?

    Comment

    • pasci
      Junior Member
      • Jul 2005
      • 9

      #3
      Must be a bug. I have also tried to define graphs within a template. But no data will be displayed. Looks like that the graph template does not replace the host name?

      Comment

      • pasci
        Junior Member
        • Jul 2005
        • 9

        #4
        Originally posted by pasci
        Must be a bug. I have also tried to define graphs within a template. But no data will be displayed. Looks like that the graph template does not replace the host name?
        No, it's not a bug! You will see the graph only if you view the graph under Monitoring -> Graphs. There you will see the graphs, which you have defined in a template.

        Under the host you will see only [no data], if the graph is linked from a template. Don't know if this should be. But graphs defined in template works... but not under the configuration menu.

        Comment

        • Axilla
          Senior Member
          • Aug 2010
          • 130

          #5
          not exactly true, i'm having this problem in 1.8.8 and I have checked the graph under Monitoring > Graphs and still get No Data, yet when I create the graph directly to the host it works fine.. this isn't correct.. Graphs created under templates aren't working.. I have 185 sites no way can i go to everyone and make a graph directly on the host.

          However I deleted the graph and readded and it now seems to be working. But when I used the dynamic scroller it goes to No Data. Even if I go back to NOW it won't go back to working correctly.. just stays with No Data... This is definatley a bug.
          Last edited by Axilla; 01-11-2011, 17:33.

          Comment

          • Axilla
            Senior Member
            • Aug 2010
            • 130

            #6
            my problem has been resolved. it was due to a time/date difference.

            Comment

            • johnw230873
              Member
              • Aug 2010
              • 54

              #7
              Just adding my experence with this type of issue, mine was caused by the network address of the zabbix server being incorrectly set. It seemed to try to contact the other servers and hosts but didn't store this information in its database.

              Comment

              Working...