A few questions regarding Network Services Monitoring

Started by jmgm, December 14, 2012, 07:39:34 AM

Previous topic - Next topic

jmgm

Hello Everybody,

I've installed netXMS on a linux server some days ago and it looks very promising.

However, I have some concerns.

1) I need to monitor http.
I've tried the steps recommended by Victor in this post:
https://www.netxms.org/forum/configuration/web-site-monitoring/

I've choosen the option 1, but I keep getting the service with status unknown.

Do I need to configure the Agent? If this is the case, the agent in the server, or in the remote node? I would like to avoid installing the agent in the remote node and just using snmp/telnet/etc to monitor my services.

2) How am I supposed to do a simple "availability" test over a port? I just want status OK if the port is open an accessible and status PROBLEM if the port is not open/accessible. I also need to do this without installing anything in the monitored node.

before you ask, yes. I'm 100% the aren't firewall issues (tested with telnet) , and the snmp in the monitored node is working (tested with snmpwalk)

I'm running centos 6.3

Best regards, and thanks in advance

Juan



Victor Kirhenshtein

Hi!

You have to load portcheck subagent on agent running on NetXMS server (it could be any other node as well if you need to monitor your service from another point in the network). Just add


SubAgent = portcheck.nsm


to your nxagentd.conf and restart agent.

To do simple connectivity check, create network service object of type "Custom". For testing this type of service, NetXMS just establish TCP connection.

Best regards,
Victor

jmgm

Great Viktor!

Many thanks.

I added
SubAgent = /usr/local/lib/libnsm_portcheck.so

it is the same, right?

Victor Kirhenshtein