Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
UnixMaster at Central-IT
idp-tools
Commits
81e1c448
Commit
81e1c448
authored
Oct 05, 2016
by
Cédric BRINER
Committed by
Cédric BRINER
Oct 05, 2016
Browse files
web-status-graphite initial commit
parent
5b703ab3
Changes
1
Hide whitespace changes
Inline
Side-by-side
idp-tools
View file @
81e1c448
...
...
@@ -1626,6 +1626,20 @@ EOF
ssh root@
${
h
}
"systemctl status graphite-idp-process-log"
| indent 7
fi
fi
# web-status-graphite
pb
" - web-status-graphite"
pb
"- rsync /usr/local/unige-web-status-graphite"
| indent 3
rsync
-av
/usr/local/unige-web-status-graphite/ root@
${
h
}
:/usr/local/unige-web-status-graphite/ | indent 6
sscp
"web-status-graphite.conf"
/etc/web-status-graphite.conf root@
${
h
}
:/etc/web-status-graphite.conf
sscp
"web-status-graphite.service"
/etc/systemd/system/web-status-graphite.service root@
${
h
}
:/etc/systemd/system/web-status-graphite.service
pb
"- systemctl daemon-reload"
| indent 3
ssh root@
${
h
}
"systemctl daemon-reload"
| indent 6
pb
"- enable web-status-graphite"
| indent 3
ssh root@
${
h
}
"systemctl enable /etc/systemd/system/web-status-graphite.service"
| indent 6
pb
"- restart web-status-graphite"
| indent 3
ssh root@
${
h
}
"systemctl restart /etc/systemd/system/web-status-graphite.service"
| indent 6
pb
"- status web-status-graphite"
| indent 3
ssh root@
${
h
}
"systemctl status /etc/systemd/system/web-status-graphite.service"
| indent 6
#
# POST-SCRIPT
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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