Page 1 of 1

AS2 EDI Service Monitoring

Posted: Thu May 16, 2024 3:44 am
by rj-admin2
Hi All,

As part of our EDI system(s), I've been tasked with getting Nagios XI to monitor the AS2 service we use. Has ayone doing this currently that can shed any light on the plugins I could use for this? I see the community has a check_as2 plugin, however this is for OpenAS2 as far as I can tell. Which we do not use. Basically I need to know if the service is up and properly communicating with the backend server. Andy ideas?

TIA.

Re: AS2 EDI Service Monitoring

Posted: Fri May 17, 2024 9:41 am
by swolf
Hi @rj-admin2, thanks for reaching out.

If you only need to know that the service is up and running, you might be able to use plugins that aren't specific to your protocol. AS2 appears to be a protocol on top of HTTP, so you might be able to use check_http or similar to verify that you can connect to the service. Otherwise, you could also install an agent like NCPA or NRPE to and directly monitor the process state to verify that the service is running.

The check_as2 plugin I was able to find is just opening a hard-coded path to parse logs for information. I agree that it probably won't work out of the box for your situation, but you may be able to modify it to work for you if your logs have similar information.

Hopefully that helps - please let me know if anything needs clarification.
-Sebastian