$NetBSD: patch-ab,v 1.1 2004/02/22 16:40:51 christos Exp $ --- plugins/check_snmp.c.orig 2001-04-13 16:19:47.000000000 -0400 +++ plugins/check_snmp.c 2004-02-22 11:35:15.000000000 -0500 @@ -146,13 +146,13 @@ /* create the command line to execute */ if (getnext==TRUE) { command_line = ssprintf (command_line, - "%s -m ALL -v 1 %s %s %s", - PATH_TO_SNMPGETNEXT, server_address, community, oid); + "%s -m ALL -v 1 -c %s %s %s", + PATH_TO_SNMPGETNEXT, community, server_address, oid); } else { command_line = ssprintf (command_line, - "%s -m ALL -v 1 %s %s %s", - PATH_TO_SNMPGET, server_address, community, oid); + "%s -m ALL -v 1 -c %s %s %s", + PATH_TO_SNMPGET, community, server_address, oid); } /* run the command */ @@ -647,7 +647,7 @@ " Return OK state (for that OID) if case-insensitive extended REGEX matches\n" " -l, --label=STRING\n" " Prefix label for output from plugin (default -s 'SNMP')\n\n" - "- This plugin uses the 'snmpget' command included with the UCD-SNMP package.\n" + "- This plugin uses the 'snmpget' command included with the NET-SNMP package.\n" " If you don't have the package installed, you will need to download it from\n" " http://ucd-snmp.ucdavis.edu before you can use this plugin.\n" "- Multiple OIDs may be indicated by a comma- or space-delimited list (lists with\n"