Subversion Repositories vnag

Compare Revisions

Regard whitespace Rev 1 → Rev 2

/trunk/plugins/4images_version/icinga2.conf
0,0 → 1,48
// Put this file in /etc/icinga2/conf.d/...
 
// VNag - Nagios Framework for PHP
// Developed by Daniel Marschall, ViaThinkSoft <www.viathinksoft.com>
// Licensed under the terms of the Apache 2.0 license
//
// Revision 2018-07-15
 
object CheckCommand "vnag_4images_version" {
command = [ "/daten/vnag/plugins/4images_version/check_4images_version" ]
 
arguments = {
"-d" = {
value = "$vnag_4images_version_dir$"
description = "Location where the 4images installation is located"
required = true
}
}
}
 
// Example usage:
//
// apply Service "example_website1_4images_version" {
// import "generic-service"
// check_command = "vnag_4images_version"
// vars = {
// vnag_4images_version_dir = "/var/www/website1/4images/"
// }
// assign where host.name == NodeName
// }
//
// apply Service "example_website2_4images_version" {
// import "generic-service"
// check_command = "vnag_4images_version"
// vars = {
// vnag_4images_version_dir = "/var/www/website2/4images/"
// }
// assign where host.name == NodeName
// }
//
// apply Service "example_website3_4images_version" {
// import "generic-service"
// check_command = "vnag_4images_version"
// vars = {
// vnag_4images_version_dir = "/var/www/website3/4images/"
// }
// assign where host.name == NodeName
// }