close
Warning:
Can't synchronize with repository "(default)" (/usr/svn/silverfile does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jul 17, 2009, 2:58:07 PM (13 years ago)
- Author:
-
hank
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v1
|
|
| 1 | == Nagios == |
| 2 | /etc/nagios2/conf.d |
| 3 | {{{ |
| 4 | define host{ |
| 5 | use generic-host ; Inherit default values from a template |
| 6 | host_name sf001.silverfilecorp.com ; The name we're giving to this host |
| 7 | alias sf001 ; Alias associated with the host |
| 8 | address 70.166.22.247 ; IP address of the host |
| 9 | contact_groups admins ; group to notify when problems or recoveries happen |
| 10 | } |
| 11 | |
| 12 | define service{ |
| 13 | use generic-service |
| 14 | host_name sf001.silverfilecorp.com |
| 15 | service_description HTTP |
| 16 | check_command check_http |
| 17 | } |
| 18 | |
| 19 | ; Per /etc/nagios-plugins/config/ssh.cfg - |
| 20 | ; use check_ssh_port with ARG1 set to port you want to check |
| 21 | |
| 22 | define service{ |
| 23 | use generic-service |
| 24 | host_name sf001.silverfilecorp.com |
| 25 | service_description SSH |
| 26 | check_command check_ssh_port!2222 |
| 27 | } |
| 28 | }}} |