--- check_snmp.c.cln Tue Jul 23 09:42:21 2002 +++ check_snmp.c Tue Jul 23 09:42:50 2002 @@ -145,8 +145,8 @@ /* create the command line to execute */ 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 */ child_process = spopen (command_line); --- check_hpjd.c.cln Tue Jul 23 09:45:16 2002 +++ check_hpjd.c Tue Jul 23 09:46:00 2002 @@ -135,8 +135,8 @@ HPJD_GD_DOOR_OPEN, HPJD_GD_PAPER_OUTPUT, HPJD_GD_STATUS_DISPLAY); /* get the command to run */ - sprintf (command_line, "%s -m : -v 1 %s %s %s", PATH_TO_SNMPGET, address, - community, query_string); + sprintf (command_line, "%s -m : -v 1 -c %s %s %s", PATH_TO_SNMPGET, + community, address, query_string); /* run the command */ child_process = spopen (command_line);