Anyone have a clue why the following folder size can't be determined when I add it to analysis.cfg and client-local.cfg ?
"C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS" Could not determine size of directory "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS"
These other folders are working fine. C:\inetpub\logs C:\Windows\Temp C:\Windows\Logs\CBS C:\ProgramData\Microsoft\Windows\WER
The only difference I see is spaces in the path.? I've put "" around it, but that doesn't seem to fix it. Does someone have a working example that includes spaces in the path?
-- Kris Springer
On Fri, Sep 8, 2023 at 15:32 Kris Springer <kspringer at innovateteam.com> wrote:
Anyone have a clue why the following folder size can't be determined when I add it to analysis.cfg and client-local.cfg ?
"C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS" Could not determine size of directory "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS"
These other folders are working fine. C:\inetpub\logs C:\Windows\Temp C:\Windows\Logs\CBS C:\ProgramData\Microsoft\Windows\WER
The only difference I see is spaces in the path. I've put "" around it, but that doesn't seem to fix it. Does someone have a working example that includes spaces in the path?
-- Kris Springer
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
On Sat, 9 Sept 2023 at 05:32, Kris Springer <kspringer at innovateteam.com> wrote:
Anyone have a clue why the following folder size can't be determined when I add it to analysis.cfg and client-local.cfg ?
"C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS" Could not determine size of directory "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS"
These other folders are working fine. C:\inetpub\logs C:\Windows\Temp C:\Windows\Logs\CBS C:\ProgramData\Microsoft\Windows\WER
The only difference I see is spaces in the path. I've put "" around it, but that doesn't seem to fix it. Does someone have a working example that includes spaces in the path?
Sorry, I don't have any examples to offer.
What does the directory's section in your client data message look like? And your entries in analysis.cfg and client-local.cfg?
You might be able to "match" the dirname with a regex, something like:
DIR "%^C:.Program.Files.Common.Files.microsoft.shared.Web.Server.Extensions.15.LOGS" SIZE<65000
J
analysis.cfg entry. DIR???? "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS" red size<2000000 TRACK=SPlogs
client-local.cfg entry. dir:"C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS"
Kris Springer
On 9/8/23 20:51, Jeremy Laidman wrote:
On Sat, 9 Sept 2023 at 05:32, Kris Springer <kspringer at innovateteam.com> wrote:
Anyone have a clue why the following folder size can't be determined when I add it to analysis.cfg and client-local.cfg ? "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS" Could not determine size of directory "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS" These other folders are working fine. C:\inetpub\logs C:\Windows\Temp C:\Windows\Logs\CBS C:\ProgramData\Microsoft\Windows\WER The only difference I see is spaces in the path.? I've put "" around it, but that doesn't seem to fix it. Does someone have a working example that includes spaces in the path?Sorry, I don't have any examples to offer.
What does the directory's section in your client data message look like? And your entries in analysis.cfg and client-local.cfg?
You might be able to "match" the dirname with a regex, something like:
DIR "%^C:.Program.Files.Common.Files.microsoft.shared.Web.Server.Extensions.15.LOGS" SIZE<65000
J
participants (3)
-
jeremy@laidman.org
-
kspringer@innovateteam.com
-
rodbass63@gmail.com