Hi,


   First of all,  thanks for helping.



Have copied the errors below and config file is attached. 



cccbl:~ # ps h -eo pid,args | grep snmpd

 4767 grep snmpd

cccbl:~ # snmpd -Le -f-Dread_config

/usr/local/share/snmp/snmpd.conf: line 60: Error: Blank line following 
agentgroup token.

ucd-snmp: 1 error(s) in config file(s)

Turning on AgentX master support.

Note this is still experimental and shouldn't be used on critical systems.

/usr/local/share/snmp/snmpd.conf: line 60: Error: Blank line following 
agentgroup token.

ucd-snmp: 1 error(s) in config file(s)

illegal port transport 172.16.10.88:161

Server Exiting with code 1

cccbl:~ # 



I'd started with net-snmp 5.5. After reading on somewhere that older versions 
might work better i changed to net-snmp 5.4.2 and now ucd-snmp-4.2.3 ...



Does this add to my problems??



Abigail 





On Fri, 26 Feb 2010 06:59:45 +0530  wrote

>> From: Abigail Rebello [mailto:bluebriarr...@rediffmail.com]



> Sent: Wednesday, February 24, 2010 11:26 PM







> i'm a linux beginner..







Yep.







> i've insstalled and configured net-snmp a number of times on my system



> but have a problem getting it to work... am not sure what's wrong...







Actually, it may be working, but we'll get back to that in a moment...







> have attached config files







That's not the config file, it's the net-snmp-config session. The config file 
we want is the generated snmpd.conf file.







Note that user "root" should have group "root" - "public" is what you want for 
the rocommunity (read-only).







Thanks for the screenshot. Note that snmpd backgrounds by default, so see if 
you still have an snmpd running:







# ps h -eo pid,args | grep snmpd







If there is any output to that, then







# kill [pid]







...replacing [pid] with the number in the first column. Now do this:







# snmpd -Le -f -Dread_config







This will run the agent in the foregrouns and log all errors to the console. 
That's a start - let's see how far that gets you.











HTH,







Mike







Attachment: snmpd.conf
Description: Binary data

Attachment: snmp.conf
Description: Binary data

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
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/listinfo/net-snmp-users

Reply via email to