monitoring-plugins icon indicating copy to clipboard operation
monitoring-plugins copied to clipboard

file-size: The Plugin is unable to detect files or read files on WINDOWS servers

Open habib-ahmed-01 opened this issue 1 year ago • 1 comments

This issue respects the following points:

  • [X] This is a bug, not a question or a setup/configuration issue.
  • [X] This issue is not already reported on Github (I've searched it).
  • [X] I use the latest release of the Monitoring Plugins (https://github.com/Linuxfabrik/monitoring-plugins/releases).
  • [X] I agree to follow Monitoring Plugins's Code of Conduct.

Which variant of the Monitoring Plugins do you use?

  • [ ] .rpm/.deb package from repo.linuxfabrik.ch
  • [ ] Compiled for Linux (.tar/.zip from download.linuxfabrik.ch)
  • [X] Compiled for Windows (from download.linuxfabrik.ch)
  • [ ] Source Code from GitHub

Bug description

image image

When I execute the windows EXE it does not detect or read files. Always returns "No files found"

Steps to reproduce - Plugin call

C:\Linuxfabrik\file-size --filename 'C:\Linuxfabrik\feed.exe'

Steps to reproduce - Data

No response

Environment

Windows Server 2019

Plugin Version

file-size: v2023112901 by Linuxfabrik GmbH, Zurich/Switzerland

Python version

No response

List of Python modules

No response

Additional Information

No response

habib-ahmed-01 avatar May 28 '24 19:05 habib-ahmed-01

Please try / or \\ instead of \.

markuslf avatar May 29 '24 07:05 markuslf