Ad Widget

Collapse

Monitoring perf_counter Terminal Services sessions

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rohling
    Junior Member
    • Oct 2010
    • 4

    #1

    Monitoring perf_counter Terminal Services sessions

    I've added the item perf_counter[\Terminal Services\Active Sessions] but I am unable to see any data. When I add it to an application it does not show at all. I see nothing in the server log file. Am I missing something? I've specified it as Numeric(float) and Numeric(unsigned) and neither shows anything. I am using version 1.8.2.
  • Zaniwoop
    Senior Member
    • Jan 2010
    • 232

    #2
    I have 2 defined
    perf_counter["\Terminal Services\Inactive Sessions"]
    perf_counter["\Terminal Services\Active Sessions"]

    Set as Numeric (unsigned)

    works like a dream.

    I assume you have the agent running on the servers?

    Comment

    • rohling
      Junior Member
      • Oct 2010
      • 4

      #3
      Originally posted by Zaniwoop
      I have 2 defined
      perf_counter["\Terminal Services\Inactive Sessions"]
      perf_counter["\Terminal Services\Active Sessions"]

      Set as Numeric (unsigned)

      works like a dream.

      I assume you have the agent running on the servers?
      Yep. I've even restarted the service. The agent appears to manually give the result from the server at the command line. Do I need to configure anything on the agent, or should I just be able to add a new item to the host under configuration?

      Comment

      • rohling
        Junior Member
        • Oct 2010
        • 4

        #4
        If I run the following command on the Windows server, it appears to work.

        c:\>zabbix_agentd.exe -t perf_counter["Terminal Services\Active Sessions"]

        perf_counter[\Terminal Services\Active Sessions] [d|3.000000]

        Nothing shows in the log for it though, when I have debug turned on and try to add it to the server. Why would it not be communicating? I have other items being monitored on that server.

        Comment

        • Zaniwoop
          Senior Member
          • Jan 2010
          • 232

          #5
          Originally posted by rohling
          Yep. I've even restarted the service. The agent appears to manually give the result from the server at the command line. Do I need to configure anything on the agent, or should I just be able to add a new item to the host under configuration?
          you don't have to configure anything on the agent.
          Just add the item to a host.

          (or add it to a template and add the template to hosts)

          Comment

          • rohling
            Junior Member
            • Oct 2010
            • 4

            #6
            After changing the debug level in zabbix_server.conf for troubleshooting, a child process would die and I would get an error relating to the CacheSize variable. I kept changing that and it started working. This variable stores information for hosts and items according to the manual.

            Comment

            • frater
              Senior Member
              • Oct 2010
              • 340

              #7
              That's a bug then....
              Zabbix agents on Linux, FreeBSD, Windows, AVM-Fritz!box, DD-WRT and QNAP

              Comment

              Working...