By default OSCC give us several type of services template for LINUX, which are;
#####################################################################
#
# Service configuration file
#
# Created by: Nagios QL Version 3.0.3
# Date: 2010-09-28 16:25:09
# Version: Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios QL will overwite all manual settings during the next update
#
#####################################################################
define service {
host_name localhost
service_description Current Load
use local-service
check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
register 1
}
define service {
host_name localhost
service_description Current Users
use local-service
check_command check_local_users!20!50
register 1
}
define service {
host_name localhost
service_description HTTP
use local-service
check_command check_http
notifications_enabled 0
register 1
}
define service {
host_name localhost
service_description PING
use local-service
check_command check_ping!100.0,20%!500.0,60%
register 1
}
define service {
host_name localhost
service_description Root Partition
use local-service
check_command check_local_disk!20%!10%!/
register 1
}
define service {
host_name localhost
service_description SSH
use local-service
check_command check_ssh
notifications_enabled 0
register 1
}
define service {
host_name localhost
service_description Swap Usage
use local-service
check_command check_local_swap!20!10
register 1
}
define service {
host_name localhost
service_description Total Processes
use local-service
check_command check_local_procs!250!400!RSZDT
register 1
}
#####################################################################
#
# Service configuration file
#
# END OF FILE
#
#####################################################################
No comments:
Post a Comment