- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
07-25-2024 08:43 PM - edited 07-30-2024 01:47 AM
07-29-2024 06:33 PM
Please someone support on this.
07-31-2024 02:06 PM
Hi @assubramania,
Have you tried the following content pack? If not, please give it a try.
https://cortex.marketplace.pan.dev/marketplace/details/HealthCheck/
Also, you can always use any APM solution (free or paid) to monitor your on-prem environment in real time.
08-01-2024 03:20 PM - edited 08-01-2024 03:22 PM
To monitor system performance, including disk usage, in Cortex XSOAR 6.12, you can also set up custom monitoring using scripts and dashboards. Since the default "System Health" dashboard may not include disk monitoring, you can create your own dashboard or enhance the existing one through a custom script (automation) using the "psutil" Python library for example. Then you can create a Job to run the script periodically or you may create a custom Dashboard to display disk usage:
import psutil
def main():
# Get disk usage statistics
disk_usage = psutil.disk_usage('/')
# Prepare the results
results = {
'Total': disk_usage.total,
'Used': disk_usage.used,
'Free': disk_usage.free,
'Percent': disk_usage.percent
}
# Return the results to XSOAR context
demisto.results({
'Type': entryTypes['note'],
'ContentsFormat': formats['json'],
'Contents': results,
'EntryContext': {
'DiskUsage': results
}
})
if __name__ in ('__main__', '__builtin__', 'builtins'):
main()
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!