Browse Source

test fichier de conf

master
pdiogoantunes 3 years ago
parent
commit
c6e887407d
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      HowtoNagios.md

+ 6
- 0
HowtoNagios.md View File

@@ -2,6 +2,12 @@

* <https://www.nagios.org/documentation/>

## Faire tous les tests d'un fichier de conf

~~~{.bash}
(while read line; do if [[ "$line" =~ ^command ]]; then echo $line; eval $(echo "$line" | cut -d'=' -f2); fi; done) < /etc/nagios/nrpe.d/tests.cfg
~~~

## FAQ

### priorité dans nrpe.d/ ?


Loading…
Cancel
Save