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

Jump to navigation Jump to search
m
Text replacement - "^" to "{{deprecated}}"
(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).

Navigation menu