On 16/09/14 10:12, Daniel Bareiro wrote: >>> [...]
>> That slipped into 2.1.0 and was fixed with 2.1.1 in >> >> Bug #7123: Manubulon-Plugin conf Filename wrong >> >> https://www.icinga.org/2014/09/16/icinga-2-bugfix-release-2-1-1/ >> >> Thanks for noticing though! > Great! No problem. It's always a pleasure to try to contribute in > free/open source projects. After updating the icinga2 package from snapshots on packages.icinga.org, I lost some changes made. I see that this was because some files were overwritten with new releases, as the case of manubulon file. One change that I lost was the path of Manubulon plugin I am currently using: // DGB - 20140916 - Added "/non-std/" command = [ ManubulonPluginDir + "/non-std/check_snmp_int.pl" ] Although I can prevent again losing it doing the change directly on ManubulonPluginDir on /etc/icinga2/constants.conf. I also lost the "label" in snmp-interface command on the command-plugins-manubulon.conf file: object CheckCommand "snmp-interface" { import "snmp-manubulon-command" command = [ ManubulonPluginDir + "/check_snmp_int.pl" ] arguments += { "-n" = "$snmp_interface$" "-k" = { set_if = "$snmp_interface_perf$" } "-B" = { set_if = "$snmp_interface_bits$" } "--64bits" = { set_if = "$snmp_interface_64bit$" } "-f" = { set_if = "$snmp_perf$" } // DGB - 20140916 "--label" = { set_if = "$snmp_label$" } } vars.snmp_interface = "eth0" vars.snmp_interface_perf = true vars.snmp_interface_bits = true vars.snmp_interface_64bit = false vars.snmp_warn = "300,400" vars.snmp_crit = "0,600" vars.snmp_perf = true // DGB - 20140916 vars.snmp_label = false } And in the "snmpv3" command on the command-plugins.conf file: object CheckCommand "snmpv3" { import "plugin-check-command" command = [ PluginDir + "/check_snmp" ] arguments = { "-H" = "$snmpv3_address$" "-P" = 3 "--seclevel" = "authPriv" "-U" = "$snmpv3_user$" "-a" = "$snmpv3_auth_alg$" "-A" = "$snmpv3_auth_key$" "-x" = "$snmpv3_priv_alg$" "-X" = "$snmpv3_priv_key$" "-o" = "$snmpv3_oid$" "-c" = "$snmpv3_crit$" "-w" = "$snmpv3_warn$" // DGB - 20140916 "-l" = { set_if = "$snmpv3_use_label$" value = "$snmpv3_label$" } } vars.snmpv3_address = "$address$" vars.snmpv3_auth_alg = "SHA" vars.snmpv3_priv_alg = "AES" // DGB - 20140916 vars.snmpv3_use_label = false } Is there any way to prevent this from happening with future updates? Best regards, Daniel _______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
