# dd bs=8192 count=10000 if=/dev/zero of=/tmp/disk.iso
# mkfs.msdos /tmp/disk.iso
20120824
20120815
Redhat enable multipath
# yum install sysfsutils
# yum install device-mapper-multipath
# mpathconf --enable --with_multipathd y
# yum install device-mapper-multipath
# mpathconf --enable --with_multipathd y
20120814
System log filled by snmpd messages
[root@myxen ~]# tail -5 /var/log/messages
Aug 15 03:19:30 myxen snmpd[10298]: Received SNMP packet(s) from UDP: [127.0.0.1]:42695
Aug 15 03:19:45 myxen snmpd[10298]: Received SNMP packet(s) from UDP: [127.0.0.1]:40647
Aug 15 03:19:47 myxen snmpd[10298]: Received SNMP packet(s) from UDP: [127.0.0.1]:56802
Aug 15 03:20:02 myxen snmpd[10298]: Received SNMP packet(s) from UDP: [127.0.0.1]:55952
Aug 15 03:20:02 myxen snmpd[10298]: Received SNMP packet(s) from UDP: [127.0.0.1]:33076
Solution:
[root@myxen ~]# cat /etc/sysconfig/snmpd.options
# snmpd command line options
# OPTIONS="-Lsd -Lf /dev/null -p /var/run/snmpd.pid -a"
OPTIONS="-LS 4 d -p /var/run/snmpd.pid -a"
Logging Options:
For -LF and -LS the priority specification comes before the file or facility token. The priorities recognised are:
0 or ! for LOG_EMERG,
1 or a for LOG_ALERT,
2 or c for LOG_CRIT,
3 or e for LOG_ERR,
4 or w for LOG_WARNING,
5 or n for LOG_NOTICE,
6 or i for LOG_INFO, and
7 or d for LOG_DEBUG.
-p FILE
Save the process ID of the daemon in FILE.
-a
Log the source addresses of incoming requests.
Subscribe to:
Posts (Atom)