system.txt in Monitoring 7
# Define a service to check the disk space of the root partition
# on the remote machine. Warning if < 20% free, critical if
# < 10% free space on partition.
define service{
use generic-service
host_name @host
service_description Disk Space
check_command check_all_disks!20%!10%
}
# Define a service to check the number of currently logged in
# users on the remote machine. Warning if > 20 users, critical
# if > 50 users.
define service{
use generic-service
host_name @host
service_description Current Users
check_command check_users!20!50
}
# Define a service to check the number of currently running procs
# on the remote machine. Warning if > 250 processes, critical if
# > 400 processes.
define service{
use generic-service
host_name @host
service_description Total Processes
check_command check_procs!250!400
}
# Define a service to check the load on the remote machine.
define service{
use generic-service
host_name @host
service_description Current Load
check_command check_load!5.0!4.0!3.0!10.0!6.0!4.0
}
File
modules/monitoring_icinga/config_tpl/system.txt
View source
- # Define a service to check the disk space of the root partition
- # on the remote machine. Warning if < 20% free, critical if
- # < 10% free space on partition.
-
- define service{
- use generic-service
- host_name @host
- service_description Disk Space
- check_command check_all_disks!20%!10%
- }
-
-
-
- # Define a service to check the number of currently logged in
- # users on the remote machine. Warning if > 20 users, critical
- # if > 50 users.
-
- define service{
- use generic-service
- host_name @host
- service_description Current Users
- check_command check_users!20!50
- }
-
-
- # Define a service to check the number of currently running procs
- # on the remote machine. Warning if > 250 processes, critical if
- # > 400 processes.
-
- define service{
- use generic-service
- host_name @host
- service_description Total Processes
- check_command check_procs!250!400
- }
-
-
-
- # Define a service to check the load on the remote machine.
-
- define service{
- use generic-service
- host_name @host
- service_description Current Load
- check_command check_load!5.0!4.0!3.0!10.0!6.0!4.0
- }