Server Management - Systems Insight Manager
1833589 Members
4161 Online
110061 Solutions
New Discussion

Re: Is there a way to email alert on system unreachable more than once?

 
SOLVED
Go to solution
Dana Swanson
Regular Advisor

Is there a way to email alert on system unreachable more than once?

Hi Everyone,

Since only one event is sent out by default for system unreachable they may get overlooked.

Is there a way to create a nag email every hour the system was detected as unreachable until the server is back up or removed from the hpsim database?

I've been reading the past posts on this issue and understand the system unreachable alert is generated from the hardware polling ping command.

Would it make a difference if I created a new hardware polling job to ping the systems every hour? Or would only one alert be generated still?

Thanks!

Dana
4 REPLIES 4
David Claypool
Honored Contributor
Solution

Re: Is there a way to email alert on system unreachable more than once?

Is there a menu item that you can find to do this? No. Is there a way to do it? Yes.

What I would do is set up a report and query that has the important information on it and selects the critical systems. Then you can create a script that uses the mxreport command from HP SIM to run the report and output the result to a file. Then the script could call a command-line email client (Google for that and you can select one that appeals to you).

Finally, you can schedule this script to run at your selected frequency using the operating system's facilities such as 'at' in Windows or 'cron' in *nix.

I would suggest that you need to have a discipline internally to move systems to suspend status when you know that they are down and it's going to take a while to restore service so that the report is kept to a minimum number of systems that truly need attention.
Dana Swanson
Regular Advisor

Re: Is there a way to email alert on system unreachable more than once?

I've been coding some vbscript lately. I think I could write something that reads through a csv and generates a email alert with blat.exe.

Thanks!
David Claypool
Honored Contributor

Re: Is there a way to email alert on system unreachable more than once?

You shouldn't have to do anything fancy. Using mxreport you can output a report in HTML that is associated with a query of systems=critical and then attach that HTML to an email. If you want to send to a messaging device and want it to be small, just capture the output of mxquery which will only be the systems names. HP SIM can do the work for you, keeping your script pretty simple...
Dana Swanson
Regular Advisor

Re: Is there a way to email alert on system unreachable more than once?

Hi Dave,

That sounds much easier than what I was thinking. Maybe I can create a collection of systems with bad hard drives and really nag people on that one and less so on other issues.

Thanks!