Ad Widget

Collapse

W2K: Unable to add performance counter "\UnknownPerformanceCounter(_Total)\...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dm0nkz
    Junior Member
    • Jan 2005
    • 9

    #16
    .. This is really great news.. i tried using zabbix but switched back to nagios last month when i encountered the said problem

    Would like to know if anyone has tried the mentioned solution and perhaps share their success stories?

    Thanks!

    dm0nkz

    Comment

    • timo
      Junior Member
      • Apr 2005
      • 19

      #17
      Uhm there isn't a solution yet. The debug binary gives us more information what happens, in order to see what the problem is. As I said above, I have to create a debug binary so that we can find out what happens.

      Comment

      • timo
        Junior Member
        • Apr 2005
        • 19

        #18
        Please use this DLL:



        Overwrite the old DLL you previously downloaded. Let me know if it works and what the debug zabbix agent outputs on your console.

        It seems that VC doesn't let me build static binaries, I have no clue why.

        Comment

        • carls
          Junior Member
          • May 2005
          • 3

          #19
          I successfully ran your binary / dll. Here are my results:

          M:\>zabbix_agent_win32 --config m:\zabbix_agentd.conf standalone
          Using configuration file "m:\zabbix_agentd.conf"
          Configuration file OK
          Buffer len: 108
          System Up Time (14)
          Buffer len: 108
          System (6)
          Buffer len: 108
          % Processor Time (16)
          Buffer len: 108
          Processor (9)

          I also noticed lots of messages in the event log like:

          The timeout waiting for the performance data collection function "PerfProc" in the "M:\WINNT\system32\perfproc.dll" Library to finish has expired. There may be a problem with this extensible counter or the service it is collecting data from or the system may have been very busy when this call was attempted.


          Thanks a lot for your help on this!!

          Comment

          • lewars
            Junior Member
            • Apr 2005
            • 3

            #20
            Same error on my Windows 2000 Machine.

            I have also tried with the supplied agent, these are my results:


            D:\>zabbix_agent_win32.exe --config "d:\zabbix_agentd.conf" standalone install-e
            vents
            Using configuration file "d:\zabbix_agentd.conf"
            Configuration file OK
            Buffer len: 108
            System Up Time (14)
            Buffer len: 108
            System (6)
            Buffer len: 108
            % Processor Time (16)
            Buffer len: 108
            Processor (9)
            [01-Jul-2005 10:47:57] Unable to add performance counter "\Processor(_Total)\% Processor Time" to query: The specified object is not found on the system.

            Comment

            • cybaspace
              Member
              • Jul 2005
              • 43

              #21
              We had the same problem and it was indeed the servername length. It was Nexdoublerdl380 and it gave exact the same errors as described above. I changed the name to NexDblr and all went smooth!

              So changing the servername to a shorter name will solve most of these problems.

              Comment

              • mucknet
                Member
                • Dec 2004
                • 59

                #22
                I too have this problem..

                Is there a fix available?

                Machine name is

                webserver2-perf

                Comment

                • Alexei
                  Founder, CEO
                  Zabbix Certified Trainer
                  Zabbix Certified SpecialistZabbix Certified Professional
                  • Sep 2004
                  • 5654

                  #23
                  I've added additional debug information for tracing this problem. Please, download the latest agent from www.zabbix.com/downloads, specify LogFile and run the agent.
                  Alexei Vladishev
                  Creator of Zabbix, Product manager
                  New York | Tokyo | Riga
                  My Twitter

                  Comment

                  • Alexei
                    Founder, CEO
                    Zabbix Certified Trainer
                    Zabbix Certified SpecialistZabbix Certified Professional
                    • Sep 2004
                    • 5654

                    #24
                    I did additional changes. Please, download the agent from www.zabbix.com/downloads, test it and let me know if it works.

                    Thanks!
                    Alexei Vladishev
                    Creator of Zabbix, Product manager
                    New York | Tokyo | Riga
                    My Twitter

                    Comment

                    • steve.tempest
                      Junior Member
                      • Aug 2005
                      • 8

                      #25
                      I have installed and tested the new w32agent. It work's

                      ************************************************** ************
                      [22-Aug-2005 08:44:05] Log file opened
                      [22-Aug-2005 08:44:05] Collector thread initialized successfully
                      [22-Aug-2005 08:44:05] Zabbix Win32 Agent started

                      Thanks you very much for taking the time to help resolve this.

                      Comment

                      • sysigs
                        Junior Member
                        • Aug 2005
                        • 27

                        #26
                        Still have the problem with 21 char server name

                        i still have the probleme with the last zabbixw32.exe version 1.1Alpha12
                        my server is w2K sp4 US with security patch uptodate and with language french Pack. Only one server make this sort of problem the 20 other not.

                        Comment

                        • Alexei
                          Founder, CEO
                          Zabbix Certified Trainer
                          Zabbix Certified SpecialistZabbix Certified Professional
                          • Sep 2004
                          • 5654

                          #27
                          Originally posted by sysigs
                          i still have the probleme with the last zabbixw32.exe version 1.1Alpha12
                          my server is w2K sp4 US with security patch uptodate and with language french Pack. Only one server make this sort of problem the 20 other not.
                          The W32 agent from 1.1alpha12 distribution does not fix this problem. You have to use the very latest one from www.zabbix.com/downloads.
                          Alexei Vladishev
                          Creator of Zabbix, Product manager
                          New York | Tokyo | Riga
                          My Twitter

                          Comment

                          • sysigs
                            Junior Member
                            • Aug 2005
                            • 27

                            #28
                            still have the problem on w2k

                            first thank for your answer and for this good software.
                            I download the ZabbixW32.exe in the folder http://www.zabbix.com/download
                            and when i launch it :
                            ZabbixW32.exe version
                            Zabbix Win32 Agent Version 1.1alpha12 Build of Aug 21 2005
                            wich one i have to download

                            Comment

                            • Alexei
                              Founder, CEO
                              Zabbix Certified Trainer
                              Zabbix Certified SpecialistZabbix Certified Professional
                              • Sep 2004
                              • 5654

                              #29
                              Originally posted by sysigs
                              ZabbixW32.exe version
                              Zabbix Win32 Agent Version 1.1alpha12 Build of Aug 21 2005
                              wich one i have to download
                              Yes, this the agent you should use to get rid of the "long hostname" problem.
                              Alexei Vladishev
                              Creator of Zabbix, Product manager
                              New York | Tokyo | Riga
                              My Twitter

                              Comment

                              • sysigs
                                Junior Member
                                • Aug 2005
                                • 27

                                #30
                                I still have the problem on w2k

                                Originally posted by Alexei
                                Yes, this the agent you should use to get rid of the "long hostname" problem.
                                than it doesn't work for me i maybe have another problem

                                Extrat of the logfile

                                [26-Aug-2005 13:27:26] Log file opened
                                [26-Aug-2005 13:27:31] Unable to add performance counter "\Processor(_Total)\% Processor Time" to query: L'objet spécifié n'a pas été trouvé sur le système.

                                C:\zabbix_agent_win32-1.0\Debug\ZabbixW32.exe version
                                Zabbix Win32 Agent Version 1.1alpha12 Build of Aug 21 2005

                                Comment

                                Working...