When accessing MIB-II functioning I got this and then I figured out  
the proper group ID and OIDs for
snmpconf VIA OUT to snmpd.conf ....

What is Do the .h file refer to?

cs-power-mac-g5:/usr/share/snmp cs$ read -e -d %5%.(000123) -f  
mib2c.access_functions.conf
-bash: syntax error near unexpected token `('
cs-power-mac-g5:/usr/share/snmp cs$ head -n 23  
mib2c.access_functions.conf
## -*- c -*-
######################################################################
## Do the .h file
######################################################################
@open ${name}_access.h@
/*
  * Note: this file originally auto-generated by mib2c using
  *        $Id: mib2c.access_functions.conf,v 1.9 2004/10/14 12:57:33  
dts12 Exp $
  */
#ifndef $name.uc_ACCESS_H
#define $name.uc_ACCESS_H

@foreach $t table@
/** User-defined data access functions for data in table $t */
/** row level accessors */
Netsnmp_First_Data_Point  ${t}_get_first_data_point;
Netsnmp_Next_Data_Point   ${t}_get_next_data_point;
int ${t}_commit_row(void **my_data_context, int new_or_del);
void * ${t}_create_data_context(netsnmp_variable_list *index_data,  
int column);

/** column accessors */
   @foreach $c column@
     @if $c.access =~ /(Read|Create)/@
cs-power-mac-g5:/usr/share/snmp cs$ 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to