Jeff Foster
hi folks,
I know xmatters logs when an active agent goes down or recovers. Is there a way using xmatters to receive notification of these events, or do we need to monitor the AI with something outside of xmatters and then send the alert to a xmatters or say via direct email? I can monitor the agent port or use swatch on the logs, but am hoping for an xmatters built in solution :-) I know also the agent sends health msg, but I want to be alerted when the IA is down.
thanks for any ideas
Jeff Foster
UC Berkeley
0
Comments
Please sign in to leave a comment.
Hey Jeff, I was going to point out the Health Monitor, but sounds like you've already checked that out. It is a process that is part of the IA, but it sounds like you are thinking something from the other end? Something on the xM web server side to say "oh, hey, I haven't heard from that IA in a while... maybe I should inject an event." kind of thing, yea?
hi Travis,
yep, I want to check from the server side, or other monitoring host. I have two solutions, nagios check of port 8081 of the agent hosts or a swatch log check of the log files for agent errors. I was hoping for something in xmatters itself.
I might be way off base here, but could a form be used to check? still getting the form idea understood? btw - we have an on-site install.
thanks again
Well, an onsite install right now gives a bit more flexibility....In theory you could set up a message panel that fires recurring event every x minutes. Then in your action scripts, you make an external service request (http://onlinedocs.xmatters.com/xmatters-dev-guide/5.1/#scriptingreference/scriptobjects/external_service_request_2_object.htm?Highlight=external) to a local IA that checks on the other IAs (probably via http get to 8081) and if everything is ok, terminate the event, if not, then let it through.
I didn't say it would be easy or nice, but that would be possible..... in theory.
However, I do like that idea, can you submit an enhancement request to support@xmatters.com for a server side monitoring and notification of the IA? We are working on the next generation of the IA and I could see that being a valuable item.
If the coding option is too daunting (I don't blame you!) having nagios monitor and then inject an event into the xM web server would get you covered.
well the feature is there already...thanks to Kim Jue at xmatters support for pointing it out.
he said:
"Login to the system as root, and click on Global Configuration. There you can set up Health Monitor Alerts, note that this will likely cause the need to create mail filters on your Outlook to move the health monitors to folders, as you will get messages when users hang up, or if their email bounces, and everything in between. The key notifications that you will want are the Integration Agent Heartbeat Failures."
missed that during setup and log in as root seldom....
it does just what I need.