Bluehost.com Web Hosting $6.95

SNMP for dummies - Plethora of questions

This is a discussion on SNMP for dummies - Plethora of questions within the SNMP Users forums, part of the Networking and Network Related category; This is a multi-part message in MIME format. ------_=_NextPart_001_01C5FD03.DA741B75 Content-Type: text/plain; charset="us-ascii&...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-09-2005
Jim M. Themis
 
Posts: n/a
Default SNMP for dummies - Plethora of questions

This is a multi-part message in MIME format.

------_=_NextPart_001_01C5FD03.DA741B75
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I have been thrown from the frying pan into the fire. Due to a recent
reduction in force, I have been tasked to pick up our SNMP work which I
have no background or experience with. Initially it was done my a
subcontractor for RedHat 9 (which worked fine). We have now moved to
Monta Vista and I am trying to build it for that environment. After a
week, I decided to ask for help:
=20
I believe I have built the snmpd and its associated libraries:
=20
1. make clean
[this is placed in a bash script]
2. ./configure --exec-prefix=3D"/velSNMP/exe-files" \
--prefix=3D"/velSNMP/install-files" \
--with-defaults --with-sys-contact=3D"Unknown" \
--with-mib-modules=3D"host disman/event-mib smux
mapping/cardMappingTable mapping/nodeMappingTable" \
--with-mibdirs=3D"/usr/local/carrius/SnmpAgent/MIBs" \
--with-sysconfdir=3D"/etc/net-snmp" \
--with-libwrap=3D"/usr/lib" \
--enable-shared
3. make all
4. make install
=20
However, when we start the software up and query the daemon, we get the
following response (We are using the MG-Soft MIB Browser):
Remote address: 192.168.145.38 port: 161 transport: IP/UDP
Local address: 192.168.160.15 port: 2139 transport: IP/UDP
Protocol version: SNMPv1
Operation: Get
Request binding:
1: sysDescr.0 (null) null

Response binding:
Error: No such name
Error index: 1
1: sysDescr.0 (null) null

In addition, we are getting the following errors in the
/var/log/snmpd.log file:

/etc/snmp/snmpd.conf: line 1: Warning: Unknown token: master.
/etc/snmp/snmpd.conf: line 2: Warning: Unknown token: rwcommunity.
/etc/snmp/snmpd.conf: line 3: Warning: Unknown token: AgentxTimeout.
/etc/snmp/snmpd.conf: line 4: Warning: Unknown token: AgentxRetries.
/etc/snmp/snmpd.conf: line 8: Warning: Unknown token: smuxpeer.
/etc/snmp/snmpd.conf: line 10: Warning: Unknown token: group.
/etc/snmp/snmpd.conf: line 11: Warning: Unknown token: view.
/etc/snmp/snmpd.conf: line 12: Warning: Unknown token: access.
noauth exact inph_MIB inph_MIB inph_MIB: No such file or directory

=20
=20
We appreciate any help,
Thanks,
Jim
=20




=20

