How to enable ICMP ping for NetXMS server running under non-root account

This Wiki is deprecated and we are are currrently migrating remaining pages into product documentation (Admin Guide, NXSL Guide)

Most modern Linux distributions (with kernel 2.6.24 or higher) support setting capabilities on executable files. NetXMS server uses raw sockets to do ICMP pings. To enable raw socket access for netxmsd use the following command:

sudo setcap cap_net_raw=ep /usr/bin/netxmsd

(replace /usr/bin/netxmsd with actual path to your netxmsd).