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

uptime: The Days, Years, Minutes etc. These values are not working #764

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 uptime plugin itself works, but it is unable to take year or days or weeks or minutes information

Steps to reproduce - Plugin call

C:\Linuxfabrik\uptime --warning=180D --critical=1Y

Steps to reproduce - Data

Execute the plugin locally or from icinga2 with these parameters, they simply do not work!

Environment

Windows Server 2019

Plugin Version

uptime: 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.