------_=_NextPart_001_01C5FD03.DA741B75
Content-Type: text/html;
charset="us-ascii"
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=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2769" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D207235320-09122005><FONT face=3DArial size=3D2>I have =
been thrown=20
from the frying pan into the fire.&nbsp; Due to a recent reduction in =
force, I=20
have been tasked to pick up our SNMP work which I have no background or=20
experience with.&nbsp; Initially it was done my a subcontractor for =
RedHat 9=20
(which worked fine).&nbsp; We have now moved to Monta Vista and I am =
trying to=20
build it for that environment.&nbsp; After a week, I decided to ask for=20
help:</FONT></SPAN></DIV>
<DIV><SPAN class=3D207235320-09122005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D207235320-09122005><FONT face=3DArial size=3D2>I =
believe I have=20
built the snmpd and its associated libraries:</FONT></SPAN></DIV>
<DIV><SPAN class=3D207235320-09122005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D207235320-09122005><FONT face=3DArial size=3D2>1. =
make=20
clean</FONT></SPAN></DIV>
<DIV><SPAN class=3D207235320-09122005><FONT face=3DArial size=3D2>[this =
is placed in a=20
bash script]</FONT></SPAN></DIV>
<DIV><SPAN class=3D207235320-09122005><FONT face=3DArial size=3D2>2. =
../configure=20
--exec-prefix=3D"/velSNMP/exe-files"&nbsp;=20
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;=20
--prefix=3D"/velSNMP/install-files"&nbsp;=20
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;=20
--with-defaults --with-sys-contact=3D"Unknown"=20
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;=20
--with-mib-modules=3D"host disman/event-mib smux =
mapping/cardMappingTable=20
mapping/nodeMappingTable"=20
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;=20
--with-mibdirs=3D"/usr/local/carrius/SnmpAgent/MIBs"=20
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;=20
--with-sysconfdir=3D"/etc/net-snmp"=20
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;=20
--with-libwrap=3D"/usr/lib"=20
\<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;=20
--enable-shared<BR>3. make all</FONT></SPAN></DIV>
<DIV><SPAN class=3D207235320-09122005><FONT face=3DArial size=3D2>4. =
make=20
install</FONT></SPAN></DIV>
<DIV><SPAN class=3D207235320-09122005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D207235320-09122005><FONT face=3DArial =
size=3D2>However, when we=20
start the software up and query the daemon, we get the following =
response (We=20
are using the MG-Soft MIB Browser):</FONT></SPAN></DIV>
<DIV><SPAN class=3D207235320-09122005><FONT size=3D2><FONT =
color=3D#080000=20
size=3D1><SPAN class=3D207235320-09122005><FONT face=3DArial =
color=3D#000000 size=3D2>
<P>Remote address: 192.168.145.38&nbsp; port: 161 transport: =
IP/UDP<BR>Local=20
address: 192.168.160.15&nbsp; port: 2139 transport: IP/UDP<BR>Protocol =
version:=20
SNMPv1<BR>Operation: Get<BR>Request binding:<BR>1: sysDescr.0 (null) =
null</P>
<P>Response binding:<BR>Error: No such name<BR>Error index: 1<BR>1: =
sysDescr.0=20
(null) null</P></FONT>
<P><FONT color=3D#000080 size=3D1><FONT face=3DArial color=3D#000000 =
size=3D2><SPAN=20
class=3D207235320-09122005>In addition, we are getting the following =
errors in the=20
/var/log/snmpd.log file:</SPAN></FONT></FONT></P>
<P><FONT color=3D#000080 size=3D1><FONT face=3DArial color=3D#000000 =
size=3D2><SPAN=20
class=3D207235320-09122005>&nbsp;&nbsp;&nbsp; /etc/snmp/snmpd.conf: line =
1:=20
Warning: Unknown token: master.<BR>&nbsp;&nbsp;&nbsp; =
/etc/snmp/snmpd.conf: line=20
2: Warning: Unknown token: rwcommunity.<BR>&nbsp;&nbsp;&nbsp;=20
/etc/snmp/snmpd.conf: line 3: Warning: Unknown token:=20
AgentxTimeout.<BR>&nbsp;&nbsp;&nbsp; /etc/snmp/snmpd.conf: line 4: =
Warning:=20
Unknown token: AgentxRetries.<BR>&nbsp;&nbsp;&nbsp; =
/etc/snmp/snmpd.conf: line=20
8: Warning: Unknown token: smuxpeer.<BR>&nbsp;&nbsp;&nbsp; =
/etc/snmp/snmpd.conf:=20
line 10: Warning: Unknown token: group.<BR>&nbsp;&nbsp;&nbsp;=20
/etc/snmp/snmpd.conf: line 11: Warning: Unknown token:=20
view.<BR>&nbsp;&nbsp;&nbsp; /etc/snmp/snmpd.conf: line 12: Warning: =
Unknown=20
token: access.<BR>&nbsp;&nbsp;&nbsp;&nbsp; noauth exact inph_MIB =
inph_MIB=20
inph_MIB: No such file or directory</SPAN></FONT></FONT></P><FONT =
color=3D#000080=20
size=3D1><FONT face=3DArial color=3D#000000 size=3D2><SPAN=20
class=3D207235320-09122005></SPAN></FONT></FONT></SPAN></FONT></FONT></SP=
AN></DIV>
<DIV><SPAN class=3D207235320-09122005><FONT size=3D2><FONT =
color=3D#080000=20
size=3D1><SPAN class=3D207235320-09122005><FONT color=3D#000080 =
size=3D1><FONT=20
face=3DArial color=3D#000000 size=3D2><SPAN=20
class=3D207235320-09122005></SPAN></FONT></FONT></SPAN></FONT></FONT></SP=
AN>&nbsp;</DIV>
<DIV><SPAN class=3D207235320-09122005><FONT size=3D2><FONT =
color=3D#080000=20
size=3D1><SPAN class=3D207235320-09122005><FONT color=3D#000080 =
size=3D1><FONT=20
face=3DArial color=3D#000000 size=3D2><SPAN=20
class=3D207235320-09122005></SPAN></FONT></FONT></SPAN></FONT></FONT></SP=
AN>&nbsp;</DIV>
<DIV><SPAN class=3D207235320-09122005><FONT size=3D2><FONT =
color=3D#080000=20
size=3D1><SPAN class=3D207235320-09122005><FONT color=3D#000080 =
size=3D1><FONT=20
face=3DArial color=3D#000000 size=3D2><SPAN =
class=3D207235320-09122005>We appreciate any=20
help,</SPAN></FONT></FONT></SPAN></FONT></FONT></SPAN></DIV>
<DIV><SPAN class=3D207235320-09122005><FONT size=3D2><FONT =
color=3D#080000=20
size=3D1><SPAN class=3D207235320-09122005><FONT color=3D#000080 =
size=3D1><FONT=20
face=3DArial color=3D#000000 size=3D2><SPAN=20
class=3D207235320-09122005>Thanks,</SPAN></FONT></FONT></SPAN></FONT></FO=
NT></SPAN></DIV>
<DIV><SPAN class=3D207235320-09122005><FONT size=3D2><FONT =
color=3D#080000=20
size=3D1><SPAN class=3D207235320-09122005><FONT color=3D#000080 =
size=3D1><FONT=20
face=3DArial color=3D#000000 size=3D2><SPAN=20
class=3D207235320-09122005>Jim</SPAN></FONT></FONT></SPAN></FONT></FONT><=
/SPAN></DIV>
<DIV><SPAN class=3D207235320-09122005><FONT size=3D2><FONT =
color=3D#080000=20
size=3D1><SPAN class=3D207235320-09122005><FONT color=3D#000080 =
size=3D1><FONT=20
face=3DArial color=3D#000000 size=3D2><SPAN =
class=3D207235320-09122005>&nbsp;</DIV>
<P><BR></P></SPAN></FONT></FONT></SPAN></FONT></FONT></SPAN>
<DIV><SPAN class=3D207235320-09122005><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C5FD03.DA741B75--


-------------------------------------------------------
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
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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 09:54 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0