|
Last change
on this file since 254 was
254,
checked in by g7moreau, 7 years ago
|
- Change to action and make ssh depend generic
|
|
File size:
788 bytes
|
| Line | |
|---|
| 1 | --- |
|---|
| 2 | status-file: /var/cache/nagios3/status.dat |
|---|
| 3 | nagios-cmd: /var/lib/nagios3/rw/nagios.cmd |
|---|
| 4 | |
|---|
| 5 | portal-url: https://srv-nagios.example.com/nagios3/ |
|---|
| 6 | status-cgi: https://srv-nagios.example.com/cgi-bin/nagios3/status.cgi |
|---|
| 7 | |
|---|
| 8 | mapping: |
|---|
| 9 | localhost: srv-nagios |
|---|
| 10 | toto: titi |
|---|
| 11 | |
|---|
| 12 | downtime: |
|---|
| 13 | min: 3 |
|---|
| 14 | max: 50 |
|---|
| 15 | factor: 0.7 |
|---|
| 16 | |
|---|
| 17 | action: |
|---|
| 18 | oom-killer: |
|---|
| 19 | regex: ^OOM Killer |
|---|
| 20 | title: OOM Killer |
|---|
| 21 | command: tssh -c 'sudo rm /var/lib/nagios3/nagios_oom_killer.log' %m |
|---|
| 22 | command-one: ssh %m 'sudo rm /var/lib/nagios3/nagios_oom_killer.log' |
|---|
| 23 | depend: ^SSH |
|---|
| 24 | status: ALL |
|---|
| 25 | style: bold |
|---|
| 26 | |
|---|
| 27 | apt-uptodate: |
|---|
| 28 | regex: ^APT UPTODATE |
|---|
| 29 | title: APT UPTODATE |
|---|
| 30 | command: tssh %m |
|---|
| 31 | command-one: ssh %m |
|---|
| 32 | depend: ^SSH |
|---|
| 33 | status: ALL |
|---|
| 34 | style: bold |
|---|
Note: See
TracBrowser
for help on using the repository browser.