10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
The script below works okay and emails me the log in the end once the script completes but what I'm trying to do is to also notify me via an email as soon as the script encounters any error whatsoever.
hdisk0 00a6351a2c832da1 rootvg ... (7 Replies)
Discussion started by: mbak
2. Shell Programming and Scripting
I am trying to write a shell script that will notify via email if a particular service is down. What I have so far is a script in cron like his:
And the output of the above is
52988 TaskControllerService... (5 Replies)
Discussion started by: fretagi
3. Shell Programming and Scripting
I've come across a bit of a problem with notify-send syntax; and wondered if anyone out there had found a solution in the woodpile somewhere :)
Here's the snippet which is giving me trouble:notify-send 'Text to display' image_data 300, 300, , , , , /etc/image.pngOutput:Invalid... (0 Replies)
Discussion started by: LinQ
4. Shell Programming and Scripting
I have script which gives below output.
Server clustServer11 is in a STARTED state
Server clustServer12 is in a STOPPED state
Server clustServer21 is in a STOPPED state
I would like to prepare script which will grep stop word from the above output and send an email alert. (5 Replies)
Discussion started by: coolguyamy
I'm writing to you because I encountered the following problem. My program displayes all network interfaces that are available in the system, but I would like to add a functionality in which a user can enter a destination address IP (ex. the IP address of the Google search engine) and will... (1 Reply)
Discussion started by: foxrafi
6. UNIX for Dummies Questions & Answers
I need to tail -f a file so I can monitor it as it is being written to. However, there is a lot of garbage in the file that I don't care about. So normally I would just pipe and grep for the string that is important to me. However, in this case, there are two things I need to grep for. I can't... (3 Replies)
Discussion started by: Silver11
7. Shell Programming and Scripting
I am having a little trouble getting notify-send to work the way I would like it to.
I am using ubuntu - karmic koala 2.6.31-19-generic #56-Ubuntu SMP
So here's the problem
run the following commands one after the other.
notify-send -i info -t 100000 -- "Hi" "world" &
notify-send -i... (3 Replies)
Discussion started by: linuxpenguin
8. Shell Programming and Scripting
I am writing a shell script that checks catalina logs on a production system and mails me if it detects errors.
It greps the logs for known errors which i have defined as variables.
The problem is the logs are huge, approx 30,000 before they rotate.
So I am forced to use grep instead... (3 Replies)
Discussion started by: Moxy
9. Shell Programming and Scripting
I am trying to write a ksh script that it should notify in case there is no response from the other script. I mean to say that I got a.sh and b.sh
the execution of b.sh depends on a.sh, so if there is no response from a.sh,
b.sh should notify me about the same.
Thanks in Advance (4 Replies)
Discussion started by: rajusa10
10. UNIX for Dummies Questions & Answers
I've a question about MINIX OS.
1 - I would like to log the messages that user or kernel process send to each other through the system call send, recv, sendrec and notify.
Since MINIX is a microkernel OS, I suppose that the best way is to have an TCP socket, listening in INADDR_ANY... (0 Replies)
Discussion started by: pedrosacosta
nsd-notify(8) nsd 3.2.12 nsd-notify(8)
nsd-notify - program to send NOTIFY's to remote nameservers.
nsd-notify [-4] [-6] [-h] [-a address[@port]] [-p port] [-y key:secret[:algorithm]] -z zone servers
Nsd-notify is simple program to send NOTIFY's to remote nameservers. NSD is a complete implementation of an authoritative DNS nameserver.
-4 Only send to IPv4 addresses.
-6 Only send to IPv6 addresses.
-h Print help information and exit.
Specify the source address (and port) to send from.
Specify the port to send to.
Specify a TSIG key and base64 encoded secret to sign the notification with. If the TSIG algorithm is not defined, MD5 is used.
z zone Specify the zone to notify about.
List of nameservers to send to.
To run this program the standard way type:
# nsd-notify -z foobar.cz 18.104.22.168
nsd(8), nsdc(8), nsd.conf(5), nsd-checkconf(8), nsd-patch(8), nsd-xfer(8), zonec(8)
NSD was written by NLnet Labs and RIPE NCC joint team. Please see CREDITS file in the distribution for further details.
NLnet Labs jul 19, 2012 nsd-notify(8)