Hi
my problem got solved.Thanke for your help.

i am passing snmpd.conf file to snmpd daemon using -c
option.
Now i am having other problem that i written C program
 using net-snmp funtions like snmp_session etc.
I am getting linking error
collect2: ld return with exist error 1

i am compiling my program like this
gcc myprog.c -l /usr/local/lib -o myprog

any suggesions

regards
ganesh


--- Dave Shield <[EMAIL PROTECTED]> wrote:

>     [ First - *please* don't mail me privately,
> without copying
>      any responses to the mailing list.  I don't
> have the time
>      or inclination to offer private, unpaid, SNMP
> consultancy.
>      Keep discussions to the list, where others can
> both learn
>      and offer advice.  Thanks.   ]
> 
> On Tue, 2005-12-06 at 03:26 -0800, Ganesh Wagh
> wrote:
> > Hi Dave
> > I have configure access control in snmpd.conf file
> > like this
> > rocommunity public localhost
> > rwcommunity private localhost
> > but it not working with this configuration. My OS
> is
> > Red Hat linux.
> > I read FAQ supplied with net snmp.
> > What is going wrong in my sytem?
> 
> What is the exact command(s) that you are running?
> Which version of the agent are you using - a RedHat
>   supplied binary, or one you compiled yourself?
> How are you starting the agent?
> Which 'snmpd.conf' file did you edit?
> 
> Dave
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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

Reply via email to