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
hobbit-confreport.cgi
HOBBIT-CONFREPORT.CGI(1) General Commands Manual HOBBIT-CONFREPORT.CGI(1)
NAME
hobbit-confreport.cgi - Xymon Configuration report
SYNOPSIS
hobbit-confreport.cgi
DESCRIPTION
hobbit-confreport.cgi is invoked as a CGI script via the hobbit-confreport.sh CGI wrapper.
hobbit-confreport.cgi provides a plain HTML (Web) report of the Xymon configuration for a group of hosts; which hosts are included is
determined by the hosts available on the webpage from where the CGI script is invoked.
The configuration report include the hostnames, a list of the statuses monitored for each host, and if applicable any configuration set-
tings affecting these. Alerts that may be triggered by status changes are also included.
The report is plain HTML without any images included, and therefore suitable for inclusion into e-mails or other documents that may be
accessed outside the Xymon system.
OPTIONS
--critical
Report only on the statuses that are configured to show up on the Critical Systems view.
--old-nk-config
Use the deprecated NK tag in bb-hosts to determine if tests appear on the Critical Systems view.
--env=FILENAME
Loads the environment defined in FILENAME before executing the CGI script.
--area=NAME
Load environment variables for a specific area. NB: if used, this option must appear before any --env=FILENAME option.
--debug
Enables debugging output.
BUGS
Client-side configuration done in the hobbit-clients.cfg(5) is not currently reflected in the report.
Critical Systems view configuration is not reflected in the report.
SEE ALSO
bb-hosts(5), hobbit-alerts.cfg(5), hobbit-clients.cfg(5), xymon(7)
Xymon Version 4.2.3: 4 Feb 2009 HOBBIT-CONFREPORT.CGI(1)