> output of the script and executable 
> 
> [EMAIL PROTECTED] root]# /tmp/a/lbclient 
> .1.3.6.1.4.1.96.255.1.0
> integer
> 32
> 
> [root@ root]# /tmp/a/test.sh  
> .1.3.6.1.4.1.96.255.2.0
> integer
> 50


But that's not quite how these two commands will actually be invoked.
What happens if you try:

        /tmp/a/lbclient -g .1.3.6.1.4.1.96.255.1.0
        /tmp/a/test.sh  -g .1.3.6.1.4.1.96.255.2.0

?

It might also be worth checking the return value of each command:

        /tmp/a/lbclient -g .1.3.6.1.4.1.96.255.1.0 ; echo $?
        /tmp/a/test.sh  -g .1.3.6.1.4.1.96.255.2.0 ; echo $?


Dave



-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to