Log the output of BASH scripts to a Syslog-like format
Not sure what you are after exactly. Do you want the script results sent to syslog? Do you want the script to send messages to syslog?
There are a few ways of doing this that I can think of off the top of my head.
You can just send a message to the syslog port of your server using net-cat like this:
nc -w0 -u <syslog ip> 514 <<< "SOURCELABEL SYSLOGTAGLABEL This is a message for syslog"
Or you could send the output directly to the logger itself:
echo "This is a test" | logger -i
Is this what you want?
I'm hoping someone can help. For a long time I've been having the computer randomly restart or freeze; especially when backing up my computer to a network drive the computer ...
Is anyone familiar with Microsoft Remote Desktop? I'm referring to the application with the name MSTSC.EXE. I used this years ago at the office to remote into the servers from ...
This isn't a typical hardware post, but I couldn't find anywhere better for it.
Last October, after my previous TV packed in, I bought a shiny new Samsung Smart TV. ...