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
Emmanuel Temam
nrpe3
Commits
2e39739d
Commit
2e39739d
authored
Nov 24, 2017
by
Emmanuel Temam
Browse files
small bug
parent
870c8f1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
nrpe2to3.sh
View file @
2e39739d
...
...
@@ -30,7 +30,7 @@ echo "making new nrpe.cfg"
cat
$NRPEFILE
|
grep
"^command
\[
"
>
$DESTDIR
/local_commands.cfg
wget
-O
- https://gitlab.math.univ-paris-diderot.fr/etemam/nrpe3/raw/master/tpl_nrpe3.cfg
>
/tmp/nrpe.cfg
mv
$NRPEFILE
$DESTDIR
/nrpe.cfg.bak
echo
"include_dir=
$DESDIR
"
>>
/tmp/nrpe.cfg
echo
"include_dir=
$DES
T
DIR
"
>>
/tmp/nrpe.cfg
mv
/tmp/nrpe.cfg
$NRPEFILE
echo
"Starting nrpe3"
/usr/local/etc/rc.d/nrpe3 start
Write
Preview
Markdown
is supported
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