RE: starting snmpd daemon

"Ambika Tripathy" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I am using Ubuntu 64 it OS (8.04.1).

I have created the snmpd script file and updated rc.d for that as 

update-rc.d snmpd start 51 S . 

After reboot, ps -A | grep snmp shows snmpd running. But when I execute
snmpwalk -v 2c -c public 10.4.0.215 .1.3.6.1.4.1.32404 the values are coming
as 0. But actual value of my server is not zero. 

Even when I stop the rc.d process and execute the snmpd from command line
the output is coming perfectly. 
The cli command is #/usr/local/sbin/snmpd

How can I configure rc.d process so that I can start snmpd automatically
during system reboot using ubuntu OS.

Br,
Ambika



-----Original Message-----
From: Ambika Pr. Tripathy [mailto:[email protected]] 
Sent: Thursday, January 01, 2009 6:15 PM
To: Mike Ayers; Ambika Tripathy; [email protected]
Subject: RE: starting snmpd daemon


Hi,

The location of snmpd is /usr/local/sbin/

And i am executing init.d script as a root user.

br,
Ambika


>-- Original Message --
>Subject: RE: starting snmpd daemon
>Date: Fri, 26 Dec 2008 11:01:13 -0800
>From: "Mike Ayers" <[email protected]>
>To: "Ambika Tripathy" <[email protected]>,
>        <[email protected]>
>
>
>> From: Ambika Tripathy [mailto:[email protected]] 
>> Sent: Friday, December 26, 2008 3:42 AM
>
>> I am facing a peculiar problem when I try to start my snmpd 
>> using rc.d. The problem is when I try to extract OID values 
>> using snmpwalk for my enterprise OID it is always coming as 
>> 0. But when I execute the snmpd manually from command line 
>> the perfect values are coming.
>
>	What is the location of the snmpd that you start manually?
>
>	Are you running the init.d script as root?
>
>
>	HTH,
>
>Mike
>
>---------------------------------------------------------------------------
---
>_______________________________________________
>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
>

Ambika Prasad Tripathy

NetHawk Networks India Pvt. Ltd.
Mob: +91-94375 47730
mail: [email protected]
web: www.nethawk.fi





------------------------------------------------------------------------------
_______________________________________________
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.