- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- /var/log/messages lots of msgs re snmpd on 127.0.0...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-01-2008 07:48 PM
тАО10-01-2008 07:48 PM
Used ProLiant Support Pack 8.12
Noticing loads of messsages in /var/log/messages from snmpd about activity on 127.0.0.1
For sundry reasons, no HP Sim or OpenView or Nagios or...
Just want to not see the messages.
Assume there is a config file - not sure where or what to change.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-02-2008 07:07 PM
тАО10-02-2008 07:07 PM
Re: /var/log/messages lots of msgs re snmpd on 127.0.0.1
is this issue started after you install PSP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-03-2008 09:24 AM
тАО10-03-2008 09:24 AM
Re: /var/log/messages lots of msgs re snmpd on 127.0.0.1
Messages are like this:
hostname snmpd[2422]: Connection from UDP: [127.0.0.1]:34164
hostname snmpd[2422]: Received SNMP packet(s) from UDP: [127.0.0.1]:34164
and followed by ones with the last part incrementing up as 34165, 34166, etc. sometimes the first message is followed by one or more instances of
hostname last message repeated 3 times
(or 2 times or 4 times or ...)
The /var/log/messages* files are full of these messages, obscuring useful ones.
Looked at an older system with RHEL 5 set up by someone else even longer ago; it has PSP 8.0 and has much the same messages.
I have not yet found the right document to help me understand what configuration file I should change.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-07-2008 12:23 AM
тАО10-07-2008 12:23 AM
SolutionI'm using SUSE, so i found next line in my /etc/init.d/snmpd
startproc $SNMPD $SNMPDCONF -r -A -LF ${SNMPD_LOGLEVEL:-d} $SNMPD_LOGFILE -p /var/run/snmpd.pid $agentargs $S NMPDNOSMUX $SNMPDNOTCPWRAPPERLOG
and lines:
SNMPD_CONFIG=/etc/sysconfig/net-snmp
# Read config
. $SNMPD_CONFIG
so i looked in to /etc/sysconfig/net-snmp
and found:
## Path: System/Net-SNMP
## Description: Log level of the snmp server.
## Type: string(!,a,c,e,w,n,i,d,0,1,2,3,4,5,6,7)
## Default: d
#
# Defines the log level for the snmpd.
#
# The default is set to d (7, LOG_DEBUG)
# This reflects the default for old init script.
#
SNMPD_LOGLEVEL="d"
so i changed it to SNMPD_LOGLEVEL="1", restarted snmpd and annoing messages is no longer appears.
RH Linux must have something like this to.
P.S. Just looked into RHEL scripts
they have line
OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a"
so you can set snmpd parameters in your flavor. Look to snmpd --help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2008 10:56 AM
тАО10-09-2008 10:56 AM
Re: /var/log/messages lots of msgs re snmpd on 127.0.0.1
The systems did not have a file /etc/snmp/snmpd.options so I created one. To figure out the logging options I installed the net-snmp-utils RPM so I got the man page for snmpcmd and could see the conventions for the -L option. I used
"-LS 1 d -Lf /dev/null -p /var/run/snmpd.pid -a". I was doing "tail -f /var/log/messages" and restarted snmpd. And stopped getting all those annoying messages.
Thanks so much for the help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-09-2008 10:59 AM
тАО10-09-2008 10:59 AM