Re: snmpd sometimes does not respond
"Andrey Kamchatnikov" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <002601c81257$81abbdf0$6434a8c0@andrey> |
hi Thomas, thank you for quick respond. >Hardware platform? Altera NIOS I > OS version? uClinux 2.4.17 > net-snmp version? 5.4.1 > net-snmp compile-time configuration? I could not run ./configure in Microtronix environment (Cygwin based), I just added new config*.h files which were built for normal Linux, adapted them. Also I created 2 makefiles for agent and snmplib. I can send you them if you need. It works, I have no any broblem, just only one, described here! > net-snmp run-time configuration? (snmpd.conf and command-line options) command line is: snmpd -f -c snmpd.conf I attached also my snmpd.conf file. > Details on how you invoke telnetd? just run it from Windows command line: telnet address > Details on if/how you query the snmp agent? iReasoning MIB Browser: Version 4.2 Hope I provided you enough info regarding my environment. The problem is in packet poiners. It's somehow changed after launching telnet, the same problem happened when I run ps command and try to get some info from snmpd. It's looks like something wrong with file descriptor. When run telnet and close it, I have no any problem. But when I just start it and keep running, then I start MIB Browser get command. Snmpd responded only once. ps shows that CPU is growing up to 100%. snmp is not available after that for mib browser, but it's running. ----- Original Message ----- From: "Thomas Anders" <[email protected]> To: "Andrey Kamchatnikov" <[email protected]> Cc: <[email protected]> Sent: Friday, October 19, 2007 3:08 PM Subject: Re: snmpd sometimes does not respond > Andrey Kamchatnikov wrote: >> When I run snmpd first and after that run telnetd on my embedded system, >> then snmpd responded only one time. > > Hardware platform? > OS version? > net-snmp version? > net-snmp compile-time configuration? > net-snmp run-time configuration? (snmpd.conf and command-line options) > Details on how you invoke telnetd? > Details on if/how you query the snmp agent? > > ... and so on. > > > +Thomas > > -- > Thomas Anders (thomas.anders at blue-cable.de) > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > 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 > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ 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
snmpd.conf
(application/octet-stream, 2 KB)
########################################################################### # # snmpd.conf # # - created by the snmpconf configuration program # ########################################################################### # SECTION: System Information Setup # # This section defines some of the information reported in # the "system" mib group in the mibII tree. # syslocation: The [typically physical] location of the system. # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysLocation.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: location_string #syslocation my_local # syscontact: The contact information for the administrator # Note that setting this value here means that when trying to # perform an snmp SET operation to the sysContact.0 variable will make # the agent return the "notWritable" error code. IE, including # this token in the snmpd.conf file will disable write access to # the variable. # arguments: contact_string syscontact uClinux@sandbox ########################################################################### # SECTION: Trap Destinations # # Here we define who the agent will send traps to. # trap2sink: A SNMPv2c trap receiver # arguments: host [community] [portnum] trap2sink 192.168.52.93 # trapcommunity: Default trap sink community to use # arguments: community-string trapcommunity tester # authtrapenable: Should we send traps when authentication failures occur # arguments: 1 | 2 (1 = yes, 2 = no) authtrapenable 1 ########################################################################### # SECTION: Access Control Setup # # This section defines who is allowed to talk to your running # snmp agent. # rwcommunity: a SNMPv1/SNMPv2c read-write access community name # arguments: community [default|hostname|network/bits] [oid] rwcommunity tester