mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #18405 from tbaschak/nagios-pillar-example
Nagios module pillar docs ex update
This commit is contained in:
commit
e77b371692
@ -46,10 +46,10 @@ def _execute_pillar(pillar_name, run_type):
|
||||
------
|
||||
webserver:
|
||||
Ping_google:
|
||||
- check_icmp:8.8.8.8
|
||||
- check_icmp:google.com
|
||||
- check_icmp: 8.8.8.8
|
||||
- check_icmp: google.com
|
||||
Load:
|
||||
- check_load:-w 0.8 -c 1
|
||||
- check_load: -w 0.8 -c 1
|
||||
APT:
|
||||
- check_apt
|
||||
-------
|
||||
@ -135,10 +135,10 @@ def retcode_pillar(pillar_name):
|
||||
------
|
||||
webserver:
|
||||
Ping_google:
|
||||
- check_icmp:8.8.8.8
|
||||
- check_icmp:google.com
|
||||
- check_icmp: 8.8.8.8
|
||||
- check_icmp: google.com
|
||||
Load:
|
||||
- check_load:-w 0.8 -c 1
|
||||
- check_load: -w 0.8 -c 1
|
||||
APT:
|
||||
- check_apt
|
||||
-------
|
||||
@ -196,10 +196,10 @@ def run_pillar(pillar_name):
|
||||
------
|
||||
webserver:
|
||||
Ping_google:
|
||||
- check_icmp:8.8.8.8
|
||||
- check_icmp:google.com
|
||||
- check_icmp: 8.8.8.8
|
||||
- check_icmp: google.com
|
||||
Load:
|
||||
- check_load:-w 0.8 -c 1
|
||||
- check_load: -w 0.8 -c 1
|
||||
APT:
|
||||
- check_apt
|
||||
-------
|
||||
@ -228,10 +228,10 @@ def run_all_pillar(pillar_name):
|
||||
------
|
||||
webserver:
|
||||
Ping_google:
|
||||
- check_icmp:8.8.8.8
|
||||
- check_icmp:google.com
|
||||
- check_icmp: 8.8.8.8
|
||||
- check_icmp: google.com
|
||||
Load:
|
||||
- check_load:-w 0.8 -c 1
|
||||
- check_load: -w 0.8 -c 1
|
||||
APT:
|
||||
- check_apt
|
||||
-------
|
||||
|
Loading…
Reference in New Issue
Block a user