NetXMS Support Forum

English Support => General Support => Topic started by: LeonardoKoxa on November 28, 2020, 12:56:48 PM

Title: Monitoring a web service how to enable
Post by: LeonardoKoxa on November 28, 2020, 12:56:48 PM
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

Title: Re: Monitoring a web service how to enable
Post by: Filipp Sudanov on December 02, 2020, 06:36:51 PM
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