Changeset 303 for nagios/objects
- Timestamp:
- Apr 14, 2011, 1:03:47 PM (14 years ago)
- Location:
- nagios/objects
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
nagios/objects/commands.cfg
r263 r303 263 263 264 264 265 265 # 'check-host-alive' command definition (ipv6) 266 define command{ 267 command_name check_ping_ipv6 268 command_line $USER1$/check_ping -6 -H $HOSTNAME$ -w 3000.0,80% -c 5000.0,100% -p 10 269 } 270 271 define command{ 272 command_name check_ping_ipv6_addr 273 command_line $USER1$/check_ping -6 -H $ARG1$ -w 3000.0,80% -c 5000.0,100% -p 10 274 } 275 -
nagios/objects/templates.cfg
r262 r303 63 63 notification_options d,u,r ; Only send notifications for specific host states 64 64 contact_groups admins ; Notifications get sent to the admins by default 65 check_command check-host-alive ; Default command to check FreeBSD hosts 65 66 register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! 66 67 action_url /pnp4nagios/graph?host=$HOSTNAME$' class='tips' rel='/pnp4nagios/popup?host=$HOSTNAME$ … … 72 73 max_check_attempts 10 73 74 host_name fritz.box 75 address 192.168.178.1 74 76 } 75 77 … … 82 84 } 83 85 84 # FreeBSD host definition template - This is NOT a real host, just a template! 85 define host{ 86 name freebsd-server ; The name of this host template 87 parents ns.xs4all.nl 86 87 # freebsd host definition template - this is not a real host, just a template! 88 define host{ 89 name freebsd-server ; the name of this host template 90 parents ns.xs4all.nl ; HACK to avoid spams 88 91 use generic-host ; This template inherits other values from the generic-host template 89 92 check_period 24x7 ; By default, FreeBSD hosts are checked round the clock … … 91 94 retry_interval 1 ; Schedule host check retries at 1 minute intervals 92 95 max_check_attempts 10 ; Check each FreeBSD host 10 times (max) 93 check_command check-host-alive ; Default command to check FreeBSD hosts94 96 register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! 95 97 } 96 97 98 98 99 -
nagios/objects/vanderzwet.net.cfg
r264 r303 25 25 define host{ 26 26 use freebsd-server 27 parents 27 28 host_name buzz.vanderzwet.net 28 29 } … … 35 36 define host { 36 37 use freebsd-server 37 host_name wiki.lorentzschool.nl 38 address 145.102.33.45 39 } 40 41 define host { 42 use freebsd-server 43 host_name wiki2.lorentzschool.nl 44 address 145.102.33.46 38 host_name alpina.lorentzschool.nl 39 } 40 41 define host { 42 use freebsd-server 43 host_name broom.lorentzschool.nl 45 44 } 46 45 … … 82 81 hostgroup_name vanderzwet.net 83 82 alias Rick van der Zwet - FreeBSD Servers 84 members buzz.vanderzwet.net,zweot.vanderzwet.net,riff.vanderzwet.net,roel.vanderzwet.net,wifisoft.vanderzwet.net 83 members buzz.vanderzwet.net,zweot.vanderzwet.net,riff.vanderzwet.net,roel.vanderzwet.net,wifisoft.vanderzwet.net,pzwet.vanderzwet.net 85 84 } 86 85 … … 88 87 hostgroup_name lorentzschool.nl 89 88 alias Lorentzschool education servers - FreeBSD Servers 90 members wiki.lorentzschool.nl,wiki2.lorentzschool.nl89 members alpina.lorentzschool.nl,broom.lorentzschool.nl 91 90 } 92 91 … … 111 110 define service{ 112 111 use local-service 113 host_name !siteview.wirelessleiden.nl 112 host_name !siteview.wirelessleiden.nl,fritz.box,!sunfire.wirelessleiden.nl,CNodeZwet.wleiden.net 114 113 hostgroup_name vanderzwet.net,wirelessleiden.nl,lorentzschool.nl 115 114 service_description HTTP … … 117 116 notifications_enabled 1 118 117 } 118 119 define service{ 120 use local-service 121 host_name sunfire.wirelessleiden.nl 122 service_description HTTP /buildbot/ 123 check_command check_http!-u /buildbot/ 124 notifications_enabled 1 125 } 126 119 127 120 128 define service{ … … 129 137 define service{ 130 138 use local-service 131 host_name siteview.wirelessleiden.nl,buzz.vanderzwet.net,tyan.wirelessleiden.nl,zweot.vanderzwet.net 139 host_name siteview.wirelessleiden.nl,buzz.vanderzwet.net,tyan.wirelessleiden.nl,zweot.vanderzwet.net,ns.xs4all.nl 132 140 service_description DNS 133 141 check_command check_dns … … 195 203 } 196 204 205 define service { 206 use local-service 207 host_name siteview.wirelessleiden.nl 208 service_description Interface usage em0 209 check_command check_snmp_int!em0 210 notifications_enabled 0 211 } 197 212 198 213 define service { … … 222 237 define service { 223 238 use local-service 239 host_name tyan.wirelessleiden.nl 240 service_description Interface usage bge1 241 check_command check_snmp_int!bge1 242 notifications_enabled 0 243 } 244 245 define service { 246 use local-service 224 247 host_name zweot.vanderzwet.net 225 248 service_description NTP Server … … 234 257 } 235 258 259 define service { 260 use local-service 261 host_name buzz.vanderzwet.net,zweot.vanderzwet.net,riff.vanderzwet.net 262 service_description ICMP under IPv6 263 check_command check_ping_ipv6 264 } 265 266 define service { 267 use local-service 268 host_name tyan.wirelessleiden.nl 269 service_description ICMP under IPv6 270 check_command check_ping_ipv6_addr!2001:610:600:850::1 271 } 272 273 274
Note:
See TracChangeset
for help on using the changeset viewer.