[ECOS] SNMP - How add variable to MIB
Jonathan Larmour
jlarmour@redhat.com
Tue May 8 06:39:00 GMT 2001
Marek ãñcki wrote:
>
> Hi
> I stared a SNMP agent . This agent uses a standart MIB . I need to add
> extra variables.
> How to do it ?????. Do I have to use a "mib2c" ( perl script that is
> provided with eCos)
> If I have to use it , tell me how should I use it.
Although terse, I believe the README-eCos file in the utils/mib2c directory
does include all you need to know I believe. From that I determined:
setenv MIBS ALL (in csh)
export MIBS=ALL (in bash)
perl -I<location of PERL SNMP module from nsPerl> mib2c <mib to generate
code for>
You can get nsPerl from
http://cpan.valueclick.com/modules/by-category/05_Networking_Devices_IPC/SNMP/
I'll add this to the readme.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
More information about the Ecos-discuss
mailing list