CIS229 Term Project
Administrators are faced with supporting many systems, including many different operating systems.
‘One of the many tasks include making sure that security is maintained, and that the system is operating
within acceptable limits. Because of the specific environmental requirements, systems come with
temperature reporting utilities and other controls where information is available to keep track of system
stability. With security monitoring, it was normal to have a milion lines of log activity daily. Of the lines,
maybe 01% was something needing attention. To address the logs, create a web server, where the
filtered logs were assembled and posted. From there, the important information can be viewed.
For this project you will create several scripts that will address several scenarios, and then the output will
e created with html tags, as so the output file can be seen on a web server.
You will need to create the following directories on the linux server, whether the cislinux server, or you
virtual server.
1. /home/YourUserName/public_htmi - the final output of the index.html
2. backup directory: /home/ YourUserName /CIS229
ackup
3. scripts directory: /home/ YourUserName /CIS229/scripts
Example: my folder would be: /home
james/CIS229
You can take a look at my web pages at cislinux.hfcc.edu/~rjames
‘That location co
elates to /home
james/public_htmi/index. html
‘The example project output would be /home
james/public_htmi/index3.html
Requirements. Al of which are viewed on your personal web page.
You need to write instructions on how to use and run your project scripts. The information will
e put in a ile named /home/ YourUserName /CIS229/scripts/READ.ME
Web Page - You are free to develop the webpage as you wish, as long at the items in the report
are logically a
anged on the page. Your page must have as a minimum
i. Title of the report, in larger and bold fonts (h1)
1. The title must include the servers hostname
‘The person username that is running the scripts and dynamic orig
and time in the sub-title (2).
Need to add the cu
ent months calendar before the system information is
added
iv. The body of the report which includes the remaining system information
The footer should include your contact name and email address and be an active
link which will open the default email program upon click.
Keep track of log entries. You must review the proper log to detect any of the following
attempts. You may change the log settings to accommodate any of the requirements.
a. Write a routine that will find the users that logged on the cu
ent day and mention the
time they logged on, and how long they were on the system. Put in columnar format.
Inventory system information. The following information needs to be gathered:
a. System processor: Number of cpu's, the manufacturer. No other information is included.
. Users — output all valid usernames, UserID’s and primary groupiD's in the password file.
‘There should be a tab between each field. All fields should line up on the web page
CIS229 Term Project
c. Groups - output all groups and grouplD’s within the /etc/group file. There should be a
tab between each field. All fields should line up on the web page
d. Active local disk device mount points.
Note: Only physical disk devices (not cd's or DVD's, temp or remote mounts).
e. Once the mounted disk storage devices are determined, report the following:
CIS229 Term Project
c. Groups - output all groups and grouplD’s within the /etc/group file. There should be a
tab between each field. All fields should line up on the web page
d. Active local disk device mount points.
Note: Only physical disk devices (not cd's or DVD's, temp or remote mounts).
. Once the mounted disk storage devices are determined, report the followin
Total and available disk space on the system (TB).
1. Determine total disk space that is mounted and online.
Determine how much disk space is available, overall, for all
f. Total ram and cu
ently available memory (RAM).
5. Crontab - Sending a daily report to your website.
a. The report timin
7 am weekdays
8am on Weekends
‘On the first and third Monday's, the daily report will be sent at 6am. The 7am
eport will NOT be sent on those days.
iv. On the even months, all weekend reports will be sent at 7am. The 8am report
will not be sent on those days.
v. Ifyou are not allowed to create a crontab, make a text file that represents the
time specifications and include it in your submission.
6. Backup - Write a script that will back up the files in the following directories. You will put the files
located in each of the directories, into one single ta
zip fle in the backup directory.
home/ YourUserName /public_html
ii. /home/ YourUserName /CIS229/scripts
. Putthe single backup file in the directory /home/ YourUserName /C15229
ackup.
C. Your backup will have the date created within the file name.
d. Puta note on your webpage that the backup was completed and the daytime it was
completed.
mounts.
Deliverables
a. Your written scripts, crontab, which includes all the requirements, and internal documentation,
uploaded to Moodle. Use tar to bundle all files into one.
. The scripts should have enough internal commenting where someone could figure out what you
are in each operation.
c. The scripts are due on the last regular day of class. Late project submissions will be handled pe
the syllabus.