Unknown - No data received from WMI
Unknown - No data received from WMI
Hello,
I have some issues with some of the disk checks. I get the following error on some of the windows hosts: Unknown - No data received from WMI.
All the rest of the checks on the windows hosts are working properly but on some windows hosts only the disk checks don't work. I use the check_disk_io.vbs.
command[get_diskio]=cscript.exe //nologo //T:60 c:\nrpe_nt\plugins\v2\check_disks_io.vbs -h "$ARG1$" -inst C: -prop "DiskReadBytesPerSec,DiskWriteBytesPerSec" -t "$ARG4$"
Does anyone have a clue how I can fix this?
And on some Windows hosts I'm getting this error: Timeout connecting to WMI on this host! Error Number: 462 Description: The remote server machine does not exist or is unavailable. Is this because some switches/firewalls doesn't let the WMI through?
I have some issues with some of the disk checks. I get the following error on some of the windows hosts: Unknown - No data received from WMI.
All the rest of the checks on the windows hosts are working properly but on some windows hosts only the disk checks don't work. I use the check_disk_io.vbs.
command[get_diskio]=cscript.exe //nologo //T:60 c:\nrpe_nt\plugins\v2\check_disks_io.vbs -h "$ARG1$" -inst C: -prop "DiskReadBytesPerSec,DiskWriteBytesPerSec" -t "$ARG4$"
Does anyone have a clue how I can fix this?
And on some Windows hosts I'm getting this error: Timeout connecting to WMI on this host! Error Number: 462 Description: The remote server machine does not exist or is unavailable. Is this because some switches/firewalls doesn't let the WMI through?
Re: Unknown - No data received from WMI
Can you post the error you get when you run the following from the Windows command line.
You could use:
NSClient++, which provides active checks and is more maintaned
NRDS_Win, for sending checks back passively
check_wmi_plus, uses the native WMI provider and requires to agent to be installed
-Yancy
Code: Select all
cscript.exe //nologo //T:60 c:\nrpe_nt\plugins\v2\check_disks_io.vbs -h "$ARG1$" -inst C: -prop "DiskReadBytesPerSec,DiskWriteBytesPerSec" -t "$ARG4$"
This is either due to the agent or the WMI Provider. I notice you're using a very outdated agent and would encourage you to upgrade in order to resolve the issue.And on some Windows hosts I'm getting this error: Timeout connecting to WMI on this host! Error Number: 462 Description: The remote server machine does not exist or is unavailable. Is this because some switches/firewalls doesn't let the WMI through?
You could use:
NSClient++, which provides active checks and is more maintaned
NRDS_Win, for sending checks back passively
check_wmi_plus, uses the native WMI provider and requires to agent to be installed
-Yancy
Re: Unknown - No data received from WMI
When I run it on the commandline I'm getting the same error.
So there is no other solution then to upgrade the agent? Because I'm almost done so I would rather not start al over again haha. I'm using nrpe_nt now!
So there is no other solution then to upgrade the agent? Because I'm almost done so I would rather not start al over again haha. I'm using nrpe_nt now!
Re: Unknown - No data received from WMI
ChanningL,
Can you provide a link to check_disks_io.vbs so I can take a look at what it's doing.
Thanks,
-Yancy
Can you provide a link to check_disks_io.vbs so I can take a look at what it's doing.
Thanks,
-Yancy
Re: Unknown - No data received from WMI
ChanningL,
Seems to be working fine for me. Here are the arguments I used when running on the Windows command line.
Can you give that a test.
Thanks,
-Yancy
Seems to be working fine for me. Here are the arguments I used when running on the Windows command line.
Code: Select all
cscript.exe //nologo //T:60 check_disks_io.vbs -h 127.0.0.1 -inst C: -prop "DiskReadBytesPerSec,DiskWriteBytesPerSec" -t "700,30:40,80"
Can you give that a test.
Thanks,
-Yancy
Re: Unknown - No data received from WMI
Hello,
It still doesn't work for me with those arguments.
It still doesn't work for me with those arguments.
Re: Unknown - No data received from WMI
ChanningL,
Does your user have admin access? If it doesn't have admin access, does it have permission to the WMI namespace?
What version of Windows is this you're running against?
-Yancy
Does your user have admin access? If it doesn't have admin access, does it have permission to the WMI namespace?
What version of Windows is this you're running against?
-Yancy
Re: Unknown - No data received from WMI
Hello,
Yes my user has admin acces. The weird thing is that the "Unknown - No data received from WMI" error, is only on the disk checks and not on the other checks, those other checks are fine. So I don't think it has something to do with rights.
With the "Timeout connecting to WMI on this host! Error Number: 462 Description: The remote server machine does not exist or is unavailable" error, I'm also getting this error: "Timeout connecting to WMI on this host! Error Number: -2147023174 Description: The RPC server is unavailable". And on this server I've admin acces also.
Both errors are on a Windows 2000 server.
Yes my user has admin acces. The weird thing is that the "Unknown - No data received from WMI" error, is only on the disk checks and not on the other checks, those other checks are fine. So I don't think it has something to do with rights.
With the "Timeout connecting to WMI on this host! Error Number: 462 Description: The remote server machine does not exist or is unavailable" error, I'm also getting this error: "Timeout connecting to WMI on this host! Error Number: -2147023174 Description: The RPC server is unavailable". And on this server I've admin acces also.
Both errors are on a Windows 2000 server.
Re: Unknown - No data received from WMI
ChanningL,
If the user is administrator, it's probably not a permissions issue as the admin account has access to all WMI namespaces by default.
Here is a link to microsofts site about checking WMI for corruption
http://technet.microsoft.com/en-us/libr ... 04265.aspx
The other thing to consider is that the older Windows 2000 does not have the same classes.
try:
you can enumerate classes to see if they exist.
-Yancy
If the user is administrator, it's probably not a permissions issue as the admin account has access to all WMI namespaces by default.
Here is a link to microsofts site about checking WMI for corruption
http://technet.microsoft.com/en-us/libr ... 04265.aspx
The other thing to consider is that the older Windows 2000 does not have the same classes.
try:
Code: Select all
start > run > wbemtest
-Yancy