Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/documentation/developer/externalcommands/_command.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {% cmd %};
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"sticky","ty
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"sticky","ty
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"sticky","t
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"sticky","t
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"persistent"
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"persistent
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"contact_name","type":"contact"},{"name":"notif
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"contact_name","type":"contact"},{"name":"value
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"contact_name","type":"contact"},{"name":"value
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"contact_name","type":"contact"},{"name":"value
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"contact_name","type":"contact"},{"name":"notif
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"contact_name","type":"contact"},{"name":"varna
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"varname","t
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"varname","
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"event_handler_command","type":"str"}],"name":"
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"event_handler_command","type":"str"}],"name":"
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"check_comma
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"check_timep
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"event_handl
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"value","typ
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"notificatio
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"check_attem
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"service","type":"service"},{"name":"check_atte
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ prev:
link: '/documentation/developer/externalcommands/'
next: false
breadcrumb: true
aside: false
---

<script setup>
Expand All @@ -28,5 +29,6 @@ const command = {"args":[{"name":"host_name","type":"host"},{"name":"check_inter
# This is a shell script showing how to submit the {{ command.name }} command
# to Naemon. Adjust variables to fit your environment as necessary.

printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" `date +%s` > /var/lib/naemon/naemon.cmd
printf "[%lu] {{ command.name }}{{ command.exampleArgStr }}\n" \
`date +%s` > /var/lib/naemon/naemon.cmd
```
Loading