Dear Wes,
 
Both applications share the same file rights (neverthless I gave 
executable and read rights to everyone), the only difference is that one 
appplication lbclient is a c program and the other a simple shell script that
I made in order to determine what is going wrong. 
 
The log of the snmpd with -DALL flag is the following (I also don't see nothing wrong 
there ???)
 
2004-06-14 23:37:35 trace: var_extensible_pass(): ucd-snmp/pass.c, 280:
2004-06-14 23:37:35 ucd-snmp/pass: pass-running:  /tmp/a/test.sh -g 
.1.3.6.1.4.1.96.255.2.0
2004-06-14 23:37:35 trace: netsnmp_call_handler(): agent_handler.c, 369:
2004-06-14 23:37:35 handler:returned: handler old_api returned 0
2004-06-14 23:37:35 trace: netsnmp_call_handler(): agent_handler.c, 369:
2004-06-14 23:37:35 handler:returned: handler bulk_to_next returned 0
2004-06-14 23:37:35 trace: netsnmp_handle_request(): snmp_agent.c, 2810:
2004-06-14 23:37:35 results: request results (status = 0):
2004-06-14 23:37:35 trace: netsnmp_handle_request(): snmp_agent.c, 2814:
2004-06-14 23:37:35 results:    trace: sprint_realloc_by_type(): mib.c, 1971:
2004-06-14 23:37:35 output: sprint_by_type, type 2
2004-06-14 23:37:35 SNMPv2-SMI::enterprises.96.255.2.0 = INTEGER: 50
..........
2004-06-14 23:40:15 trace: var_extensible_pass(): ucd-snmp/pass.c, 280:
2004-06-14 23:40:15 ucd-snmp/pass: pass-running:  /tmp/a/lbclient -g 
.1.3.6.1.4.1.96.255.1.0
2004-06-14 23:40:15 trace: netsnmp_call_handler(): agent_handler.c, 369:
2004-06-14 23:40:15 handler:returned: handler old_api returned 0
2004-06-14 23:40:15 trace: netsnmp_call_handler(): agent_handler.c, 369:
2004-06-14 23:40:15 handler:returned: handler bulk_to_next returned 0
2004-06-14 23:40:15 trace: netsnmp_handle_request(): snmp_agent.c, 2810:
2004-06-14 23:40:15 results: request results (status = 0):
2004-06-14 23:40:15 trace: netsnmp_handle_request(): snmp_agent.c, 2814:
2004-06-14 23:40:15 results:    SNMPv2-SMI::enterprises.96.255.1.0 = No Such Instance 
currently exists at this OID

Thank you for the help,
Hugo
 

        -----Original Message----- 
        From: Wes Hardaker [mailto:[EMAIL PROTECTED] 
        Sent: Mon 6/14/2004 11:27 PM 
        To: Hugo Monteiro Cacote 
        Cc: [EMAIL PROTECTED] 
        Subject: Re: pass extension + more info
        
        

        >>>>> On Mon, 14 Jun 2004 15:23:14 +0200, "Hugo Monteiro Cacote" <[EMAIL 
PROTECTED]> said:
        
        Hugo> pass .1.3.6.1.4.1.96.255.1.0 /tmp/a/lbclient
        Hugo> pass .1.3.6.1.4.1.96.255.2.0 /tmp/a/test.sh
        
        Hugo> [EMAIL PROTECTED] snmpget -v2c -c community machine 
.1.3.6.1.4.1.96.255.1.0
        Hugo> SNMPv2-SMI::enterprises.96.255.1.0 = No Such Instance currently exists
        Hugo> at this OID
        
        Odd.  I'm not sure what's wrong there.  Make sure the application is
        readable and executable by everyone (IE, chmod -R a+rx /tmp/a)
        
        --
        Wes Hardaker
        Sparta
        



-------------------------------------------------------
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