Error: "Can't mix snmp v1, 2c, 3 protocols!" using snmp v3 with snmp-memory


    • Error: "Can't mix snmp v1, 2c, 3 protocols!" using snmp v3 with snmp-memory\


    • This command:


    • check_snmp_mem.pl -v -H kvm.lala.bo -l bravo -x th3r4m1N+ -X j4bAdeHu5 -w 50,70 -c 80,90


      works perfectly but my host config file containing the below



      object Host "kvm.lala.bo" {


      check_command = "snmp-memory"


      host_name = "kvm.lala.bo"


      vars.snmp_v3 = "true"


      vars.snmp_warn = "50,70"


      vars.snmp_crit = "80,90"


      vars.snmp_perf = "true"


      vars.snmp_login = "bravo"


      vars.snmp_password = "th3r4m1N+


      vars.snmp_v3_use_privpass = "true"


      vars.snmp_privpass = "j4bAdeHu5"

      }


      fails completely with error: Can't mix snmp v1, 2c, 3 protocols!

  • I doubt the command has ever been run. At least I can't recall if it has.
    In Icinga2 I would simply edit commands.cfg and prepend $USER1$/capture_plugin.pl to the command and then tail the /tmp/captured_plugins.log file.