Is there a way to make the body of an alert email show the last 10 data points collected for a node's percent CPU Load?
How about for a node's percent Memory used?
Any inputs guys?
Thanks in advance
Is there a way to make the body of an alert email show the last 10 data points collected for a node's percent CPU Load?
How about for a node's percent Memory used?
Any inputs guys?
Thanks in advance
Doable, but I can't think of a way to make it happen in a simple clean way, just some hackish workarounds.
The first thing that comes to mind would be setting up a series of custom sql variables in the alert message that would display the info from the cpuload history table for the node from ~10 min ago, ~20 min ago, ~30, etc
I agree with mesverrum, and I haven't gone out on Thwack and read anything, and it may be hackish, but if you search Thwack for "Ultimate CPU Alert" you may find something. there are several posts and people have been trying to build a cool/better CPU alert. I haven't kept up with the posts (I just know it's out there as a task being tackled) but there may be ideas in them on how to do some of what you're trying to do.
I'm going out on a limb and making an assumption that d09h is hinting at providing a link to the report in the email?
I had a similar request *years* ago with a different product to show the top X processes with high CPU in the CPU alerts so you could know what was contributing to the high CPU issue. I think I got it done (well enough, for awhile), but it seems like "creating a report" or text chart in an alert when the tool doesn't natively support "adding reports to alerts" is painful to support (but it's really cool and useful).
Good luck!
The action is added to the trigger or reset action list, and you can test the action using the Simulate button. When the trigger or reset conditions of the alert are met, an email is sent to the recipients with a PDF generated from the web page.
Use variables to create a URL that changes based on the object that triggers the alert. Click Insert Variable and search for URL to find the all of the variables you can use to create the dynamic URL.
For example, enter ${N=SwisEntity;M=DetailsUrl} in the URL field to email a link to the Details view of the object that triggered the alert. When the email is sent, the variable resolves to a valid URL such as http://myserver/Orion/View.aspx?NetObject=N:3
and the emailcontains the content of the Details view in the body.
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.