Changeset 429
- Timestamp:
- Sep 26, 2007, 12:22:56 AM (16 years ago)
- Location:
- noc/nagios
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
noc/nagios/checkcommands.cfg
r48 r429 75 75 } 76 76 77 # 'check_http_heartbeat' command definition 78 define command{ 79 command_name check_http_heartbeat 80 command_line $USER1$/check_http -H $HOSTADDRESS$ -u /heartbeat/http -s 1 81 } 82 83 # 'check_https_cert' command definition 84 define command{ 85 command_name check_https_cert 86 command_line $USER1$/check_http -H $HOSTADDRESS$ -S -C $ARG1$ 87 } 77 88 78 89 # 'check_local_disk' command definition -
noc/nagios/services.cfg
r48 r429 29 29 define service { 30 30 use scripts-service 31 host_name scripts 32 service_description SSH 33 check_command check_ssh 34 notification_period afs 35 contact_groups scripts,pagers 36 } 37 38 define service { 39 use scripts-service 31 40 hostgroup_name scripts-http 32 41 service_description HTTP 33 check_command check_http 42 notification_period afs 43 check_command check_http_heartbeat 44 contact_groups scripts,pagers 34 45 } 35 46 … … 38 49 hostgroup_name scripts-https 39 50 service_description HTTPS 40 check_command check_tcp!443 51 notification_period afs 52 check_command check_https_cert!14 53 contact_groups scripts,pagers 41 54 } 42 55 … … 45 58 hostgroup_name scripts-mail 46 59 service_description POSTFIX 47 check_command check_remote_procs_u!2:50!2:100!postfix 60 check_command check_remote_procs_u!1:110!1:200!postfix 61 } 62 63 define service { 64 use scripts-service 65 hostgroup_name scripts-mail 66 service_description SMTP 67 check_command check_smtp 68 } 69 70 define service { 71 use scripts-service 72 host_name scripts 73 service_description SMTP 74 check_command check_smtp 48 75 } 49 76 … … 102 129 service_description MYSQL 103 130 check_command check_tcp!3306 131 contact_groups scripts,pagers 132 } 133 134 define service { 135 use scripts-service 136 hostgroup_name scripts-mysql 137 service_description HTTP 138 notification_period afs 139 check_command check_http 140 contact_groups scripts,pagers 104 141 } 105 142
Note: See TracChangeset
for help on using the changeset viewer.