Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
nrpe:commandes [2023/07/05 14:02] – michel | nrpe:commandes [2024/12/27 06:28] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
==== nsclient.ini ==== | ==== nsclient.ini ==== | ||
< | < | ||
+ | # If you want to fill this file with all avalible options run the following command: | ||
+ | # nscp settings --generate --add-defaults --load-all | ||
+ | # If you want to activate a module and bring in all its options use: | ||
+ | # nscp settings --activate-module <MODULE NAME> --add-defaults | ||
+ | # For details run: nscp settings --help | ||
+ | |||
+ | |||
; Undocumented section | ; Undocumented section | ||
[/ | [/ | ||
Ligne 8: | Ligne 15: | ||
; ALLOWED HOSTS - A comaseparated list of allowed hosts. You can use netmasks (/ syntax) or * to create ranges. | ; ALLOWED HOSTS - A comaseparated list of allowed hosts. You can use netmasks (/ syntax) or * to create ranges. | ||
- | allowed hosts = 127.0.0.1 | + | allowed hosts = 172.16.106.14, |
debug = 1 | debug = 1 | ||
+ | |||
; Undocumented section | ; Undocumented section | ||
Ligne 15: | Ligne 23: | ||
allow arguments = true | allow arguments = true | ||
allow_nasty_meta_chars = 1 | allow_nasty_meta_chars = 1 | ||
+ | |||
+ | ; VERIFY MODE - Comma separated list of verification flags to set on the SSL socket. | ||
+ | ssl options = default-workarounds | ||
+ | |||
+ | ; VERIFY MODE - Comma separated list of verification flags to set on the SSL socket. | ||
+ | verify mode = none | ||
; ALLOW INSECURE CHIPHERS and ENCRYPTION - Only enable this if you are using legacy check_nrpe client. | ; ALLOW INSECURE CHIPHERS and ENCRYPTION - Only enable this if you are using legacy check_nrpe client. | ||
insecure = true | insecure = true | ||
+ | use ssl = false | ||
+ | |||
; Undocumented section | ; Undocumented section | ||
Ligne 48: | Ligne 64: | ||
; CheckDisk - CheckDisk can check various file and disk related things. | ; CheckDisk - CheckDisk can check various file and disk related things. | ||
CheckDisk = 1 | CheckDisk = 1 | ||
+ | |||
+ | ; | ||
+ | CheckTaskSched = 1 | ||
[/ | [/ | ||
Ligne 71: | Ligne 90: | ||
[/ | [/ | ||
- | ;Check_IIS_Counter | + | ;Remote ping |
- | CollectIISCounter | + | remote_ping |
- | ;CheckIISAppPoolState | + | ;Check_IIS |
+ | CollectIISCounter = CollectIISCounter.ps1 localhost " | ||
CheckIISAppPoolState = CheckIISAppPoolState.ps1 -ApplicationPool " | CheckIISAppPoolState = CheckIISAppPoolState.ps1 -ApplicationPool " | ||
- | |||
- | ; | ||
CheckIISCounter = CheckIISCounter.ps1 -Server " | CheckIISCounter = CheckIISCounter.ps1 -Server " | ||
- | |||
- | ; | ||
CheckIISWebsiteState = CheckIISWebsiteState.ps1 -Website " | CheckIISWebsiteState = CheckIISWebsiteState.ps1 -Website " | ||
Ligne 88: | Ligne 104: | ||
[/ | [/ | ||
- | check_veeam_backup= cmd /c echo scripts\\check_veeam_eventlogs.ps1 "$ARG1$" "$ARG2$"; exit($lastexitcode) | powershell.exe -command - | + | check_print_spooler |
+ | check_fileage=cscript.exe //nologo //T:30 scripts\\check_fileage.vbs | ||
+ | |||
+ | ; Exchanges | ||
+ | Check_bindings_log=cmd /c echo scripts\check_bindings_log.ps1; exit($lastexitcode) | ||
+ | check_testps=cmd /c echo scripts\powershell-test.ps1; | ||
+ | Exchange-serverComponentHealth=cmd /c echo scripts\Exchange-serverComponentHealth.ps1; | ||
+ | Exchange-serverPoolIIS=cmd /c echo scripts\Exchange-serverPoolIIS.ps1; | ||
+ | Exchange-serverCertificate=cmd /c echo scripts\Exchange-serverCertificate.ps1; | ||
+ | Exchange-serverDB=cmd /c echo scripts\Exchange-serverDB.ps1; | ||
+ | |||
+ | ; Seal_logs | ||
+ | check_seal_log = cmd /c echo scripts\check_SEAL_log.ps1; | ||
+ | |||
+ | ; | ||
+ | check_ms_win_tasks=cmd /c echo scripts\check_ms_win_tasks.ps1; | ||
; A list of aliases available. | ; A list of aliases available. | ||
Ligne 131: | Ligne 162: | ||
; alias_file_age - Alias for alias_file_age. To configure this item add a section called: / | ; alias_file_age - Alias for alias_file_age. To configure this item add a section called: / | ||
- | alias_file_age = check_files " | + | ;alias_file_age = check_files " |
+ | alias_file_age = check_files " | ||
; alias_cpu - Alias for alias_cpu. To configure this item add a section called: / | ; alias_cpu - Alias for alias_cpu. To configure this item add a section called: / | ||
Ligne 153: | Ligne 185: | ||
; alias_sched_long - Alias for alias_sched_long. To configure this item add a section called: / | ; alias_sched_long - Alias for alias_sched_long. To configure this item add a section called: / | ||
alias_sched_long = check_tasksched " | alias_sched_long = check_tasksched " | ||
- | |||
- | ==== WIndows ==== | ||
- | < | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
- | / | ||
</ | </ | ||
==== Linux ==== | ==== Linux ==== |