Re: extend problem ....

"Todd strauch" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I've tried both the getnext and the walk.  While they both return data, they are failing to trigger the execution of the associated script.

Todd R. Strauch
Systems Programmer III
Medical Center Information Technology
University of Michigan
Ann Arbor, Michigan
[email protected]

>>> "Dave Shield" <[email protected]> 9/23/2008 3:08 AM >>>
2008/9/22 Todd strauch <[email protected]>:
>  extend 1.3.6.1.4.1.13856.100000 scriptproxy /root/script.sh
>
> Problem:
>  Trying to do an snmpget on this OID to trigger the execution of the script.
>  The SNMPGET returns the following:
>
>  :~ # snmpget -v 1 -Cf -c demopublic localhost .1.3.6.1.4.1.13856.100000
>  Error in packet
>  Reason: (noSuchName) There is no such variable name in this MIB.

That's correct.   The output from the extend directive lies within the
OID subtree rooted at .1.3.6.1.4.1.13856.100000,   but there is no
information associated with this OID directly.

Try "snmpgetnext" or "snmpwalk" on the same OID.

Dave

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/ 
_______________________________________________
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 


**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.