mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-09 00:32:05 -04:00
net-snmp v5x fix
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@75 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
c370a35caa
commit
5940d7b65f
1 changed files with 2 additions and 2 deletions
|
|
@ -135,7 +135,7 @@ main (int argc, char **argv)
|
|||
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,
|
||||
sprintf (command_line, "%s -m : -v 1 %s -c %s %s", PATH_TO_SNMPGET, address,
|
||||
community, query_string);
|
||||
|
||||
/* run the command */
|
||||
|
|
@ -514,7 +514,7 @@ print_help (void)
|
|||
printf
|
||||
("Copyright (c) 2000 Ethan Galstad/Karl DeBisschop\n\n"
|
||||
"This plugin tests the STATUS of an HP printer with a JetDirect card.\n"
|
||||
"Ucd-snmp must be installed on the computer running the plugin.\n\n");
|
||||
"Net-snmp must be installed on the computer running the plugin.\n\n");
|
||||
print_usage ();
|
||||
printf
|
||||
("\nOptions:\n"
|
||||
|
|
|
|||
Loading…
Reference in a new issue