Linuxfabrik / monitoring-plugins

200+ check plugins for Icinga and other Nagios-compatible monitoring applications. Each plugin is a standalone command line tool (written in Python) that provides a specific type of check.
https://linuxfabrik.ch
The Unlicense
207 stars 48 forks source link

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

Open habib-ahmed-01 opened 1 month ago

habib-ahmed-01 commented 1 month ago

This issue respects the following points:

Which variant of the Monitoring Plugins do you use?

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

markuslf commented 1 month ago

Please try / or \\ instead of \.