79 lines
2.7 KiB
Markdown
79 lines
2.7 KiB
Markdown
## Addon NRPE
|
|
|
|
- Tout les sondes ci-dessous son à ajouter dans le fichier nsclient.ini
|
|
- Recherche la rubrique : `[/settings/external scripts/scripts]`
|
|
|
|
## Partie Supervision :
|
|
|
|
- <u>Certificats-local.ps1</u> <br>
|
|
**Description** : Controle l'expiration d'un ou plusieurs certificat se trouvant dansle même dossier. <br>
|
|
|
|
Check_ca=cmd /c echo C:\Exploit\Centreon\Certificats-local.ps1 | powershell.exe -command -
|
|
|
|
- <u>Check_win_last_update.ps1</u> <br>
|
|
**Description** :
|
|
|
|
Check_win_last_update=cmd /c echo C:\Exploit\Centreon\check_win_last_update.ps1 | powershell.exe -command -
|
|
|
|
- <u>WSTester.ps1</u> <br>
|
|
**Description** :
|
|
|
|
Check_WSTester=cmd /c echo C:\Exploit\Centreon\WSTester.ps1 | powershell.exe -command -
|
|
|
|
- <u>Dynamics-AX.ps1</u> <br>
|
|
**Description** : Pour l'application Dynamics AX
|
|
|
|
Check_DynamicsAX=cmd /c echo C:\Exploit\Centreon\Dynamics-AX.ps1 | powershell.exe -command -
|
|
|
|
- <u>Check-NetLbfoTeamMember.ps1</u> <br>
|
|
**Description** :
|
|
|
|
Check_TeamMember=cmd /c echo C:\Exploit\Centreon\Check-NetLbfoTeamMember.ps1 | powershell.exe -command -
|
|
|
|
- <u>Check_diskdefragstatus.ps1</u> <br>
|
|
**Description** :
|
|
|
|
Check_Defrag=cmd /c echo C:\Exploit\Centreon\check_diskdefragstatus.ps1 -warning 15 -critical 30 | powershell.exe -command -
|
|
|
|
- <u>Check_iis.ps1</u> <br>
|
|
**Description** :
|
|
|
|
Check_IIS=cmd /c echo C:\Exploit\Centreon\check_iis.ps1 | powershell.exe -command -
|
|
|
|
- <u>Check_IISPerformance_State.ps1</u> <br>
|
|
**Description** :
|
|
|
|
Check_iisperformance_state=cmd /c echo C:\Exploit\Centreon\Check_IISPerformance_State.ps1 -WebSite $ARG1$ | powershell.exe -command -
|
|
|
|
- <u>Check_iis8_app_pool_state.ps1</u> <br>
|
|
**Description** :
|
|
|
|
Check_IIS8_AppPool=cmd /c echo C:\Exploit\Centreon\check_iis8_app_pool_state.ps1 $ARG1$ | powershell.exe -command -
|
|
|
|
- <u>Check_iis8_connections.ps1</u> <br>
|
|
**Description** :
|
|
|
|
Check_IIS8_Connexions=cmd /c echo C:\Exploit\Centreon\check_iis8_connections.ps1 $ARG1$ $ARG2$ $ARG3$ | powershell.exe -command -
|
|
|
|
- <u>Check_iis8_site.ps1</u> <br>
|
|
**Description** :
|
|
|
|
Check_IIS8_SiteWeb=cmd /c echo C:\Exploit\Centreon\check_iis8_site.ps1 $ARG1$ | powershell.exe -command -
|
|
|
|
## Partie Hypervision :
|
|
|
|
- <u>Task-kill-Process.ps1</u> <br>
|
|
**Description** : Permet de couper un process si une alerte définie est atteinte
|
|
|
|
Task_Kill_Process=cmd /c echo C:\Exploit\Centreon\Task-kill-Process.ps1 $ARG1$ | powershell.exe -command -
|
|
|
|
- <u>Task-Restart-Service.ps1</u> <br>
|
|
**Description** : Relance d'un service
|
|
|
|
Task_Restart_Service=cmd /c echo C:\Exploit\Centreon\Task-Restart-Service.ps1 $ARG1$ | powershell.exe -command -
|
|
|
|
- <u>Task-Defrag.ps1</u> <br>
|
|
**Description** : Lance une défragmentation en cas d'alerte
|
|
|
|
Task_Defrag=cmd /c echo C:\Exploit\Centreon\Task_defrag.ps1 | powershell.exe -command -
|