Custom Perl script to monitor multiple server's CPU's in a single graph
Hi all.
Attached is a simple Perl script I put together to track total CPU usage across multiple different servers and show these values in a single graph. The servers in question are added in the array "@servers", and each of these values is then passed to the function "getSnmpValues", which returns the average total CPU usage across all server cores. I've attached a jpg of the final result in my environment.
To get this working, you must set the path to the Perl binary (In my case, "C:\Perl\bin\perl.exe"), or declare this in your environmental variables.
Hope someone else finds this useful.
Michael.
New to ADSelfService Plus?