Hello!
In alertscripts directory, I created a script that should send data to a socket.
But i get an error Ncat: Permission denied.

How to fix this problem?
Thanks!
In alertscripts directory, I created a script that should send data to a socket.
Code:
#!/bin/bash ip="$1" subj="$2" message="$3" to_send="{"subj": "${subj}", "message": "${message}"}" /usr/bin/echo ${to_send} |/usr/bin/ncat ${ip} 3434
How to fix this problem?
Thanks!
Comment