Skip to content

Commit

Permalink
Update objectconfs.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidGhedini committed Apr 4, 2020
1 parent f841378 commit 1d9fc84
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/editors/objects/objectconfs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,17 @@ The template is commented.
.. code-block:: bash
:linenos:
# Host configuration file
# Host configuration file
define host {
define host {
use linux-server
host_name <HOST>
alias <HOST>
address <IP>
register 1
}
}
define service {
define service {
host_name <HOST>
service_description PING
check_command check_ping!100.0,20%!500.0,60%
Expand All @@ -74,9 +74,9 @@ The template is commented.
notification_period 24x7
notifications_enabled 1
register 1
}
}
define service {
define service {
host_name <HOST>
service_description Check SSH
check_command check_ssh!-p 3838
Expand All @@ -90,9 +90,9 @@ The template is commented.
notification_period 24x7
notifications_enabled 1
register 1
}
}
define service {
define service {
host_name <HOST>
service_description Check HTTP
check_command check_http
Expand All @@ -106,7 +106,7 @@ The template is commented.
notification_period 24x7
notifications_enabled 1
register 1
}
}
Expand Down

0 comments on commit 1d9fc84

Please sign in to comment.