Browse Source

ajout de logname(1)

master
jlecour 3 years ago
parent
commit
27aa914069
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      HowtoNagiosChecksWrapper.md

+ 2
- 2
HowtoNagiosChecksWrapper.md View File

@ -64,11 +64,11 @@ now () {
}
log_disable () {
echo "$(now) - alerts disabled" >> $1
echo "$(now) - alerts disabled by $(logname)" >> $1
}
log_enable () {
echo "$(now) - alerts enabled" >> $1
echo "$(now) - alerts enabled by $(logname)">> $1
}
main () {


Loading…
Cancel
Save