Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
The Tor Project
TPA
Wiki Replica
Commits
d704edab
Unverified
Commit
d704edab
authored
4 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
warn about config errors
parent
0f95fed3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/nagios.md
+11
-2
11 additions, 2 deletions
howto/nagios.md
with
11 additions
and
2 deletions
howto/nagios.md
+
11
−
2
View file @
d704edab
...
...
@@ -17,9 +17,18 @@ Nagios/Icinga service for Tor Project infrastructure
: NCMD is the command that's being run. If it looks sane, run it. With --verbose if you like more output.
ssh -t TARGET.tpo "$NCMD" --verbose
##
How to add a host
##
Changing the Nagios configuration
-
Add new hosts to
`tor-nagios/config/nagios-master.cfg`
.
Hosts and services are managed in the
`config/nagios-master.cfg`
YAML
configuration file, kept in the
`admin/tor-nagios.git`
repository. Make changes with a normal text editor, commit and push:
$EDITOR config/nagios-master.cfg
git commit -a
git push
Carefully watch the output of the
`git push`
command! If there is an
error, your changes won't show up (and the commit is still accepted).
## Forcing a rebuild of the configuration
...
...
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