rafaelalmeida
(usa Slackware)
Enviado em 24/07/2009 - 11:00h
Pessoal,
Tenho um servidor nagios em pleno funcionamento e em um dos meus servidores está acontecendo este problema:
Uso de memória
UNKNOWN 24-07-2009 10:50:10 0d 1h 40m 56s 2/2 NSClient - ERROR: Failed to get PDH value.
Já atualizei a versão do NSClient++ para a versão mais atual (NSCLient++ - 0.3.6.818), já busquei a solução em vários fóruns e não consegui resolver o problema, se alguem puder me ajudar aqui na comunidade..
Segue abaixo os logs gerados com o comando "nsclient++.exe /test":
Launching test mode - client mode
Service seems to be started, this is probably not a good idea...
d NSClient++.cpp(1106) Enabling debug mode...
d NSClient++.cpp(494) Attempting to start NSCLient++ - 0.3.6.818 2009-06-14
d NSClient++.cpp(897) Loading plugin: CheckDisk...
d NSClient++.cpp(897) Loading plugin: Event log Checker....
d NSClient++.cpp(897) Loading plugin: Helper function...
d NSClient++.cpp(897) Loading plugin: CheckSystem...
d \PDHCollector.cpp(66) Autodetected w2k or later, using w2k PDH counters.
d NSClient++.cpp(897) Loading plugin: CheckWMI...
d \PDHCollector.cpp(103) Using index to retrive counternames
d NSClient++.cpp(897) Loading plugin: File logger...
d \PDHCollector.cpp(123) Found countername: CPU: \Processor(_total)\% Process
or Time
l \FileLogger.cpp(93) Log path is: C:\Program Files\NSClient++\\nsclient.log
d \PDHCollector.cpp(124) Found countername: UPTIME: \System\System Up Time
d NSClient++.cpp(897) Loading plugin: NRPE server (w/ SSL)...
d \PDHCollector.cpp(125) Found countername: MCL: \Memory\Commit Limit
d \NRPEListener.cpp(91) Loading all commands (from NRPE)
d \PDHCollector.cpp(126) Found countername: MCB: \Memory\Committed Bytes
d \NRPEListener.cpp(121) Starting NRPE socket...
d NSClient++.cpp(897) Loading plugin: NSCAAgent (w/ encryption)...
e \Socket.h(683) bind failed: 10048: Only one usage of each socket address (prot
ocol/network address/port) is normally permitted.
d \NSCAThread.cpp(77) Time difference for NSCA server is: 0
e \Socket.h(714) Socket did not start properly, we will now do nothing...
d \NSCAThread.cpp(84) Only reporting: ok,warning,critical,unknown
d \NSCAThread.cpp(102) Autodetected hostname: OURO
d NSClient++.cpp(897) Loading plugin: NSClient server...
d \NSCAThread.cpp(171) Drifting: 0
l NSClient++.cpp(600) NSCLient++ - 0.3.6.818 2009-06-14 Started!
e \Socket.h(683) bind failed: 10048: Only one usage of each socket address (prot
ocol/network address/port) is normally permitted.
l NSClient++.cpp(402) Using settings from: INI-file
e \Socket.h(714) Socket did not start properly, we will now do nothing...
l NSClient++.cpp(403) Enter command to inject or exit to terminate...
e \PDHCollector.cpp(208) Failed to query performance counters: \System\System Up
Time: PdhGetFormattedCounterValue failed: -2147481642: A counter with a negativ
e denominator value was detected.
e \PDHCollector.cpp(208) Failed to query performance counters: \System\System Up
Time: PdhGetFormattedCounterValue failed: -2147481642: A counter with a negativ
e denominator value was detected.
e \PDHCollector.cpp(208) Failed to query performance counters: \System\System Up
Time: PdhGetFormattedCounterValue failed: -2147481642: A counter with a negativ
e denominator value was detected.
...