04-09-2007
need help about system status report script!!!
hi
i m new to this forum as well as UNIX. I've got an assignment but i don't know how can I start it.
can anyone please help to tell me how can I start it?
I added here few lines from my assignment.
In industry, it is common for a single organisation to provide technical support for a substantial number of UNIX systems distributed across a large geographical area and a number of different companies. This type of support has many complications, one problem is that the company offering support may not have current information on how the UNIX based computers are being used and how they are configured.
A common approach to this problem is for each UNIX machine to contain a shell script that when executed produces a report (a text file) on the current configuration and usage of the machine. This report can then be sent to the organisation responsible for technical support.
In this assignment you are required to write such a script, suitable for use on a Linux (Fedora 5) machine.
When the “system status report” script is invoked the user should be presented with a menu. This will provide a list of options allowing the user to decide what the report should contain. The resultant text file report can be e-mailed or faxed to the technical support team.
I can't understand how can I email or fax this report to technical suppot team and also how can I produce a text report?
please I need all of ur help and I m requesting all of u to help me.
Thank you all
Moco
Last edited by moco; 04-09-2007 at 06:13 AM..
6 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, I am trying to access and read certain lines from a configuration XML file on multiple servers (within the LAN). Fortunately the file name and path is always the same for all servers. An example extract of the file is as follows:
<DUMMY-SMSC>false</DUMMY-SMSC> ... (2 Replies)
Discussion started by: jaz8212
2 Replies
2. Infrastructure Monitoring
I am trying to locate the proper MIB and OID location, to determine if the system attention light is on IBM-702x servers running 5.x.
Currently, we get this on our Blade Centers Management Modules at location: 1.3.6.1.4.1.2.3.51.2.2.8.2.1.1.7.xx were xx is the actual Blade number. A value of 1... (0 Replies)
Discussion started by: stamfdf
0 Replies
3. Shell Programming and Scripting
Hi,
When i use the system( ) function inside a awk, i am getting the ouput with a 0 appended in a new line.
Can someone guide me to eliminate the extra line containing 0.
Ex :
awk -F"|" '{print system("convert.sh" $1}'
The output is displayed with 0 in a new line.
... (8 Replies)
Discussion started by: muruganksk
8 Replies
4. Shell Programming and Scripting
HI
I want to get an e-mail @ my yahoo address when the file system used space gets more than 89% ,
& the message contents must be the outputs of
df -g
errpt
netstat -i
??????? (3 Replies)
Discussion started by: majd_ece
3 Replies
5. Homework & Coursework Questions
1. Edit a script named update.sh that generates status.html in your web directory: ~/public_html/.
I need to write specific commands to show each specific item
2. The generated webpage should include information related to:
UNIX : kernel version of ed-lab server
USER : number of users on the... (13 Replies)
Discussion started by: devinj
13 Replies
6. What is on Your Mind?
Dear All,
Here is the current status of the badging system:
The Beta 1 phase of the new badging system is close to completion.
42 prototype badges have been "allocated"
6 prototype badge slots are held in reserve
The "alert you have new badges" prototype is running and is currently... (4 Replies)
Discussion started by: Neo
4 Replies
LEARN ABOUT DEBIAN
tigexp
TIGEXP(8) Administrator Commands TIGEXP(8)
NAME
tigexp - UNIX Security Checker Explanation Generator
SYNOPSIS
tigexp msgid [msgid[msgid...]]
tigexp [-f|-F] [security_report]
DESCRIPTION
Tigexp is used to generate explanations of the output from the Tiger security checking package. In the first form, tigexp will generate an
explanation of each of the message ids listed. In the second form, the security report specified will be scanned and explanations gener-
ated. The -f option will generate one explanation for each unique message id in the security report, whereas the -F option will output the
security report with explanations inserted after each entry in the report.
There are five different message levels produced by Tiger. Each of the message levels is the last letter of the message id. The levels are:
ALERT A message of this level indicates that Tiger has detected a possible intrusion attempt or troublesome misconfiguration which can
expose the whole system to attacks.
FAIL Messages of this level indicate a violation of a generic security policy or a possible intrusion. Appropriate action should be taken
to fix this security issue.
WARN Messages of this level indicate a security issue which should be checked further and might indicate a probable vulnerability or
exposure. Most Tiger messages appear in this category.
INFO These includes information messages which are not necessarily a security violation but might be useful for the administrator. Note
that the tigerrc configuration file through the Tiger_Show_INFO_Msgs option determines whether or not Tiger shows these items. The
default behaviour is to not show them.
ERROR These messages are errors in the execution of Tiger (or any of its scripts), this is probably due to a misconfiguration in the pro-
gram, because of a problem in the installation or because a file needed for the test is missing. The script who outputs this error
should be investigated further.
CONFIG Messages with this level inform of stages in the configuration process of Tiger. They are not errors (otherwise ERROR would be used)
but notices for the user running the program explaining, for example, which configuration might be used.
OPTIONS
-f Scan the indicated security report and generate explanations of it. One explanation will be generated for each unique message id in
the security report. If the name of a security report is not given, then the report is read from stdin.
-F Output the indicated security report with explanations inserted after each entry in the report. If the name of a security report is
not given, then the report is read from stdin.
FILES
$TIGERHOMEDIR/doc/explain.idx
SEE ALSO
tiger(8)
BUGS
If the explanation index is out of date, it doesn't recognize it and generates junk.
Security 12 August 2003 TIGEXP(8)