Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
object CheckCommand "dsm_snmp" {
command = [PluginDir + "/check_snmp_synology"]
arguments = {
"-u" = "$snmp3_user$"
"-p" = "$snmp3_password$"
"-2" = "$snmp_community$"
"-h" = {
required = true
value = "$snmp_hostname$"
}
"-W" = "$warning_temp$"
"-C" = "$critical_temp$"
"-w" = "$warning_storage$"
"-c" = "$critical_storage$"
"-i" = "$dsm_update_ignore$"
"-U" = {
set_if = "$show_ups$"
}
"-v" = {
set_if = "$verbose$"
}
}
vars.snmp_hostname = "$address$"
vars.show_ups = false
vars.verbose = false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.