Pages

Nagios basic template for Windows

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

By default OSCC give us several type of services template for Windows, 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  winserver
 service_description C:\ Drive Space
 use   generic-service
 check_command  check_nt!USEDDISKSPACE!-l c -w 80 -c 90
 register  1
 } 

define service {
 host_name  winserver
 service_description CPU Load
 use   generic-service
 check_command  check_nt!CPULOAD!-l 5,80,90
 register  1
 } 

define service {
 host_name  winserver
 service_description Explorer
 use   generic-service
 check_command  check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe
 register  1
 } 

define service {
 host_name  winserver
 service_description Memory Usage
 use   generic-service
 check_command  check_nt!MEMUSE!-w 80 -c 90
 register  1
 } 

define service {
 host_name  winserver
 service_description NSClient++ Version
 use   generic-service
 check_command  check_nt!CLIENTVERSION
 register  1
 } 

define service {
 host_name  winserver
 service_description Uptime
 use   generic-service
 check_command  check_nt!UPTIME
 register  1
 } 

define service {
 host_name  winserver
 service_description W3SVC
 use   generic-service
 check_command  check_nt!SERVICESTATE!-d SHOWALL -l W3SVC
 register  1
 } 

#####################################################################
#
# Service configuration file
#
# END OF FILE
#
#####################################################################

No comments:

Post a Comment

You might also like:

  • Migration Zimbra from Axigen
    Migration Zimbra from Axigen

    Sample script for…

  • How to re-gain access to the hidden attribute setting ?
    How to re-gain access to the hidden attribute setting ?

    Click Start Click Run Key in cmd and then press…

  • Linux like workspaces with WindowsPager
    Linux like workspaces with WindowsPager

    Basic feature that I like when using Linux is…

  • XAMPP 8.1.6 + Snipe-IT-6.0.10
    XAMPP 8.1.6 + Snipe-IT-6.0.10

    These are the brief step on configuring Snipe-IT…

Popular Posts