1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-aa,v 1.1 2004/02/22 16:40:51 christos Exp $
--- plugins/check_hpjd.c.orig 2001-04-13 16:19:47.000000000 -0400
+++ plugins/check_hpjd.c 2004-02-22 11:36:09.000000000 -0500
@@ -21,7 +21,7 @@
*
* Dependencies:
*
-* This plugin used the 'snmpget' command included with the UCD-SNMP
+* This plugin used the 'snmpget' command included with the NET-SNMP
* package. If you don't have the package installed you will need to
* download it from http://ucd-snmp.ucdavis.edu before you can use
* this plugin.
@@ -135,7 +135,8 @@
HPJD_GD_STATUS_DISPLAY);
/* get the command to run */
- sprintf(command_line,"%s -v 1 %s %s %s",PATH_TO_SNMPGET,address,community,query_string);
+ sprintf(command_line,"%s -v 1 -c %s %s %s",PATH_TO_SNMPGET,
+ community,address,query_string);
/* run the command */
child_process=spopen(command_line);
|