we´re using PRTG 8 and try to monitor cluster shares. Adding WMI sensor find all shares, but only administration shares can successfull monitored, other shares got error 80041017: The query was not syntactially valid.
So what`s wrong? (I tried using IP, FQDN for the target machine)
Article Comments
We get the exact same error when attempting to monitor shares. We are assuming shares should be monitored though the clustered interface. We can get a list of all the shares and pick the one we wish to monitor. As soon as we save the new sensor, the status immediately goes into the alert mode with the following error:
80041017: The query was not syntactically valid.
If we monitor through the physical interface on a cluster member (not the clustered interface), we get the same error. The issue is repeatable. We are using the latest version of PRTG: 8.4.2.2381
We verified that the remote probe was running the same version as the server. Both were the same version. We forced an install on the probe server just to verify.
The sensor still failed with the same error. SO there is something wrong with that sensor.
The target servers are running Windows 2008 R2 with the latest updates and patches. Other WMI probes seem fine so far.
Aug, 2011 - Permalink
Dear Jim, have you tried scanning with the WMI Tester, with the query mentioned by Volker?
Aug, 2011 - Permalink
Hi,
we do have the same Problem here. We are using the latest PRTG Version: 9.2.1.2280
Cluster Shares are not displeyed either in WMI Query or PRTG directly.
Is there any solution?
May, 2012 - Permalink
PRTG uses the Win32_Share class for monitoring Shares. The WQL query is the same regardless if it's a normal share or an administrative one, so the invalid syntax error is quite surprising.
Please try the following query from the PRTG Server to the target machine with our WMI Tester tool
SELECT * FROM Win32_Share
Does that return all shares?
Furthermore: are there by any chance quote characters in the normal share's names?
Kind regards,
- Volker
Jul, 2011 - Permalink