-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
add RebootCheck #38
add RebootCheck #38
Conversation
…imeCheck) into ReadsBootTimes trait.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kleine tekst aanpassing (zie feedback) en hoe vaak wordt deze check uitgevoerd en welke tijd moet ik dan invoeren en hoe zorg ik ervoor dat deze melding niet tig keer wordt verzonden?
src/Checks/RebootCheck.php
Outdated
$timestamp = $this->getSystemUptime(); | ||
|
||
if (! isset($this->minTimeSinceReboot)) { | ||
throw new \Exception('The max time since reboot was not set.'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hier staat nog "max"
@dulkoss deze heeft nog merge conflicts, zou je deze kunnen fixen? |
This PR adds the RebootCheck, it's much like the UptimeCheck. It can be configured like this.