Difference between revisions of "How to enable ICMP ping for NetXMS server running under non-root account"

From NetXMS Wiki
Jump to navigation Jump to search
(Created page with "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...")
 
m (Text replacement - "^" to "{{deprecated}}")
 
Line 1: Line 1:
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:
{{deprecated}}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
  sudo setcap cap_net_raw=ep /usr/bin/netxmsd


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

Latest revision as of 18:13, 13 September 2022

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).