forked from naparuba/pack-linux-ssh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add: link to the scripts repo with libexec, and add LOT of services w…
…ith good macros
- Loading branch information
Showing
25 changed files
with
244 additions
and
82 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*~ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "libexec"] | ||
path = libexec | ||
url = https://github.com/naparuba/check-linux-by-ssh.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is a check based on the load average look by ssh | ||
define service{ | ||
service_description SSH Connexion | ||
use linux-ssh-service | ||
register 0 | ||
host_name linux-ssh | ||
check_command check_ssh_connexion | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This is a check based on the load average look by ssh | ||
define service{ | ||
service_description CPU Stats | ||
use linux-ssh-service | ||
register 0 | ||
host_name linux-ssh | ||
check_command check_ssh_linux_cpu_stats | ||
|
||
aggregation system/perfs | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# This is a check based on the disks look by ssh | ||
define service{ | ||
service_description Disks | ||
use linux-ssh-service | ||
register 0 | ||
host_name linux-ssh | ||
check_command check_linux_disks_ssh | ||
service_description Disks | ||
use linux-ssh-service | ||
register 0 | ||
host_name linux-ssh | ||
check_command check_ssh_linux_disks | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This is a check based on the disks stats look by ssh | ||
define service{ | ||
service_description Disks Stats | ||
use linux-ssh-service | ||
register 0 | ||
host_name linux-ssh | ||
check_command check_ssh_linux_disks_stats | ||
|
||
aggregation system/perfs | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This is a check based on the disks stats look by ssh | ||
define service{ | ||
service_description Kernel Stats | ||
use linux-ssh-service | ||
register 0 | ||
host_name linux-ssh | ||
check_command check_ssh_linux_kernel_stats | ||
|
||
aggregation system/perfs | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This is a check based on the load average look by ssh | ||
define service{ | ||
service_description Load Average | ||
use linux-ssh-service | ||
register 0 | ||
host_name linux-ssh | ||
check_command check_ssh_linux_load_average | ||
|
||
aggregation system/perfs | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
# This is a check based on the memory look by ssh | ||
define service{ | ||
service_description Memory | ||
use linux-ssh-service | ||
register 0 | ||
host_name linux-ssh | ||
check_command check_linux_memory_ssh | ||
check_command check_ssh_linux_memory | ||
|
||
_DETAILLEDESC Espace disque reserve pour heberge les pages memoire devenues inutilisees, il est donc plus avantageux de basculer ces pages sur disque plutôt qu’en memoire RAM qui heberge de donnees vives. | ||
_IMPACT Moyen: Trop d’espace de pagination occupe signifie que le systeme n’a pas assez de la memoire vive pour faire fonctionner ses applications. Un important ralentissement se fera sentir dans ce cas | ||
_FIXACTIONS Audit de performance si l’evenement survient dans une utilisation normale du systeme. Rajout de RAM sur le serveur en dernier recours. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This is a check based on the load average look by ssh | ||
define service{ | ||
service_description NET Stats | ||
use linux-ssh-service | ||
register 0 | ||
host_name linux-ssh | ||
check_command check_ssh_linux_net_stats | ||
|
||
aggregation system/perfs | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This is a check based on the nfs look by ssh | ||
define service{ | ||
service_description NFS Stats | ||
use linux-ssh-service | ||
register 0 | ||
host_name linux-ssh | ||
check_command check_ssh_linux_nfs_stats | ||
|
||
aggregation system/nfs | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is a check based on the ntp look by ssh | ||
define service{ | ||
service_description NtpSync | ||
use linux-ssh-service | ||
register 0 | ||
host_name linux-ssh&!chrony | ||
check_command check_ssh_linux_ntp_sync | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# This is a check based on the ntp look by ssh | ||
define service{ | ||
service_description NtpSync | ||
use linux-ssh-service | ||
register 0 | ||
host_name linux-ssh&chrony | ||
check_command check_ssh_linux_ntp_sync_chrony | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is a check based on the disks stats look by ssh | ||
define service{ | ||
service_description Read-only Filesystems | ||
use linux-ssh-service | ||
register 0 | ||
host_name linux-ssh | ||
check_command check_ssh_ro_filesystem | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is a check based on the load average look by ssh | ||
define service{ | ||
service_description TCP States | ||
use linux-ssh-service | ||
register 0 | ||
host_name linux-ssh | ||
check_command check_ssh_linux_tcp_states | ||
|
||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# This is a check based on the uptime look by ssh | ||
define service{ | ||
service_description Reboot | ||
use linux-ssh-service | ||
register 0 | ||
host_name linux-ssh | ||
check_command check_ssh_linux_uptime | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.