Alphadog wrote:Ok for everyone who has problems with a crashing Wmi service, here's a little howto:
There are 4 reasons why your cacti doesnt graph or doesnt even get some data from the command view host:
Reason One:
wmic command gets you this :
Code: Select all
ERROR: Retrieve result data.
NTSTATUS: NT code 0xc0001010 - NT code 0xc0001010
Solution:
Check if there is a "HP WMI Storage Providers" Service
If yes check if there are the "HP EVA" Counters in Perfmon
If yes try Stopping the WMI Service (the Windows one) restart the "HP WMI" and start the windows WMI Service.
Case Two:
Services are existent, restarted and running but
NO COUNTERS in Perfmon
Solution:
Go to your Registry under
Code: Select all
[HKLM/SYSTEM/ControlSet001/Services/EVAPMEXT/Performance/]
And Search for a DWORD Called "Disable Performance Counters"
Check if this is set to "0" no matter if Hex or Decimal 0=0 xD
Restart the Services as explained above
Run
in cmd
Case Three
Now it gets Tricky :D
Servcices are existent, restarted and Running, "Disable Performance Counters" is set to "0" but counters dont appear in Perfmon
Solution:
Follow the above Steps, run
and so on
AND
if you have done this:
Run
in your cmd
Case Four
Followed all the steps above, wmic get some data BUT Cacti doesn't even Poll the new graphs created
Solution
Try Changing the Poller from Spine to cmd.php because Spine sometimes gets a "Buffer Overflow" or something like that doesnt matter whic error, it just crashes and doesnt poll the new graphs :D
###### EDIT ######
Please do me a favour and edit all you Logfile Directories and place it into /var/log/Cacti/
I have some some servers, which have now a directory with 3 GB of Logs, and in /var/log the logs are automaticly archived, which increases performance when viewing :D tried to open a 400MB log and had to wait about half an hour ^^
###### EDIT ######
If there's anything else not working, contact me either in this Fred or PM me I'll see what I can do for you ;)
Greez from sunny Bavaria
Alphadog[/b]