nagios: Added support for tftp service target.
This commit is contained in:
parent
f9ba1455d0
commit
a4282b0400
4 changed files with 64 additions and 0 deletions
|
@ -313,6 +313,23 @@ class nagios::target::submission inherits nagios::target {
|
|||
}
|
||||
|
||||
|
||||
# Configure tftp service target.
|
||||
#
|
||||
# === Parameters
|
||||
#
|
||||
# $file:
|
||||
# Filename to fetch from TFTP server
|
||||
#
|
||||
class nagios::target::tftp($file) inherits nagios::target {
|
||||
|
||||
@@nagios::service { "${::homename}_tftp":
|
||||
command => "check_tftp!${file}",
|
||||
description => "TFTP",
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
# Configure tcp connect service target.
|
||||
#
|
||||
# === Parameters
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue