diff options
Diffstat (limited to 'net/netsaint-plugin-snmp/patches/patch-aa')
-rw-r--r-- | net/netsaint-plugin-snmp/patches/patch-aa | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net/netsaint-plugin-snmp/patches/patch-aa b/net/netsaint-plugin-snmp/patches/patch-aa new file mode 100644 index 00000000000..775c6b8b5b8 --- /dev/null +++ b/net/netsaint-plugin-snmp/patches/patch-aa @@ -0,0 +1,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); |