summaryrefslogtreecommitdiff
path: root/package/icinga/src/etc/icinga/objects/windows.cfg
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2011-12-03 12:21:37 +0100
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2011-12-03 12:21:37 +0100
commit79f8f9c199a30524b5636c00e86fc8f179caf6f2 (patch)
treea83c54b46d244496d8b7d7a693eab447c407bcbc /package/icinga/src/etc/icinga/objects/windows.cfg
parent80003c2b6747bb215348b6870bd67bae34232f23 (diff)
add icinga core
Diffstat (limited to 'package/icinga/src/etc/icinga/objects/windows.cfg')
-rw-r--r--package/icinga/src/etc/icinga/objects/windows.cfg143
1 files changed, 143 insertions, 0 deletions
diff --git a/package/icinga/src/etc/icinga/objects/windows.cfg b/package/icinga/src/etc/icinga/objects/windows.cfg
new file mode 100644
index 000000000..c3b917852
--- /dev/null
+++ b/package/icinga/src/etc/icinga/objects/windows.cfg
@@ -0,0 +1,143 @@
+###############################################################################
+# WINDOWS.CFG - SAMPLE CONFIG FILE FOR MONITORING A WINDOWS MACHINE
+#
+# NOTES: This config file assumes that you are using the sample configuration
+# files that get installed with the Icinga quickstart guide.
+#
+###############################################################################
+
+
+
+
+###############################################################################
+###############################################################################
+#
+# HOST DEFINITIONS
+#
+###############################################################################
+###############################################################################
+
+# Define a host for the Windows machine we'll be monitoring
+# Change the host_name, alias, and address to fit your situation
+
+define host{
+ use windows-server ; Inherit default values from a template
+ host_name winserver ; The name we're giving to this host
+ alias My Windows Server ; A longer name associated with the host
+ address 192.168.1.2 ; IP address of the host
+ }
+
+
+
+
+###############################################################################
+###############################################################################
+#
+# HOST GROUP DEFINITIONS
+#
+###############################################################################
+###############################################################################
+
+
+# Define a hostgroup for Windows machines
+# All hosts that use the windows-server template will automatically be a member of this group
+
+define hostgroup{
+ hostgroup_name windows-servers ; The name of the hostgroup
+ alias Windows Servers ; Long name of the group
+ }
+
+
+
+
+###############################################################################
+###############################################################################
+#
+# SERVICE DEFINITIONS
+#
+###############################################################################
+###############################################################################
+
+
+# Create a service for monitoring the version of NSCLient++ that is installed
+# Change the host_name to match the name of the host you defined above
+
+define service{
+ use generic-service
+ host_name winserver
+ service_description NSClient++ Version
+ check_command check_nt!CLIENTVERSION
+ }
+
+
+
+# Create a service for monitoring the uptime of the server
+# Change the host_name to match the name of the host you defined above
+
+define service{
+ use generic-service
+ host_name winserver
+ service_description Uptime
+ check_command check_nt!UPTIME
+ }
+
+
+
+# Create a service for monitoring CPU load
+# Change the host_name to match the name of the host you defined above
+
+define service{
+ use generic-service
+ host_name winserver
+ service_description CPU Load
+ check_command check_nt!CPULOAD!-l 5,80,90
+ }
+
+
+
+# Create a service for monitoring memory usage
+# Change the host_name to match the name of the host you defined above
+
+define service{
+ use generic-service
+ host_name winserver
+ service_description Memory Usage
+ check_command check_nt!MEMUSE!-w 80 -c 90
+ }
+
+
+
+# Create a service for monitoring C:\ disk usage
+# Change the host_name to match the name of the host you defined above
+
+define service{
+ use generic-service
+ host_name winserver
+ service_description C:\ Drive Space
+ check_command check_nt!USEDDISKSPACE!-l c -w 80 -c 90
+ }
+
+
+
+# Create a service for monitoring the W3SVC service
+# Change the host_name to match the name of the host you defined above
+
+define service{
+ use generic-service
+ host_name winserver
+ service_description W3SVC
+ check_command check_nt!SERVICESTATE!-d SHOWALL -l W3SVC
+ }
+
+
+
+# Create a service for monitoring the Explorer.exe process
+# Change the host_name to match the name of the host you defined above
+
+define service{
+ use generic-service
+ host_name winserver
+ service_description Explorer
+ check_command check_nt!PROCSTATE!-d SHOWALL -l Explorer.exe
+ }
+