Zammad | run rails to get tickets from a group on console
owner_id = 1 means the ticket is not claimed/ownerless
owner_id = 1 means the ticket is not claimed/ownerless
Get the IP with arping. Then trigger the gateway to retuen you a passkey for a username you can define: Get a list of paired devices from your gateway: Get props of a device: Set devices props:
You wanna report some stuff to nagios the easy way? Try this. Nagios server side: Install netcat. Run a eternal loop script: # while true; do nc -l -p <THE_PORT_YOU_WANNA_LISTEN_TO> >> /var/nagios/rw/nagios.cmd; done& Client side: Install netcat. Drop your info to the NAGIOS server with something like: # echo -e “[$(date +%s)] PROCESS_SERVICE_CHECK_RESULT;<NAGIOSCONFIG_SERVER_NAME>;<NAGIOSCONFIG_SERVICE_NAME>;<RESULT_0_or_1_or_2>;<YOUR_IMPORTANT_MESSAGE>” | nc […]
wkhtmltopdf –enable-local-file-access mbox.html mbox.pdf wkhtmltoimage –enable-local-file-access mbox.html mbox.png
mhonarc -single < mbox > mbox.html
sudo -u userwhowantshismails mailx <<<$(echo “type 1”) It writes a mbox file into this users home. On some systems you should put this user into the unix mail group.
‘protected’ is a custom user object attribute i did add.
Do some setup stuff: s3cmd –configure HINTS: When you are asked for the s3 endpoint, use your hosts (canonical) address YOURHOST instead of s3.amazonaws.com When asked for DNS-style bucket+hostname:port don’t use the suggested %(bucket)s.YOURHOST. Instead specify your bucket like YOURBUCKETs.YOURHOST. Mind the ‘s’ appended to YOURBUCKET! Your credentials and settings will be stored in .s3cmd. […]
# systat -d 2 cpu 5 | tail -n 1 | grep ‘%’ | awk ‘{print $6}’| sed ‘s|%||’ # systat -d 2 ifstat 1
You must be logged in to post a comment.