[Nagiosplug-devel] check_hpjd patch for net-snmp v5.0

Subhendu Ghosh sghosh at sghosh.org
Fri Dec 6 20:05:01 CET 2002


Thanks

-sg

On Fri, 6 Dec 2002, Michael Haro wrote:

> need to change the argument order...
> 
> *** check_hpjd.c.orig   Fri Dec  6 16:19:50 2002
> --- check_hpjd.c        Fri Dec  6 16:20:21 2002
> ***************
> *** 137,144 ****
>                  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 -c %s %s", PATH_TO_SNMPGET,
> addr
> ess,
> !                                        community, query_string);
> 
>         /* run the command */
>         child_process = spopen (command_line);
> --- 137,144 ----
>                  HPJD_GD_DOOR_OPEN, HPJD_GD_PAPER_OUTPUT,
> HPJD_GD_STATUS_DISPLAY
> );
> 
>         /* get the command to run */
> !       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);
> 
> 
> Michael
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagiosplug-devel mailing list
> Nagiosplug-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> 

-- 






More information about the Devel mailing list