Can anyone please advise how to monitor AFX status? Need automated notification for AFX failures.
I assume you intend to use an external monitoring tool.
You can consider checking the AFX status by running the following command:
service afx_server status
or by running an individual command for each of the components:
service afx_server statusafxesb
service afx_server statusafxmq
service afx_server statusafxmmc
Thanks Boris, I'm aware of those individual commands. They're helpful with troubleshooting, but that's not what I'm looking for. The product offers Notification Rules (Admin Errors) options, but I was not able to find anything related to AFX. Notification rules can be set for Collector failures, but not AFX and connectors, is that correct?
Not the most elegant approach, but you could have a custom workflow scheduled to run daily (or other), with a SQL node querying:
select name, status from avuser.t_av_afx_connector;
and then setting a decision node to send an email if status <> 'R' (running i assume) to inform you to further investigate.
If you'd like to take it further you could store the status of each connector in a workflow variable and then include the name and status of each connector to an email template.
select * from (select name as name_1, status as status_1 from avuser.t_av_afx_connector where name ='connector_name_1') connector_1,(select name as name_2, status as status_2from avuser.t_av_afx_connector where name ='connector_name_2') connector_2,(select name as name_3, status as status_3from avuser.t_av_afx_connector where name ='connector_name_3') connector_3;
Thanks Bilal, will have to try 'non elegant approach' since product is not offering anything better.
Retrieving data ...