--- nagios-plugins-snmp-old/src/check_snmp_storage.c 2016-08-13 17:05:42.124908540 +0200 +++ nagios-plugins-snmp-old/src/check_snmp_storage.c 2016-08-13 17:07:12.714908443 +0200 @@ -244,8 +244,10 @@ if (liste[12].present==0) { printf(_("Put storage name\n")); print_usage();} /* Check types */ - if (liste[16].present==0) o_type_num=0; - else { + if (liste[16].present==0) { + o_type_num=0; + o_type=o_typeok[o_type_num]; + } else { for (i=0;i