On 3/1/07, Joao Miguel Ferreira <[EMAIL PROTECTED]> wrote:
On Thu, 2007-03-01 at 13:46 +0530, zaman L wrote:
> Hi All,
>
> I am trying to install net-snmp from the source code . The
> installation is successful and
> it is installed in the default location.
>
> Now to configure I have the sample configuration file EXAMPLE.conf
> to /usr/local/share/snmp
> and rename it to snmpd.conf . I also provided a community string
> using rocommunity in
> snmpd.conf file.
>
> I am confused regarding how to start the agent (snmpd) service .
> There is agent directory under the net-snmp directory which contains
> an executable file named snmpd.
> I executed this file in the hope that this is the snmpd daemon. No
> message was flashed.
> After that I executed the snmpget command to check whether the
> agent is working or not.
> But it give no response .
> So , I want to know how to start the snmpd agent.
1) go to that directory an execute the agent like this:
# ./snmpd -f -Lo
-f: the agent does not fork() away from the tty
-Lo: the agent logs its activity to stdout
check to see if it prints any messages related to the config files....
I tried that and it gives the following message
Error opening specified endpoint " "
Server Exiting with code 1
2) do a # ls -la /etc/snmp/ to see if the snmpd.conf is there
the snmpd.conf file is present in /usr/local/share/snmp/
With thanks and Regards
-------------------------------------------------------------------------
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-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