Monitoring a web service how to enable

Started by LeonardoKoxa, November 28, 2020, 12:56:48 PM

Previous topic - Next topic

LeonardoKoxa

Hello to all,
I am trying to monitor an active service on a server on port 80. I have created the newtork service but it does not activate, ie the status is always unknown to me. How can I activate this feature?
and what kind of parameters should I put in the framework screen I create the network service?

thanks


Filipp Sudanov

Service check is performing the checks via NetXMS agent that is installed on NetXMS server. The agent should have portcheck subagent enabled.

But overall service check functionality is old and is not being developed. It's recommended to use netsvc subagent, which is based on curl. It provides Service.Check(URL[, regex]) agent parameter. Here's some information: https://www.netxms.org/documentation/adminguide/service-monitoring.html#netsvc-configuration