add df command and increase log size

This commit is contained in:
Abdur Rehman 2024-09-19 16:00:03 +05:00
parent 13d395a49b
commit 0c59f9f5c5
4 changed files with 72 additions and 23 deletions

View File

@ -4,16 +4,20 @@
{ {
"comm": "top -b -n 1", "comm": "top -b -n 1",
"tag": "top" "tag": "top"
},
{
"comm": "df -h",
"tag": "df"
} }
], ],
"logs": [ "logs": [
{ {
"log_file": "/opt/tomcat/logs/catalina.out", "log_file": "/opt/tomcat/logs/catalina.out",
"lines": 100 "lines": 300
}, },
{ {
"log_file": "/u01/app/oracle/diag/rdbms/xe/XE/trace/alert_XE.log", "log_file": "/u01/app/oracle/diag/rdbms/xe/XE/trace/alert_XE.log",
"lines": 50 "lines": 100
}, },
{ {
"log_file": "/var/log/messages", "log_file": "/var/log/messages",
@ -22,15 +26,24 @@
] ]
}, },
"Server Unavailable": { "Server Unavailable": {
"commands": [], "commands": [
{
"comm": "top -b -n 1",
"tag": "top"
},
{
"comm": "df -h",
"tag": "df"
}
],
"logs": [ "logs": [
{ {
"log_file": "/opt/tomcat/logs/catalina.out", "log_file": "/opt/tomcat/logs/catalina.out",
"lines": 50 "lines": 300
}, },
{ {
"log_file": "/u01/app/oracle/diag/rdbms/xe/XE/trace/alert_XE.log", "log_file": "/u01/app/oracle/diag/rdbms/xe/XE/trace/alert_XE.log",
"lines": 50 "lines": 100
}, },
{ {
"log_file": "/var/log/messages", "log_file": "/var/log/messages",
@ -38,5 +51,4 @@
} }
] ]
} }
} }

View File

@ -4,16 +4,20 @@
{ {
"comm": "top -b -n 1", "comm": "top -b -n 1",
"tag": "top" "tag": "top"
},
{
"comm": "df -h",
"tag": "df"
} }
], ],
"logs": [ "logs": [
{ {
"log_file": "/opt/tomcat/logs/catalina.out", "log_file": "/opt/tomcat/logs/catalina.out",
"lines": 100 "lines": 300
}, },
{ {
"log_file": "/opt/oracle/diag/rdbms/xe/XE/trace/alert_XE.log", "log_file": "/opt/oracle/diag/rdbms/xe/XE/trace/alert_XE.log",
"lines": 50 "lines": 100
}, },
{ {
"log_file": "/var/log/messages", "log_file": "/var/log/messages",
@ -22,15 +26,24 @@
] ]
}, },
"Server Unavailable": { "Server Unavailable": {
"commands": [], "commands": [
{
"comm": "top -b -n 1",
"tag": "top"
},
{
"comm": "df -h",
"tag": "df"
}
],
"logs": [ "logs": [
{ {
"log_file": "/opt/tomcat/logs/catalina.out", "log_file": "/opt/tomcat/logs/catalina.out",
"lines": 50 "lines": 300
}, },
{ {
"log_file": "/opt/oracle/diag/rdbms/xe/XE/trace/alert_XE.log", "log_file": "/opt/oracle/diag/rdbms/xe/XE/trace/alert_XE.log",
"lines": 50 "lines": 100
}, },
{ {
"log_file": "/var/log/messages", "log_file": "/var/log/messages",
@ -38,5 +51,4 @@
} }
] ]
} }
} }

View File

@ -4,16 +4,20 @@
{ {
"comm": "top -b -n 1", "comm": "top -b -n 1",
"tag": "top" "tag": "top"
},
{
"comm": "df -h",
"tag": "df"
} }
], ],
"logs": [ "logs": [
{ {
"log_file": "/opt/tomcat/logs/catalina.out", "log_file": "/opt/tomcat/logs/catalina.out",
"lines": 100 "lines": 300
}, },
{ {
"log_file": "/opt/oracle/diag/rdbms/free/FREE/trace/alert_FREE.log", "log_file": "/opt/oracle/diag/rdbms/free/FREE/trace/alert_FREE.log",
"lines": 50 "lines": 100
}, },
{ {
"log_file": "/var/log/messages", "log_file": "/var/log/messages",
@ -22,15 +26,24 @@
] ]
}, },
"Server Unavailable": { "Server Unavailable": {
"commands": [], "commands": [
{
"comm": "top -b -n 1",
"tag": "top"
},
{
"comm": "df -h",
"tag": "df"
}
],
"logs": [ "logs": [
{ {
"log_file": "/opt/tomcat/logs/catalina.out", "log_file": "/opt/tomcat/logs/catalina.out",
"lines": 50 "lines": 300
}, },
{ {
"log_file": "/opt/oracle/diag/rdbms/free/FREE/trace/alert_FREE.log", "log_file": "/opt/oracle/diag/rdbms/free/FREE/trace/alert_FREE.log",
"lines": 50 "lines": 100
}, },
{ {
"log_file": "/var/log/messages", "log_file": "/var/log/messages",
@ -38,5 +51,4 @@
} }
] ]
} }
} }

View File

@ -4,16 +4,20 @@
{ {
"comm": "top -b -n 1", "comm": "top -b -n 1",
"tag": "top" "tag": "top"
},
{
"comm": "df -h",
"tag": "df"
} }
], ],
"logs": [ "logs": [
{ {
"log_file": "/opt/tomcat/logs/catalina.out", "log_file": "/opt/tomcat/logs/catalina.out",
"lines": 100 "lines": 300
}, },
{ {
"log_file": "/u01/app/oracle/diag/rdbms/orcl_jnb1w9/ORCL/trace/alert_XE.log", "log_file": "/u01/app/oracle/diag/rdbms/orcl_jnb1w9/ORCL/trace/alert_XE.log",
"lines": 50 "lines": 100
}, },
{ {
"log_file": "/var/log/messages", "log_file": "/var/log/messages",
@ -22,15 +26,24 @@
] ]
}, },
"Server Unavailable": { "Server Unavailable": {
"commands": [], "commands": [
{
"comm": "top -b -n 1",
"tag": "top"
},
{
"comm": "df -h",
"tag": "df"
}
],
"logs": [ "logs": [
{ {
"log_file": "/opt/tomcat/logs/catalina.out", "log_file": "/opt/tomcat/logs/catalina.out",
"lines": 50 "lines": 300
}, },
{ {
"log_file": "/u01/app/oracle/diag/rdbms/orcl_jnb1w9/ORCL/trace/alert_XE.log", "log_file": "/u01/app/oracle/diag/rdbms/orcl_jnb1w9/ORCL/trace/alert_XE.log",
"lines": 50 "lines": 100
}, },
{ {
"log_file": "/var/log/messages", "log_file": "/var/log/messages",