I'm monitoring a few https url and need to configure email notifications when websites are down. I'm using Service Performance Manager http tests for testing.
The problem is when I need send emails for one url to one person and for other url - to other person. I can't find where to set filter from which url alarm comes.
Hello, can you please provide some more information on how you are configuring these https tests?
Are you using Spectrum or eHeatlh?
You can make a monitor OID within sysedge and call an action file to evaluate this down trap to send your email.
monitor oid <oid> <index> <flags> <interval> <stype>[/<scale>] <oper> <thresh> ['<descr>' ['<action>' ['<objClass>' '<objInst>' '<objAttr>' <severity>]]]
The Action file (powershell, or Shell script, etc..) Could make use of SMTP to send an email or sysedges email.exe. So it is accomplish able within systemedge.
Systemedge has a built in utility which has some email ability you may want to review the SystemEDGE/bin/email.exe which in its usage line,
email.exe [-v] [-s (stdin)] [-r smtp-server] [-xhdrf filename] source-addr dest-addr[,dest-addr] 'subject' 'message'
Actions are very powerful and can be done based on an event.
If this could be of use as a possible soloution, please let me know and if you would like further details.
Sorry just to add to this in-case I left out a few details.
When you create a svcrsp test (a plugin to sysedge). You specify the index, The index falls under the main svcrsptable,
The table has attributes and OIDS.
The error code returned by the test. The values are specific to
each test type. When possible, the standard numeric error codes
for each test will be used (e.g. HTTP 404).
So assuming you created a svcrsp for a website under index 53
You could create a monitor OID (see above post) for the 22.214.171.124.4.1.5126.96.36.199.1.39.53 with an appropriate operator like not equal 200 to perform the action of email.exe and pass the arguments of who you want to mail, etc... For another test / site you can do the same, for a different site and if needed with the separate arguments for a different email user.
* Just a side note Actions typically occur at every state change so there is usually a script written along with the action to evaluate the automatically passed argument of the trap type. So you may want to take a review of the below tech doc.
Hopefully this adds/clarifies my above post.
adrijus.makuska, As BrianFlad was alluding to this might best be done on the manager side... If you can confirm your manager and version we can loop in the appropriate resources so we can get you the info you need to resolved this problem.
Otherwise you could use Self Monitors and Actions within the sysedge agent as mentioned by Charles_Lilienkamp
Please let us know if you still require assistance with this problem.