included apache error logs

This commit is contained in:
zulqarnainhabib 2024-10-18 14:50:41 +05:00
parent 32cca430c3
commit cc218af2e0
3 changed files with 66 additions and 2 deletions

View File

@ -28,6 +28,10 @@
{
"comm": "echo Current Date and time on server: ; date",
"tag": "datetime"
},
{
"comm": "find /var/log/virtualmin -type f -name '*error_log*' -mmin -15 -exec sh -c 'echo \"===== {} =====\"; tail -n 50 {}' \\;",
"tag": "apacheerrorlogs"
}
],
"logs": [
@ -54,6 +58,30 @@
{
"comm": "df -h",
"tag": "df"
},
{
"comm": "/opt/ticket-ai/src/scripts/processfinder.sh;sleep 5;cat /tmp/findsql.tmp",
"tag": "processfinder"
},
{
"comm": "/opt/ticket-ai/src/scripts/tablespaceUsage.sh;sleep 5;cat /tmp/tablespace_usage.tmp",
"tag": "tablespaceusage"
},
{
"comm": "/opt/ticket-ai/src/scripts/showdbparameter.sh;sleep 2;cat /tmp/database_parameters.tmp",
"tag": "tablespaceusage"
},
{
"comm": "cat /opt/ords/config/databases/default/pool.xml",
"tag": "ordsconfig"
},
{
"comm": "echo Current Date and time on server: ; date",
"tag": "datetime"
},
{
"comm": "find /var/log/virtualmin -type f -name '*error_log*' -mmin -15 -exec sh -c 'echo \"===== {} =====\"; tail -n 50 {}' \\;",
"tag": "apacheerrorlogs"
}
],
"logs": [

View File

@ -28,6 +28,10 @@
{
"comm": "echo Current Date and time on server: ; date",
"tag": "datetime"
},
{
"comm": "find /var/log/virtualmin -type f -name '*error_log*' -mmin -15 -exec sh -c 'echo \"===== {} =====\"; tail -n 50 {}' \\;",
"tag": "apacheerrorlogs"
}
],
"logs": [
@ -54,6 +58,30 @@
{
"comm": "df -h",
"tag": "df"
},
{
"comm": "/opt/ticket-ai/src/scripts/processfinder.sh;sleep 5;cat /tmp/findsql.tmp",
"tag": "processfinder"
},
{
"comm": "/opt/ticket-ai/src/scripts/tablespaceUsage.sh;sleep 5;cat /tmp/tablespace_usage.tmp",
"tag": "tablespaceusage"
},
{
"comm": "/opt/ticket-ai/src/scripts/showdbparameter.sh;sleep 2;cat /tmp/database_parameters.tmp",
"tag": "tablespaceusage"
},
{
"comm": "cat /opt/ords/config/databases/default/pool.xml",
"tag": "ordsconfig"
},
{
"comm": "echo Current Date and time on server: ; date",
"tag": "datetime"
},
{
"comm": "find /var/log/virtualmin -type f -name '*error_log*' -mmin -15 -exec sh -c 'echo \"===== {} =====\"; tail -n 50 {}' \\;",
"tag": "apacheerrorlogs"
}
],
"logs": [

View File

@ -19,7 +19,7 @@
},
{
"comm": "/opt/ticket-ai/src/scripts/showdbparameter.sh;sleep 2;cat /tmp/database_parameters.tmp",
"tag": "tablespaceusage"
"tag": "dbparams"
},
{
"comm": "cat /opt/ords/config/databases/default/pool.xml",
@ -28,6 +28,10 @@
{
"comm": "echo Current Date and time on server: ; date",
"tag": "datetime"
},
{
"comm": "find /var/log/virtualmin -type f -name '*error_log*' -mmin -15 -exec sh -c 'echo \"===== {} =====\"; tail -n 50 {}' \\;",
"tag": "apacheerrorlogs"
}
],
"logs": [
@ -65,7 +69,7 @@
},
{
"comm": "/opt/ticket-ai/src/scripts/showdbparameter.sh;sleep 2;cat /tmp/database_parameters.tmp",
"tag": "tablespaceusage"
"tag": "dbparams"
},
{
"comm": "cat /opt/ords/config/databases/default/pool.xml",
@ -74,6 +78,10 @@
{
"comm": "echo Current Date and time on server: ; date",
"tag": "datetime"
},
{
"comm": "find /var/log/virtualmin -type f -name '*error_log*' -mmin -15 -exec sh -c 'echo \"===== {} =====\"; tail -n 50 {}' \\;",
"tag": "apacheerrorlogs"
}
],
"logs": [