Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
python
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
isgphys
python
Commits
b713b69b
Commit
b713b69b
authored
6 years ago
by
Sven Mäder
Browse files
Options
Downloads
Patches
Plain Diff
Add missing newlines
parent
c4493c11
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/xymon-home.py
+4
-4
4 additions, 4 deletions
bin/xymon-home.py
with
4 additions
and
4 deletions
bin/xymon-home.py
+
4
−
4
View file @
b713b69b
...
@@ -228,7 +228,7 @@ def run_check(xymon):
...
@@ -228,7 +228,7 @@ def run_check(xymon):
if
bad_home_directory
:
if
bad_home_directory
:
title
=
'
bad homeDirectory
'
title
=
'
bad homeDirectory
'
content
=
'
the homeDirectory attributes home name does not match the username
'
content
=
'
the homeDirectory attributes home name does not match the username
<br/><br/>
'
for
home
in
bad_home_directory
:
for
home
in
bad_home_directory
:
content
+=
''
.
join
([
str
(
home
),
'
<br/>
'
])
content
+=
''
.
join
([
str
(
home
),
'
<br/>
'
])
xymon
.
section
(
title
,
content
)
xymon
.
section
(
title
,
content
)
...
@@ -236,7 +236,7 @@ def run_check(xymon):
...
@@ -236,7 +236,7 @@ def run_check(xymon):
if
no_ldap_user
:
if
no_ldap_user
:
title
=
'
no user for home
'
title
=
'
no user for home
'
content
=
'
home directory without a corresponding ldap user
'
content
=
'
home directory without a corresponding ldap user
<br/><br/>
'
for
home
in
no_ldap_user
:
for
home
in
no_ldap_user
:
content
+=
''
.
join
([
str
(
home
),
'
<br/>
'
])
content
+=
''
.
join
([
str
(
home
),
'
<br/>
'
])
xymon
.
section
(
title
,
content
)
xymon
.
section
(
title
,
content
)
...
@@ -244,7 +244,7 @@ def run_check(xymon):
...
@@ -244,7 +244,7 @@ def run_check(xymon):
if
bad_nis_map
:
if
bad_nis_map
:
title
=
'
bad nismaps (home)
'
title
=
'
bad nismaps (home)
'
content
=
'
nismap does not match home path on the filesystem
'
content
=
'
nismap does not match home path on the filesystem
<br/><br/>
'
for
home
in
bad_nis_map
:
for
home
in
bad_nis_map
:
content
+=
''
.
join
([
str
(
home
),
'
<br/>
'
])
content
+=
''
.
join
([
str
(
home
),
'
<br/>
'
])
xymon
.
section
(
title
,
content
)
xymon
.
section
(
title
,
content
)
...
@@ -252,7 +252,7 @@ def run_check(xymon):
...
@@ -252,7 +252,7 @@ def run_check(xymon):
if
no_nis_map
:
if
no_nis_map
:
title
=
'
no nismap for home
'
title
=
'
no nismap for home
'
content
=
'
home directory without a corresponding nismap entry
'
content
=
'
home directory without a corresponding nismap entry
<br/><br/>
'
for
home
in
no_nis_map
:
for
home
in
no_nis_map
:
content
+=
''
.
join
([
str
(
home
),
'
<br/>
'
])
content
+=
''
.
join
([
str
(
home
),
'
<br/>
'
])
xymon
.
section
(
title
,
content
)
xymon
.
section
(
title
,
content
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment