Pages

Nagios basic template for LINUX

We can check the configuration for services from /etc/nagiosql/domains/localhost/services/localhost.cfg

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

You might also like:

  • Linux like workspaces with WindowsPager
    Linux like workspaces with WindowsPager

    Basic feature that I like when using Linux is…

  • Registry editing has been disabled by your administrator
    Registry editing has been disabled by your administrator

    Simplest solution for it; Click Start >>…

  • Remove www1.delta-search.com
    Remove www1.delta-search.com

    Guide to remove Delta Search from Firefox: Open…

  • Create A Super Hidden File Or Folder In Windows Vista Or In XP
    Create A Super Hidden File Or Folder In Windows Vista Or In XP

    You may have created normal hidden folders in…

Popular Posts