Ad Widget

Collapse

Type of information = Text

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sccuser
    Member
    • May 2013
    • 77

    #1

    Type of information = Text

    Dear forum,

    This is just a silly question of mine
    I did exactly following the post, then how can I view the result in Zabbix?

    Run the script from Agent machine (ServerActive already registered in the zabbix_agentd.win.conf also)


    "ListAllProcesses" item


    The latest data of that host does not show the thing what I'm expecting.


    The "ListAllProcesses" is working fine I think


    Thanks!
  • steveboyson
    Senior Member
    • Jul 2013
    • 582

    #2
    "Text item" values can not be shown in a graph (for obvious reasons: they don't have a single value). But you can define a screen and add a "plain text" cell where you refer to your text-returning item.

    If you eventually have your script returning HTML output, tick the checkbox as well and you'll end up with something like this:

    Comment

    • sccuser
      Member
      • May 2013
      • 77

      #3
      Thanks, I did but without success.
      "No values found" returns then.



      Comment

      • steveboyson
        Senior Member
        • Jul 2013
        • 582

        #4
        Is this the screenshot of a screen in your template? Then of course there are no values since you are on the template level.

        Try to create a "global screen" and select host items after you assigned the template to a host.

        This is because on the template level you have no access to the item values since that template can be linked to different hosts. Zabbix does not know which values are to shown and therefore screens are "empty".

        BTW: The screens defined on the template level are appearing under "host screens" in a map where the host is shown.

        Comment

        • sccuser
          Member
          • May 2013
          • 77

          #5
          Absolutely I have created under global mode, but no luck.
          Any other clue?

          Comment

          • steveboyson
            Senior Member
            • Jul 2013
            • 582

            #6
            Do you see the values under "Monitoring - Latest Data"?
            If not, you have another problem. Try increasing debug level both on zabbix server and agent.

            Comment

            • sccuser
              Member
              • May 2013
              • 77

              #7
              Latest update:
              It is eventually working after 5 mins. Thanks steveboyson so much for your kind help!

              ----------------------
              Still the same, no any values under "Monitoring - Latest Data" so far.

              Here below is the agent log (remote machine) with debuglevel = 4, and zabbix server's log also.

              (sorry I cannot put the log into the quote due to the cause of forum: Too many live links/images found in your post content. Please edit your post or contact the administrator.)



              update

              when im trying to change the debuglevel into level = 3, it returns

              pcname.xxx.company.com
              5612:20140109:103949.378 using configuration file: C:\Windows\System32\Zabbix\zabbix_agentd.win.conf
              5588:20140109:103949.378 agent #1 started[listener #1]
              2412:20140109:103949.378 agent #3 started[listener #3]
              6068:20140109:103949.378 agent #0 started [collector]
              5492:20140109:103949.378 agent #2 started[listener #2]
              5576:20140109:103949.378 agent #4 started [active checks #1]
              5576:20140109:104010.376 active check configuration update from [<ip_address_of_zabbix_server>:10051] started to fail (cannot connect to [[<ip_address_of_zabbix_server>]:10051]: [0x0000274C] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)
              5576:20140109:104513.753 active check configuration update from [<ip_address_of_zabbix_server>:10051] is working again
              5576:20140109:104517.388 active check "ListAllProcesses" is not supported
              5576:20140109:105720.363 active check "ListAllProcesses" is not supported
              Last edited by sccuser; 09-01-2014, 08:38. Reason: update

              Comment

              • steveboyson
                Senior Member
                • Jul 2013
                • 582

                #8
                Try to increase the "Timeout" Parameter - on agentd and/or on server side, in the .conf file.

                Comment

                Working...