10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi,
I am totally a newbie to any programming languages and I just started an entry level job in an IT company. One of my recent tasks is to create a script that is able to show the log file of linux service (i.e. ntpd service)
lets say, if I run my script ./test.sh, the output should be... (3 Replies)
Discussion started by: xiaogeji
3 Replies
2. Infrastructure Monitoring
This morning we had an activity on our Nagios server, whereby we inserted new disks into the server, and rebooted the server.
The disk implementation failed, therefore we had to revoke the changes, and rebooted the server once again.
The server was up and running at 6:00 am this morning.... (2 Replies)
Discussion started by: anaigini45
2 Replies
3. UNIX for Beginners Questions & Answers
I want to write a shell script which is used in cron job and it runs every 4 hours to check whether tomcat servers are running or not . If servers are not running , one email should be triggered like alert notification. if servers are Running then no need to print anything.
This is what i want... (5 Replies)
Discussion started by: kk123
5 Replies
4. Shell Programming and Scripting
Hi guys,
I didn't understand this monitoring script request - I don't ask for the script result.
If you understand the request, I'm just asking an explanation to simplify it for me.
THE Script Request:
Our organization keeps various files in directories structured as... (2 Replies)
Discussion started by: moshesa
2 Replies
5. Shell Programming and Scripting
Hi,
I ned to monitor the tomcat log file called "catalina.out" for "OutOfMemory" ,"java.sql.SQLException" and "Error" error.
the script should monitor this file (catalina.out) and send us the mail as soon as it finds the string "Out of memory" or "java.sql.SQLException" or "Error" in the... (2 Replies)
Discussion started by: mnmonu
2 Replies
6. Shell Programming and Scripting
Im having a bit of troble coming up with a script that does this monitors processes to see if they die, if they do die, restart the process
and write out to a log file that the process was restarted with the new PID and the date and time the new process was launched.
Any suggestions? (1 Reply)
Discussion started by: jspinal
1 Replies
7. Shell Programming and Scripting
Hello Forum,
I have prepared script to monitor the tomcat status. Following is the script which will monitor tomcat instance.I need little modifcation in the script. My script will grep for java,the output of grep command will analyze by if condition under for loop and will
send following echo... (7 Replies)
Discussion started by: coolguyamy
7 Replies
8. Shell Programming and Scripting
Hi,
I want to add an application as a service in Linux(Fedora 12). It should be run always for monitoring my system. It never terminate unless kill it. I wrote this script, put it on /etc/init.d/myapp and added it to run level 2345:
#!/bin/bash
#
# chkconfig: 2345 20 80
# description:... (3 Replies)
Discussion started by: pronetin
3 Replies
9. Shell Programming and Scripting
Hi,
I am new to shell programming,
I would like to write a script which will monitor sendmail service in linux, and if service goes down it will send the mail
can you please suggest me how to monitor the service?
Regards,
Manoj (2 Replies)
Discussion started by: manoj.solaris
2 Replies
10. Shell Programming and Scripting
HI,
I'm new in unix. I would like to know if you have a ready script for monitoring the weblogic and managed servers. I want to have a script that checks the weblogic once in a while if it's up and running. if not running, will send an email to me. any idea?
please help me. i will... (4 Replies)
Discussion started by: tungaw2004
4 Replies