Credit: Daniel Jerveren
- Download the attached file perf_scan.pl to your op5 monitor server, for example via scp or with a client like Filezilla, or copy-paste the contents.
- Make it executable (chmod +x)
- Run the script without parameters to get the top 5 hosts and services that taking the longest time to run
# chmod +x perf_scan.pl # ./perf_scan.pl --help perf_scan 0.2 Usage: perf_scan [OPTIONS] OPTIONS: -h list hosts -s list services -l number of hosts/services to show (default 5)