Enhance iprsos to collect some missing log files.
Signed-off-by: Brian King <[email protected]>
---
iprsos | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff -puN iprsos~iprutils_sos_logs iprsos
--- iprutils.patched/iprsos~iprutils_sos_logs 2016-06-15 08:57:01.288178793
-0500
+++ iprutils.patched-bjking1/iprsos 2016-06-15 09:02:31.846638540 -0500
@@ -67,6 +67,26 @@ function _var_log_messages() {
echo
echo "=== Contents of '/var/log/messages' ==="
cat /var/log/messages
+
+ if [ -f /var/log/dmesg ]; then
+ echo "=== Contents of '/var/log/dmesg' ==="
+ cat /var/log/dmesg
+ fi
+
+ if [ -f /var/log/boot.msg ]; then
+ echo "=== Contents of '/var/log/boot.msg' ==="
+ cat /var/log/boot.msg
+ fi
+
+ if [ -f /var/log/kern.log ]; then
+ echo "=== Contents of '/var/log/kern.log' ==="
+ cat /var/log/kern.log
+ fi
+
+ if [ -f /var/log/syslog ]; then
+ echo "=== Contents of '/var/log/syslog' ==="
+ cat /var/log/syslog
+ fi
}
function _run_sos() {
_
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
_______________________________________________
Iprdd-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iprdd-devel