07-27-2005
Help: Unix Monitoring Script
guys,
i am creating a script to monitor our sun solaris unix server and email me the result of the script. currently, i am using the prtdiag -v command in the script to diagnose the hardware specs of the server. any suggestions on what else could i add like disk monitoring (using df)...
thanks.
-maztahvoodoo
9 More Discussions You Might Find Interesting
1. Infrastructure Monitoring
I need some monitoring tools for SCO 7.1.4
Does anybody reccomend some software that I can install to monitor mem leaks and odd SAR values etc (2 Replies)
Discussion started by: trebor1
2 Replies
2. UNIX for Advanced & Expert Users
Guys, I would like to know who are using monitoring tools? I use Nagios before but it seems is more on Linux and Windows platform.
- Nagios
- BigBrother
- BigSister
- Cacti
- MRTG
- JFFNMS
- anymore? Please give comment too
I would like to have some comment on UNIX monitoring tools.... (2 Replies)
Discussion started by: dwarf007
2 Replies
3. Shell Programming and Scripting
Is there a script which monitors a specific port and tells whethers its listening
basically i am looking for a script which we can hardcode the port number there and hardcode an email address. It should alert to the email if the port is down.
any idea.?plz (5 Replies)
Discussion started by: tintedwindow
5 Replies
4. UNIX for Dummies Questions & Answers
In the vmstat , there are many columns you can see. Can someone tell me what is the most important column that i
need to be watched on, and what value or average value should i watch inorder to determine that im experiencing
a cpu bottle neck. What should be my basis.
or if you use glance
... (2 Replies)
Discussion started by: kaibiganmi
2 Replies
5. Shell Programming and Scripting
hi friends,
I am trying to automate the daily monitoring process of UNIX server and it's processes. the script are below
i executed the above script using ksh -x monitortest1.sh in root login . It shows error at some lines .
1. i logged in using root ,but it... (8 Replies)
Discussion started by: rdhaprakasam
8 Replies
6. Infrastructure Monitoring
Hi,
I am relatively new to Unix. Today I have attended an interview and they asked me below questions
(a)How do you monitor Unix system?
(b)How do you know every thing is working fine?
(c)How do you know if there are any bottle necks?
(d)How do you know if any process is hanging and draining... (5 Replies)
Discussion started by: krdblc
5 Replies
7. Solaris
Hi All,
I want to monitor threads of specific processes in mysql in Solaris 10.
Is there any command to do it? (1 Reply)
Discussion started by: rohitmahambre
1 Replies
8. Shell Programming and Scripting
Hi All,
Its urgent.. pls help me out.. I want to create a KSH which should generate a report with the list of users and the files larger than 5 GB created by them in a direcorty and send autogenerated e-mail to them.
my input would be users list,directory path and the file size (say 5 GB)
... (11 Replies)
Discussion started by: anman0523
11 Replies
9. Shell Programming and Scripting
Hi,
I have been working on writing an automated script that will run 24x7 to monitor the performance parameters like CPU,Memory,Disk I/O,Network,SWAP Space etc for all types of Unix servers ( HP-UX,AIX,SOLARIS,LINUX).
Problem is I am confused with the commands top,prstat,vmstat,free,sar etc.... (4 Replies)
Discussion started by: ssk250
4 Replies
LEARN ABOUT DEBIAN
script-email
SCRIPT-EMAIL(8) System Administration Commands SCRIPT-EMAIL(8)
NAME
script-email - Amanda script to send email notifications
DESCRIPTION
script-email is an Amanda script implementing the Script API. It should not be run by users directly. It sends a notification email to the
addresses specified in the MAILTO property.
PROPERTIES
This section lists the properties that control script-email's functionality. See amanda-scripts(7) for information on the Script API,
script configuration.
MAILTO
List of email addresses that will receive an email on command execution. It is a multi-valued property:
property "MAILTO" "amanda@domain.com" "sysadmin@domain.com" "amandauser@domain.com"
EXAMPLE
In this example, script-email is scheduled to be run before the DLE, on the server. The unqualified email address amanda will be passed to
the email system unchanged. The script is then attached to a dumptype, which can then be specified for any DLEs which require
notification.
define script-tool pre-email {
comment "email me before this DLE is backed up"
plugin "script-email"
execute-on pre-dle-backup
execute-where server
property "mailto" "amanda"
}
define dumptype user-tar-email {
user-tar
script "pre-email"
}
SEE ALSO
amanda(8), amanda.conf(5), amanda-client.conf(5), amanda-scripts(7)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHORS
Jean-Louis Martineau <martineau@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Dustin J. Mitchell <dustin@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.1 02/21/2012 SCRIPT-EMAIL(8)