On 08/11/2007, somebody nodoby <[EMAIL PROTECTED]> wrote: > I would like to know if it is possible to create a perl script for GET > requests without the restriction of using 1.3.6.1.4.1.2021
Yes. There is nothing technically significant about this OID. It's simply the enterprise number that was officially assigned to UCDavis, and so was available for use with this project. You can register MIB objects under any OID that you choose (bearing in mind that different OID subtrees will be managed by different organisations). But the agent doesn't care. > or being forced to return the return the results > using the table format described in the EXTENSIBLE-MIB section > of the snmpd.conf man page The structure described in this section is aimed at reporting information from arbitrary command (perl scripts, shell scripts, binary commands, etc) - which have no knowledge of SNMP. If you invoke the script via "exec", "sh" or "extend" directives, then the output will always be structured in this manner. However, a script that *does* know about SNMP has more flexibillity, and can be used to model an arbitrary MIB structure. See the section "MIB-Specific Extension Commands" in the snmpd.conf man page for a description of the "pass" command. Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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
