-
Notifications
You must be signed in to change notification settings - Fork 91
/
Windows_SNMP.cfg
70 lines (59 loc) · 2.29 KB
/
Windows_SNMP.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
### Host Defination ###
define host {
use windows-techarkit
host_name win2008.techarkit.local
alias Windows 2008 Web Server
address 192.168.29.205
contacts ravi
contact_groups admins
}
## Service Definations ##
define service {
use service-techarkit
host_name win2008.techarkit.local
service_description PING
check_command check_ping!100.0,20%!500.0,60%
contacts ravi
contact_groups admins
}
define service {
use service-techarkit
host_name win2008.techarkit.local
service_description C:\ Drive Space
check_command check_snmp_storage!-C nagios --v2c -w 80 -c 90 -q 'FixedDisk' -m C
contacts ravi
contact_groups admins
}
define service {
use service-techarkit
host_name win2008.techarkit.local
service_description Physical Memory Usage
check_command check_snmp_storage!-C nagios --v2c -w 80 -c 90 -m 'Physical Memory'
contacts ravi
contact_groups admins
}
define service {
use service-techarkit
host_name win2008.techarkit.local
service_description Virtual Memory Usage
check_command check_snmp_storage!-C nagios --v2c -w 80 -c 90 -m 'Virtual Memory'
contacts ravi
contact_groups admins
}
define service {
use service-techarkit
host_name win2008.techarkit.local
service_description Uptime
check_command check_snmp!-C nagios -o sysUpTime.0
contacts ravi
contact_groups admins
}
## Monitorig Process Status ##
define service {
use service-techarkit
host_name win2008.techarkit.local
service_description Explorer
check_command check_snmp_process!-C nagios --v2c -r -n "explorer.exe"
contacts ravi
contact_groups admins
}