summaryrefslogtreecommitdiff
path: root/netsaint/hosts_smaug.xenux.dk.cfg
blob: 73a2cf51ddf9bd885b67f8cdae135058520b43a5 (plain)
  1. ################################################################################
  2. # Sample HOSTS.CFG file for NetSaint 0.0.6
  3. #
  4. # Read the documentation for more information on this configuration file. I've
  5. # provided some comments here, but things may not be so clear without further
  6. # explanation, so make sure to read the HTML documentation!
  7. #
  8. # Last Modified: 07-17-2000
  9. #
  10. # NOTE: Command definitions have been moved out to a separate file (commands.cfg)
  11. # to make it easier to update them when new plugin releases are made and
  12. # plugin argument formats change. However, here is nothing preventing you
  13. # from keeping command definitions in this file. If you do move the
  14. # command definitions to this file, make sure to remove the old
  15. # 'cfg_file=/usr/local/netsaint/etc/commands.cfg' reference in your main
  16. # configuration file (netsaint.cfg)
  17. ################################################################################
  18. ################################################################################
  19. # TIME PERIOD CONFIGURATION
  20. #
  21. # SYNTAX:
  22. # timeperiod[<timeperiod_name>]=<timeperiod_alias>;<sun_timeranges>;
  23. # <mon_timeranges>;<tue_timeranges>;
  24. # <wed_timeranges>;<thu_timeranges>;
  25. # <fri_timeranges>;<sat_timeranges>
  26. #
  27. # <timeperiod_name> = A short name used to identify the time period
  28. # <timeperiod_alias> = A longer name and/or description of the time
  29. # period
  30. # <xx_timeranges> = Time ranges during the day. Ranges are in the
  31. # following format (based on a 24 hour clock)
  32. # and represent intervals of time (with a start
  33. # and end time). Multiple time ranges per day
  34. # should be separated with commas.
  35. #
  36. # Example: 09:00-17:00 (9:00am to 5:00pm)
  37. # Example: 00:00-8:00,17:00-24:00 (12:00am to 8:00am AND 5:00pm-12:00am)
  38. #
  39. # A NULL value for a particular day indicates that no times are valid
  40. # during that particular day of the week.
  41. #
  42. ################################################################################
  43. # timeperiod_name = "24x7"
  44. # timeperiod_alias = "Hours A Days, 7 Days A Week"
  45. # timeranges = 12:00am to 12:00pm (repeat 7 times to represent everyday)
  46. timeperiod[24x7]=24 Hours A Day, 7 Days A Week;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00;00:00-24:00
  47. # timeperiod_name = "workhours"
  48. # timeperiod_alias = ""Normal" Working Hours"
  49. # timeranges = 9:00am to 5:00pm (Notice the extra semicolon after the aliasname
  50. # and the extra semicolon at the end (representing an off time for
  51. # Sunday and Saturday)
  52. timeperiod[workhours]="Normal" Working Hours;;09:00-17:00;09:00-17:00;09:00-17:00;09:00-17:00;09:00-17:00;
  53. # timeperiod_name = "nonworkhours"
  54. # timeperiod_alias = "Non-Work Hours"
  55. # timeranges = 12:00am to 12:00pm Sunday
  56. # 12:00am to 9:00am and 5:00pm to 12:00am weekday
  57. # (Notice the above time is repeated 5 times to represent
  58. # Monday to Friday)
  59. # 12:00am to 12:00pm Saturday
  60. timeperiod[nonworkhours]=Non-Work Hours;00:00-24:00;00:00-09:00,17:00-24:00;00:00-09:00,17:00-24:00;00:00-09:00,17:00-24:00;00:00-09:00,17:00-24:00;00:00-09:00,17:00-24:00;00:00-24:00
  61. # timeperiod_name = "none"
  62. # timeperiod_alias = "No Time Is A Good Time"
  63. # timeranges = none
  64. timeperiod[none]=No Time Is A Good Time;;;;;;;
  65. ################################################################################
  66. # HOST CONFIGURATION
  67. #
  68. # SYNTAX:
  69. # host[<host_name>]=<host_alias>;<address>;<parent_hosts>;<host_check_command>;
  70. # <max_attempts>;<notification_interval>;<notification_period>
  71. # ;<notify_recovery>;<notify_down>;<notify_unreachable>;
  72. # <event_handler>
  73. #
  74. # <host_name> = A short name used to identify the host
  75. # <host_alias> = A longer name and/or description of the host
  76. # <address> = The address of the host (preferably an IP address!)
  77. # <parent_hosts> = This is a list of short name of the "parent" hosts of
  78. # this host. Multiple parent hosts are separated by
  79. # commas. Read the HTML documentation (particularly the
  80. # "theory of operation section") for more information
  81. # on this.
  82. # <host_check_command> = This is the short name for the command that should
  83. # be used to check to see if the host is down or up
  84. # <max_attempts> = Maximum number of times the host will be checked
  85. # before it is deemed to be "down"
  86. # <notification_interval> = Number of minutes to wait before re-notifying
  87. # contact that the host is still down.
  88. # <notification_period> = The short name of the timeperiod (as defined above)
  89. # that determines when notifications about this host
  90. # may be sent out
  91. # <notify_recovery> = Notify contacts when this host recovers?
  92. # 1= yes, 0 =no
  93. # <notify_down> = Notify contacts when host is down?
  94. # 1 = yes, 0 = no
  95. # <notify_unreachable> = Notify contacts when host is unreachable?
  96. # 1 = yes, 0 = no
  97. # <event_handler> = The short name of the command that should be
  98. # executed when change is detected in the status of
  99. # host (i.e. when it goes down or recovers. If you
  100. # do not want to use an event handlers, leave this
  101. # options blanks
  102. #
  103. ################################################################################
  104. # Note: The host definitions below do not have any event handlers specified
  105. # Servers
  106. host[web1]=Smaug/Web server 1/Localhost;127.0.0.1;;check-host-alive;10;120;24x7;1;1;1;
  107. host[web2]=Beorn/Web server 2;195.184.114.12;;check-host-alive;10;120;24x7;1;1;1;
  108. host[mail]=Oin/Mailserver;195.184.114.2;;check-host-alive;10;120;24x7;1;1;1;
  109. host[dev]=Bilbo/Development server;195.184.114.17;;check-host-alive;10;120;24x7;1;1;1;
  110. host[ns1]=Elrond/Primary name server;195.184.98.98;routerwp;check-host-alive;10;120;24x7;1;1;1;
  111. host[fw]=Orcrist/Firewall;195.184.114.20;;check-host-alive;10;120;24x7;1;1;1;
  112. # Secondary name server (dns.jones.dk)
  113. host[ns2]=dns.jones.dk/Secondary Name server;213.237.9.231;routerwp;check-host-alive;10;120;24x7;1;1;1;
  114. # Routers
  115. host[router]=Internal router;195.184.114.1;;check-host-alive;10;120;24x7;1;1;1;
  116. host[routerwp]=Webpartners internal router;192.168.6.1;router;check-host-alive;10;120;24x7;1;1;1;
  117. ################################################################################
  118. # HOST GROUP CONFIGURATION
  119. #
  120. # SYNTAX:
  121. # hostgroup[<group_name>]=<group_alias>;<contact_groups>;<hosts>
  122. #
  123. # <group_name> = A short name used to identify the host group
  124. # (i.e. 'nt-servers')
  125. # <group_alias> = A long name and/or description for this host group
  126. # (i.e. 'All NT Servers')
  127. # <contact_groups> = The name of the contact groups (defined later) that are
  128. # contacted if there are any problems with the hosts in this
  129. # group. Multiple groups are separated by commas.
  130. # <hosts> = The short names of hosts (as defined above) that are
  131. # included in this host group. Multiple hosts are separated
  132. # by commas.
  133. ################################################################################
  134. hostgroup[all]=All;admins;web1,web2,mail,dev,ns1,ns2,router,routerwp,fw
  135. hostgroup[servers]=All Servers;admins;web1,web2,mail,dev,ns1,ns2,fw
  136. hostgroup[routers]=All Routers;admins;router,routerwp
  137. ################################################################################
  138. # COMMAND CONFIGURATION
  139. #
  140. # SYNTAX:
  141. # command[<command_name>]=<command_line>
  142. #
  143. # <command_name> = A short name used to identify the command
  144. # <command_line> = The actual command line. The command line doesn't have to be
  145. # surrounded in quotes, but may contain quotes as needed within
  146. # the command line. Take care to use single quotes at the
  147. # outer edges of commands or you will have command line
  148. # expansion problems when the command is executed by the shell.
  149. # Any valid shell command can be used. Multiple commands can
  150. # be separated with semicolons, piping is allowed. The
  151. # command line can contain macros, but not are macros are valid
  152. # at all time (notifications, service checks, etc). See the
  153. # HTML documentaion for more informationon on using macros in
  154. # commands.
  155. #
  156. # Note: Service check, service notification, host check, host notification,
  157. # service event handler, and host event handler functions are all defined
  158. # here.
  159. ################################################################################
  160. # NOTE: Sample command definitions for plugins have been moved out to a separate
  161. # config file to make it easier to upgrade the definitions as new plugins
  162. # are released and command line arguments change. The command definitions
  163. # for plugins can be found in command.cfg
  164. # Service notification command - send email with problem summary
  165. command[notify-by-email]=/bin/echo -e '***** NetSaint 0.0.6 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /usr/bin/mail -s '** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **' $CONTACTEMAIL$
  166. # Service notification command - send email to alphanumeric pager gateway
  167. # The notify-by-epager command assumes that each contact has a pager email gateway, and
  168. # that the address has been entered into the appropriate contact field instead of an
  169. # actual pager number. (i.e. 'pagejoe@nowhere.com' routes mail to Joe's alphanumeric pager)
  170. command[notify-by-epager]=/bin/echo -e "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATETIME$" | /usr/bin/mail -s '$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$' $CONTACTPAGER$
  171. # Host notification commands (one for email, one for alphanumeric pager with email gateway)
  172. command[host-notify-by-email]=/bin/echo -e "***** NetSaint 0.0.7b7 *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $OUTPUT$\n\nDate/Time: $DATETIME$\n" | /usr/bin/mail -s 'Host $HOSTSTATE$ alert for $HOSTNAME$!' $CONTACTEMAIL$
  173. command[host-notify-by-epager]=/bin/echo -e "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$" | /usr/bin/mail -s '$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$' $CONTACTPAGER$
  174. ################################################################################
  175. # CONTACT CONFIGURATION
  176. #
  177. # SYNTAX:
  178. # contact[<contact_name>]=<contact_alias>;<svc_notification_period>;
  179. # <host_notification_period>;<notify_service_recovery>;
  180. # <notify_service_critical>;<notify_service_warning>;
  181. # <notify_host_recovery>;<notify_host_down>;
  182. # <notify_host_unreachable>;<service_notify_commands>;
  183. # <host_notify_commands>;<email_address>;<pager>
  184. #
  185. # <contact_name> = A short name used to identify the contact
  186. # (i.e. username)
  187. # <contact_alias> = Full name and/or description for the contact
  188. # <svc_notification_period> = The short name of the timeperiod (as defined
  189. # above) that determines when service notifications
  190. # may be sent to this contact
  191. # <host_notification_period> = The short name of the timeperiod (as defined
  192. # above) that determines when host notifications
  193. # may be sent to this contact
  194. # <notify_service_recovery> = Notify the contact on service recoveries?
  195. # 1 = yes, 0 = no
  196. # <notify_service_critical> = Notify the contact on critical service states?
  197. # 1 = yes, 0 = no
  198. # <notify_service_warning> = Notify the contact on warning service states?
  199. # 1 = yes, 0 = no
  200. # <notify_host_recovery> = Notify the contact on host recoveries?
  201. # 1 = yes, 0 = no
  202. # <notify_host_down> = Notify the contact when hosts are down?
  203. # 1 = yes, 0 = no
  204. # <notify_host_unreachable> = Notify the contact when hosts are unreachable?
  205. # 1 = yes, 0 = no
  206. # <service_notify_commands> = Short names for commands (defined above) used to
  207. # notify the contact of service recoveries and
  208. # warning or critical service levels. Multiple
  209. # commands are comma delimited. All commands are
  210. # executed when the contact needs to be notified.
  211. # <host_notify_commands> = Short names for commands (defined above) used to
  212. # notify the contact when a host goes down or comes
  213. # back up. Multiple commands are comma delimited.
  214. # All commands are executed when the contact needs
  215. # to be notified.
  216. # <email_address> = Email address for the contact
  217. # <pager> = Pager number or pager email address for the
  218. # contact (see documentation for more information)
  219. #
  220. # Note: All fields are required, except for the <email_address> and <pager>
  221. # fields. However,either the email address *or* the pager must be
  222. # specified - both cannot be empty!
  223. #
  224. ################################################################################
  225. #contact[root]=Root;24x7;24x7;1;1;1;1;1;1;notify-by-email,notify-by-epager;host-notify-by-email,host-notify-by-epager;root;
  226. contact[juri]=Juri Jensen;24x7;24x7;1;1;1;1;1;1;notify-by-email,notify-by-epager;host-notify-by-email,host-notify-by-epager;juri@xenux.dk;
  227. contact[soren]=Søren Aurehøj;24x7;24x7;1;1;1;1;1;1;notify-by-email,notify-by-epager;host-notify-by-email,host-notify-by-epager;soren@xenux.dk;
  228. contact[klaus]=Klaus Agnoletti;24x7;24x7;1;1;1;1;1;1;notify-by-email,notify-by-epager;host-notify-by-email,host-notify-by-epager;klaus@xenux.dk;
  229. contact[martin]=Martin Skøtt;24x7;24x7;1;1;1;1;1;1;notify-by-email,notify-by-epager;host-notify-by-email,host-notify-by-epager;martin@xenux.dk;26837780@sms.mobilix.dk;
  230. contact[finn]=Finn Strandgaard;none;nonworkhours;0;0;0;0;0;1;notify-by-email,notify-by-epager;host-notify-by-email,host-notify-by-epager;finn@xenux.dk;26168200@sms.mobilix.dk;
  231. contact[eske]=Eske Rasmussen;none;none;0;0;0;0;0;1;notify-by-email,notify-by-epager;host-notify-by-email,host-notify-by-epager;eske@xenux.dk;
  232. contact[jonas]=Jonas Smedegaard;24x7;24x7;1;1;1;1;1;1;notify-by-email,notify-by-epager;host-notify-by-email,host-notify-by-epager;dr@jones.dk;40843136@note.sonofon.dk;
  233. ################################################################################
  234. # CONTACT GROUP CONFIGURATION
  235. #
  236. # SYNTAX:
  237. # contactgroup[<group_name>]=<group_alias>;<contacts>
  238. #
  239. # <group_name> = The short name used to identify the contact group
  240. # <group_alias> = A longer name and/or description for the contact group
  241. # <contacts> = The short names of contacts (as defined above) that are
  242. # members of this contact group. Multiple contacts are
  243. # separated by commas.
  244. ################################################################################
  245. contactgroup[admins]=Administrators;juri,klaus,soren,martin
  246. contactgroup[smaug]=Administrator Klaus;klaus
  247. contactgroup[oin]=Administrator Klaus;klaus
  248. contactgroup[bilbo]=Administrator Martin;martin
  249. contactgroup[beorn]=Administrator Martin;martin
  250. contactgroup[gandalf]=Administrator Søren;soren
  251. contactgroup[orcrist]=Administrator Søren;soren
  252. contactgroup[elrond]=Administrator Juri;juri
  253. contactgroup[thorin]=Administrator Juri;juri
  254. contactgroup[spiff]=Administrator Jonas;jonas
  255. contactgroup[employ]=Xenux Employees;finn,eske
  256. ################################################################################
  257. # SERVICE CONFIGURATION
  258. #
  259. # SYNTAX:
  260. # service[<host>]=<description>;<volatile>;<check_period>;<max_attempts>;
  261. # <check_interval>;<retry_interval>;<notification_group>;
  262. # <notification_interval>;<notification_period>;<notify_recovery>;
  263. # <notify_critical>;<notify_warning>;<event_hander>;<check_command>
  264. #
  265. # <host> = The short name of the host (as defined above) that
  266. # this service is running on
  267. # <description> = A description for this service (i.e 'My Website')
  268. # <volatile> = Specifies whether this service is volatile or not.
  269. # See the HTML documentation for more information on
  270. # what volatile services are and how they work. Most
  271. # service are *not* volatile.
  272. # 1 = volatile, 0 = not volatile
  273. # <check_period> = The short name of the timeperiod (as defined above)
  274. # that determines when this service may be checked
  275. # <max_attempts> = Number of times to retry the service check before
  276. # reporting that it is at a warning or critical level
  277. # <check_interval> = Number of minutes to wait between regular checks
  278. # of the service
  279. # <retry_interval> = Number of minutes to wait between retry of the
  280. # service
  281. # <notification_group> = The short name of the contact group (as defined
  282. # above) that should be notified of problems with
  283. # this service.
  284. # <notification_interval> = Number of minutes to wait before *re-notifying*
  285. # a contact that the service is *still* at a warning
  286. # or critical level (after we notify them about the
  287. # problem immediately)
  288. # <notification_period> = The short name of the timeperiod (as defined above)
  289. # that determines when notifications about this
  290. # service may be sent out
  291. # <notify_recovery> = Notify contacts when this service recovers?
  292. # 1 = yes, 0 = no
  293. # <notify_critical> = Notify contacts when service is at a critical level?
  294. # 1 = yes, 0 = no
  295. # <notify_warning> = Notify contacts when service is at a warning level?
  296. # 1 = yes, 0 = no
  297. # <event_handler> = A command that should be executed whenever a change
  298. # is detected in the status of the service. If you do
  299. # not want to use an event handler, leave this option
  300. # blank.
  301. # <check_command> = The command used to check the status of the service.
  302. # This can be in one of three formats (described
  303. # below)
  304. #
  305. # Note: Commands can be in on of three formats...
  306. #
  307. # 1. The short name of a command defined above (this is the simplest form)
  308. #
  309. # Example: <command_name>
  310. #
  311. # 2. The short name of a command defined above, with arguments delimited
  312. # with bang (!) characters. If this format is used, the command must
  313. # be defined with $ARGx$ macros in order to actually use the arguments
  314. # that are passed to it (read the doc for more information on this)
  315. #
  316. # Example: <command_name>!<arg1>!<arg2>!...!<argx>
  317. #
  318. # 3. An actual command line enclosed in quotation marks. The outside
  319. # quotation marks are stripped off before the command is exected.
  320. # Macros can be used in this "raw" command format, but are still
  321. # limited to only the macros which are valid during service check
  322. # (read the documentation for more information)
  323. #
  324. # Example: "./check_ping $HOSTADDRESS$ 40 80 5.0 100.0"
  325. ################################################################################
  326. # Note: The service definitions below do not have event handlers defined
  327. # Localhost/Web server - smaug
  328. service[web1]=PING;0;24x7;3;3;1;;120;24x7;1;1;0;;check_ping
  329. service[web1]=SSH;0;24x7;3;60;1;smaug;120;24x7;1;1;0;;check_ssh
  330. service[web1]=HTTP;0;24x7;3;15;1;smaug;120;24x7;1;1;0;;check_http
  331. service[web1]=FTP;0;24x7;3;15;1;smaug;120;24x7;1;1;0;;check_ftp
  332. #service[web1]=LOAD;0;24x7;3;60;1;smaug;120;24x7;1;1;1;;check_load!5!10!2!5!1!2
  333. #service[web1]=DISK;0;24x7;3;1440;1;smaug;120;24x7;1;1;1;;check_disk!10%!15%!/dev/hda3
  334. #service[web1]=Current Users;0;24x7;3;15;2;smaug;240;24x7;1;1;1;;check_users!75!150
  335. ##service[web1]=Zombie Processes;0;24x7;3;15;2;smaug;240;24x7;1;1;1;;check_procs!5!10!Z
  336. #service[web1]=Total Processes;0;24x7;3;15;2;smaug;240;24x7;1;1;1;;check_procs!200!300
  337. # Webserver 2 - beorn
  338. service[web2]=PING;0;24x7;3;3;1;;120;24x7;1;1;0;;check_ping
  339. service[web2]=SSH;0;24x7;3;60;1;beorn;120;24x7;1;1;0;;check_ssh
  340. service[web2]=HTTP;0;24x7;3;15;1;beorn;120;24x7;1;1;0;;check_http
  341. #service[web2]=FTP;0;24x7;3;15;1;beorn;120;24x7;1;1;0;;check_ftp
  342. # Firewall - orcrist
  343. service[fw]=PING;0;24x7;3;3;1;;120;24x7;1;1;0;;check_ping
  344. #service[fw]=SSH;0;24x7;3;60;1;;120;24x7;1;1;0;;check_ssh
  345. #service[fw]=LOAD;0;24x7;3;60;1;orcrist;120;24x7;1;1;1;;check_load!5!10!2!5!1!2
  346. #service[fw]=Current Users;0;24x7;3;15;2;orcrist;240;24x7;1;1;1;;check_users!75!150
  347. #service[fw]=Zombie Processes;0;24x7;3;15;2;orcrist;240;24x7;1;1;1;;check_procs!5!10!Z
  348. #service[fw]=Total Processes;0;24x7;3;15;2;orcrist;240;24x7;1;1;1;;check_procs!200!300
  349. # Primary DNS server - elrond.xenux.dk
  350. service[ns1]=PING;0;24x7;3;3;1;;120;24x7;1;1;0;;check_ping
  351. service[ns1]=SSH;0;24x7;3;60;1;elrond;120;24x7;1;1;0;;check_ssh
  352. service[ns1]=DNS;0;24x7;3;15;1;elrond;120;24x7;1;1;0;;check_dns
  353. #service[ns1]=LOAD;0;24x7;3;15;1;elrond;120;24x7;1;1;1;;check_load!5!10!2!5!1!2
  354. #service[ns1]=Zombie Processes;0;24x7;3;15;2;elrond;240;24x7;1;1;1;;check_procs!5!10!Z
  355. #service[ns1]=Total Processes;0;24x7;3;15;2;elrond;240;24x7;1;1;1;;check_procs!200!300
  356. # Secondary DNS server (dns.jones.dk)
  357. #service[ns2]=PING;0;24x7;3;3;1;;120;24x7;1;1;0;;check_ping
  358. #service[ns2]=SSH;0;24x7;3;60;1;elrond;120;24x7;1;1;0;;check_ssh
  359. #service[ns2]=DNS;0;24x7;3;15;1;elrond;120;24x7;1;1;0;;check_dns
  360. #service[ns2]=LOAD;0;24x7;3;15;1;elrond;120;24x7;1;1;1;;check_load!5!10!2!5!1!2
  361. #service[ns2]=Zombie Processes;0;24x7;3;15;2;elrond;240;24x7;1;1;1;;check_procs!5!10!Z
  362. #service[ns2]=Total Processes;0;24x7;3;15;2;elrond;240;24x7;1;1;1;;check_procs!200!300
  363. # Mail server - oin.xenux.dk
  364. service[mail]=PING;0;24x7;3;3;1;;120;24x7;1;1;0;;check_ping
  365. service[mail]=SSH;0;24x7;3;60;1;oin;120;24x7;1;1;0;;check_ssh
  366. service[mail]=POP;0;24x7;3;15;1;oin;120;24x7;1;1;0;;check_pop
  367. service[mail]=SMTP;0;24x7;3;15;1;oin;120;24x7;1;1;0;;check_smtp
  368. #service[mail]=LOAD;0;24x7;3;15;1;oin;120;24x7;1;1;1;;check_load!5!10!2!5!1!2
  369. #service[mail]=Zombie Processes;0;24x7;3;15;2;oin;240;24x7;1;1;1;;check_procs!5!10!Z
  370. #service[mail]=Total Processes;0;24x7;3;15;2;oin;240;24x7;1;1;1;;check_procs!200!300
  371. # Development server - bilbo.xenux.dk
  372. #service[dev]=PING;0;24x7;3;3;1;;120;24x7;1;1;0;;check_ping
  373. #service[dev]=SSH;0;24x7;3;60;1;bilbo;120;24x7;1;1;0;;check_ssh
  374. #service[dev]=LOAD;0;24x7;3;15;1;bilbo;120;24x7;1;1;1;;check_load!5!10!2!5!1!2
  375. #service[dev]=Current Users;0;24x7;3;15;2;bilbo;240;24x7;1;1;1;;check_users!75!150
  376. #service[dev]=Zombie Processes;0;24x7;3;15;2;bilbo;240;24x7;1;1;1;;check_procs!5!10!Z
  377. #service[dev]=Total Processes;0;24x7;3;15;2;bilbo;240;24x7;1;1;1;;check_procs!200!300
  378. # Routers
  379. service[router]=PING;0;24x7;3;3;1;;120;24x7;1;1;0;;check_ping
  380. service[router]=ROUTER;0;24x7;3;3;1;admins;120;24x7;1;1;0;;check-router-alive
  381. service[routerwp]=PING;0;24x7;3;3;1;;120;24x7;1;1;0;;check_ping
  382. service[routerwp]=ROUTER;0;24x7;3;3;1;admins;120;24x7;1;1;0;;check-router-alive
  383. ################################################################################
  384. # HOST GROUP NOTIFICATION ESCALATION
  385. #
  386. # SYNTAX:
  387. # hostgroupescalation[<group_name>]=<first_notification>-<last_notification>;
  388. # <contact_groups>
  389. #
  390. # <group_name> = The short name of the host group that this escalation
  391. # entry is to be used for.
  392. # <first_notification> = The first notification that that this escalation is
  393. # valid for.
  394. # <last_notification> = The last notification that that this escalation is
  395. # valid for. If this value is zero (0), the escalation
  396. # entry will be valid for all notification beyond the
  397. # first notification you specified.
  398. # <contact_groups> = A list of the short names of the contact groups that
  399. # should be notified of problems when this escalation
  400. # is valid. Multiple contact groups should be separated
  401. # with commas.
  402. ################################################################################
  403. #hostgroupescalation[novell-servers]=2-5;novell-admins,nt-admins
  404. #hostgroupescalation[novell-servers]=6-0;novell-admins,nt-admins,linux-admins
  405. ################################################################################
  406. # SERVICE NOTIFICATION ESCALATION
  407. #
  408. # SYNTAX:
  409. # serviceescalation[<host_name>;<description>]=<first_notification>-<last_notification>;
  410. # <contact_groups>
  411. #
  412. # <host_name> = The short name of the host that is associated with
  413. # this service.
  414. # <description> = The description of the service that this escalation
  415. # entry is associated with.
  416. # <first_notification> = The first notification that that this escalation is
  417. # valid for.
  418. # <last_notification> = The last notification that that this escalation is
  419. # valid for. If this value is zero (0), the escalation
  420. # entry will be valid for all notification beyond the
  421. # first notification you specified.
  422. # <contact_groups> = A list of the short names of the contact groups that
  423. # should be notified of problems when this escalation
  424. # is valid. Multiple contact groups should be separated
  425. # with commas.
  426. ################################################################################
  427. serviceescalation[web1;PING]=3-6;smaug
  428. serviceescalation[web2;PING]=3-6;beorn
  429. serviceescalation[fw;PING]=3-6;orcrist
  430. serviceescalation[ns1;PING]=3-6;elrond
  431. #serviceescalation[ns2;PING]=3-6;elrond
  432. #serviceescalation[dev;PING]=3-6;bilbo
  433. serviceescalation[router;PING]=3-6;admins
  434. serviceescalation[routerwp;PING]=3-6;admins
  435. serviceescalation[mail;PING]=3-6;oin
  436. #serviceescalation[real;Current Users]=5-0;linux-admins,novell-admins
  437. # EOF