Hello all,
I am trying to monitor the status of a door access controller by using a DCI that monitors the status of its web UI as ICMP is blocked. I used the NetworkService.Status and relevant URL, but my DCI goes inactive and does not pull a status code. I have verified that the web page loads on the NetXMS server itself.
Any suggestions?
			
			
			
				Looks like documentation is not clear on this - this metric is collected from NetXMS agent. 
Origin should be set to "NetXMS Agent". 
This DCI should either be on the node where an agent is running, or node with agent should be specified in "Source node override" field. 
Agent that is used should have netsvc subagent enabled. 
			
			
			
				I installed the agent on the server and enabled netsvc subagent. I then specified the server itself as "Source node Override" but it still appears to not be pulling any status codes.
			
			
			
				You can set debug level to 6 on agent, where requests should go through and check agent log. There should be messages like: 
2024.07.22 16:44:06.575 *D* [comm.cs.1250      ] Requesting metric "NetworkService.Status(https://netxms.org)"
2024.07.22 16:44:06.995 *D* [netsvc            ] NetworkServiceStatus_HTTP(https://netxms.org): got reply (807 bytes, response code 302)