Linuxfabrik / monitoring-plugins

220+ 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
220 stars 51 forks source link

Check swap-usage: The windows EXE on the Linuxfabrik's Download Server does not have 'TOP' flag #762

Closed habib-ahmed-01 closed 5 months ago

habib-ahmed-01 commented 5 months ago

This issue respects the following points:

Which variant of the Monitoring Plugins do you use?

Bug description

image The EXE does not support the '--top' or TOP flag.

Steps to reproduce - Plugin call

C:\Linuxfabrik\swap-usage.exe --warning 70 --critical 90 --top 3

Steps to reproduce - Data

No response

Environment

Windows Server 2019

Plugin Version

swap-usage.exe: v2023112901 by Linuxfabrik GmbH, Zurich/Switzerland

Python version

No response

List of Python modules

No response

Additional Information

No response

markuslf commented 5 months ago

This feature is not yet part of the released plugins, but can be found in the current main development branch (see CHANGELOG for details). For Windows, you will have to wait for the next release.