Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
ISPConfig
ISPConfig 3
Commits
dbc5b2b9
Commit
dbc5b2b9
authored
Apr 24, 2009
by
tbrehm
Browse files
Exclude cramfs shares from disk monitoring.
parent
38708600
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/mods-available/monitor_core_module.inc.php
View file @
dbc5b2b9
...
...
@@ -221,7 +221,7 @@ class monitor_core_module {
$usePercent
=
floatval
(
$data
[
$i
][
'percent'
]);
//* We dont want to check the cdrom drive as a cd / dvd is always 100% full
if
(
$data
[
$i
][
'type'
]
!=
'iso9660'
)
{
if
(
$data
[
$i
][
'type'
]
!=
'iso9660'
&&
$data
[
$i
][
'type'
]
!=
'cramfs'
)
{
if
(
$usePercent
>
75
)
$state
=
$this
->
_setState
(
$state
,
'info'
);
if
(
$usePercent
>
80
)
$state
=
$this
->
_setState
(
$state
,
'warning'
);
if
(
$usePercent
>
90
)
$state
=
$this
->
_setState
(
$state
,
'critical'
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment