Hi!
        1. what is use of the var_XXXXX() function, what it does? Even I
have read agentx.txt file. I don't understand.

        2. I have gone through the file system_mib.c file, when agent
starts running, init_system_mib() function will be executed first, in
this function
            he declared
snmpd_register_config_handler("sysdescr", system_parse_config_sysdescr,
NULL,"description") function , initially configuration              file
contains nothing, so, system_parse_config_sysdescr function fails, thing
is I don't understand  exact flow of the code.

           3. can you give feasible solution to execute this code and to
check the configuration file.


      With Regards.
G.Siva Prakash Reddy.



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Shield
Sent: Tuesday, August 01, 2006 5:45 PM
To: Siva Prakash Reddy G
Cc: [email protected]
Subject: Re: persistent data storage


On 01/08/06, Siva Prakash Reddy G <[EMAIL PROTECTED]> wrote:
>         I mean, how to check the data is stored in configuration file
> are not.

    cat /var/net-snmp/snmpd.conf

>    How do I know in which configuration file data is stored.

   net-snmp-config --persistent-directory


> How to write my own parser for my MIB file.

See existing code for the various config handlers there.

Dave


The information contained in, or attached to, this e-mail, contains 
confidential information and is intended solely for the use of the individual 
or entity to whom they are addressed and is subject to legal privilege. If you 
have received this e-mail in error you should notify the sender immediately by 
reply e-mail, delete the message from your system and notify your system 
manager. Please do not copy it for any purpose, or disclose its contents to any 
other person. The views or opinions presented in this e-mail are solely those 
of the author and do not necessarily represent those of the company. The 
recipient should check this e-mail and any attachments for the presence of 
viruses. The company accepts no liability for any damage caused, directly or 
indirectly, by any virus transmitted in this email.

www.aztecsoft.com

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to