-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix vanished filesystem checks #66
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hallo Andi, bin nicht sicher ob das optimal ist,
eventuell besser runden? |
Hi Bastian,
habe mal ein paar Stichproben gemacht.
Die Werte passen bei kleineren GB aber auch größeren GB Werten.
Erhalte die gleichen Werte wie auch über die PURE Web-Gui.
Mit freundlichen Grüßen
Andreas Bär
(Cloud) Computing Center
Teamlead Virtualisation & Hosting
BurdaSolutions
Burda Digital Systems GmbH
Hubert-Burda-Platz 1, 77652 Offenburg
Phone +49 781 84-2061
Fax +49 781 84 36 16
***@***.******@***.***>
www.burdasolutions.com<http://www.burdasolutions.com/>
Geschäftsführer: Gerhard Thomas
Handelsregister: Amtsgericht Freiburg • HRB 471696
________________________________
Von: Bastian Kuhn ***@***.***>
Gesendet: Donnerstag, 17. August 2023 13:30
An: kuhn-ruess/Checkmk-Checks ***@***.***>
Cc: Bär Andreas ***@***.***>; Author ***@***.***>
Betreff: Re: [kuhn-ruess/Checkmk-Checks] fix vanished filesystem checks (PR #66)
Hallo Andi,
bin nicht sicher ob das optimal ist,
>> 1000/1024
0.9765625
>>
>> int(1000/1024)
0
>>
>> int(round(1000/1024,0))
1
>>
eventuell besser runden?
—
Reply to this email directly, view it on GitHub<#66 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFSBX7NIUELFJVXVINXCQJTXVX6GNANCNFSM6AAAAAA3T4OOSA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Bedeutet nur auf Int fixen reicht?
Dann am besten int() oben bei der Berechnung und nicht beim Print:
Was mich jetzt nur verwirrt, ich habe bereits eine positive Rückmeldung ohne die INT Umwaldung…
<img width="831" alt="PastedGraphic-1" src="https://github.com/kuhn-ruess/Checkmk-Checks/assets/899110/6f6603f3-c63e-4457-8755-c970c3e114eb">
Auch arbeitet Checkmk auch bei anderen df checks wohl mit Float:
<img width="671" alt="Bildschirmfoto 2023-08-18 um 09 48 36" src="https://github.com/kuhn-ruess/Checkmk-Checks/assets/899110/abe39d46-b368-457c-b0e7-c6a3ca267657">
Welche Exception bekommst du genau, und welche Checkmk Version ist es?
… Am 17.08.2023 um 13:40 schrieb andibaer ***@***.***>:
Hi Bastian,
habe mal ein paar Stichproben gemacht.
Die Werte passen bei kleineren GB aber auch größeren GB Werten.
Erhalte die gleichen Werte wie auch über die PURE Web-Gui.
Mit freundlichen Grüßen
Andreas Bär
(Cloud) Computing Center
Teamlead Virtualisation & Hosting
BurdaSolutions
Burda Digital Systems GmbH
Hubert-Burda-Platz 1, 77652 Offenburg
Phone +49 781 84-2061
Fax +49 781 84 36 16
***@***.******@***.***>
www.burdasolutions.com<http://www.burdasolutions.com/>
Geschäftsführer: Gerhard Thomas
Handelsregister: Amtsgericht Freiburg • HRB 471696
________________________________
Von: Bastian Kuhn ***@***.***>
Gesendet: Donnerstag, 17. August 2023 13:30
An: kuhn-ruess/Checkmk-Checks ***@***.***>
Cc: Bär Andreas ***@***.***>; Author ***@***.***>
Betreff: Re: [kuhn-ruess/Checkmk-Checks] fix vanished filesystem checks (PR #66)
Hallo Andi,
bin nicht sicher ob das optimal ist,
>>> 1000/1024
0.9765625
>>>
>>> int(1000/1024)
0
>>>
>>> int(round(1000/1024,0))
1
>>>
eventuell besser runden?
—
Reply to this email directly, view it on GitHub<#66 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFSBX7NIUELFJVXVINXCQJTXVX6GNANCNFSM6AAAAAA3T4OOSA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub <#66 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAG3QJVWIV53I7JYGNTYYPLXVX7MHANCNFSM6AAAAAA3T4OOSA>.
You are receiving this because you commented.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ich musste int vor die Werte im print setzen.