This is a discussion on /etc/init.d/snmpd doesn't get config from snmpd.conf within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. --===============0989223909== Content-Type: multipart/alternative; boundary="----=_NextPart_000_00BA_01C7ADC8.FB68C3C0" This ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
This is a multi-part message in MIME format.
--===============0989223909== Content-Type: multipart/alternative; boundary="----=_NextPart_000_00BA_01C7ADC8.FB68C3C0" This is a multi-part message in MIME format. ------=_NextPart_000_00BA_01C7ADC8.FB68C3C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I add the following line in my /etc/snmp/snmpd.conf: "smuxpeer = ..1.3.6.1.4.1.674.10892.1". When I do, "/etc/init.d/snmpd restart" and do a snmpwalk on = ..1.3.6.1.4.1.674.10892.1 I don't get any output. But when I do: # /etc/init.d/snmpd stop # snmpd and then do the snmpwalk, it all works. It looks like the /etc/init.d/snmpd script doesn't look at the = snmpd.conf file. How can I fix this? Debian 4.0 NET-SNMP version: 5.2.3 ------=_NextPart_000_00BA_01C7ADC8.FB68C3C0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.6000.16441" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>Hello,</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I add the following line in my=20 /etc/snmp/snmpd.conf: "</FONT><FONT face=3DArial size=3D2>smuxpeer=20 ..1.3.6.1.4.1.674.10892.1".</FONT></DIV> <DIV><FONT face=3DArial size=3D2>When I do, "/etc/init.d/snmpd restart" = and do a=20 snmpwalk on .1.3.6.1.4.1.674.10892.1 I don't get any = output.</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>But when I do:</FONT></DIV> <DIV><FONT face=3DArial size=3D2># /etc/init.d/snmpd stop</FONT></DIV> <DIV><FONT face=3DArial size=3D2># snmpd</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>and then do the snmpwalk, it all=20 works.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>It looks like the /etc/init.d/snmpd = script doesn't=20 look at the snmpd.conf file.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>How can I fix this?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>Debian 4.0</FONT></DIV> <DIV><FONT face=3DArial size=3D2>NET-SNMP version: = 5.2.3</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML> ------=_NextPart_000_00BA_01C7ADC8.FB68C3C0-- --===============0989223909== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ --===============0989223909== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users --===============0989223909==-- |