Subversion Repositories vnag

Rev

Go to most recent revision | Blame | Last modification | View Log | RSS feed

// 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 2022-01-12

object CheckCommand "vnag_aastra_430_voicemail" {
        // PLEASE ADJUST THIS PATH
        command = [ "/daten/vnag/plugins/aastra_430_voicemail/check_aastra_430_voicemail" ]

        arguments = {
                "-H" = {
                        value = "$vnag_aastra_430_voicemail_ftphostname$"
                        description = "The FTP hostname"
                        required = true
                }
                "-u" = {
                        value = "$vnag_aastra_430_voicemail_ftpusername$"
                        description = "The FTP username (usually 'admin')"
                }
                "-p" = {
                        value = "$vnag_aastra_430_voicemail_ftppassword$"
                        description = "The FTP password"
                        required = true
                }
        }
}

// Example usage:
//
// apply Service "example_voicemail" {
//      import "generic-service"
//      check_command = "vnag_aastra_430_voicemail"
//      vars = {
//              vnag_aastra_430_voicemail_ftphostname = ""
//              vnag_aastra_430_voicemail_ftpusername = ""
//              vnag_aastra_430_voicemail_ftppassword = ""
//      }
//      assign where host.name == NodeName
// }