RE: starting snmpd with multiple configuration files

"Amita Mhaskar" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Thanks ! It is working.
 
Regards,
Amita

________________________________

From: [email protected] on behalf of Dave Shield
Sent: Fri 2/9/2007 1:16 AM
To: Amita Mhaskar
Cc: [email protected]; Rajesh Prabhu
Subject: Re: starting snmpd with multiple configuration files



On 09/02/07, Amita Mhaskar <[email protected]> wrote:
> I tried starting snmpd from net-snmp-5.3.1 by specifying multiple
> configuration files.

> 1) /opt/internal/bin/snmpd -p /opt/internal/var/run/snmpd.pid -c
> /ffs/etc/snmpd.conf,/usr/local/share/snmp/snmpd_persistent.conf

That would work - either as it stands, or with quotes around the
filenames.  The others (with spaces between the files) won't.



> When I start snmpd with any of these syntaxes, it does not respond to any
> commands like snmpwalk etc..

That's probably more to do with what access configuration you've
got in these files, and how you are querying the agent.

     /opt/internal/bin/snmpd -p /opt/internal/var/run/snmpd.pid
      -c /ffs/etc/snmpd.conf,/usr/local/share/snmp/snmpd_persistent.conf
      -f  -Le  -Dread_config

to see what configuration is actually being read in.

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.