General :: Script To Check Server Health Checkup?
Jul 18, 2010I need a script to check Server health checkup, includes: CPU utilization,process running,utilization taken by processes,free space...
View 2 RepliesI need a script to check Server health checkup, includes: CPU utilization,process running,utilization taken by processes,free space...
View 2 RepliesMy SATA drive started clicking and I was unable to access the data. It was not clicking loudly though, like a drive that has already gone bad. After tightening the connections to the hard drive, it stopped clicking and I was able to access the data again. I have started to move files off of the drive, but I think this drive might still be in good health. I didn't find any data corruption and I haven't had any trouble accessing any files. I have never had an SATA drive fail before so I'm thinking that it could have just been the loose connections that was causing the problem. What tests can I run on this drive to find out how healthy it is?
This is the hard drive in question: HITACHI Deskstar T7K250 HDT722525DLA380 (0A31636) 250GB 7200 RPM 8MB Cache SATA 3.0Gb/s 3.5" Hard Drive -Bare Drive
i have created RAID on EDGE server but when i run this command to check RAID status #megacli -CfgDsply -aALL |less
its shows nothing so how can i come to know whether my RAID is degraded or online also in opsview (monitoring tool) i have enable mega raid its shows ok but DISK showing 0
i have edge server. raid(5) have been installed but not able to check raid health. using command line able to.but using monitoring tool opsview, showing error -NRPE: Unable to read outpumachine Arch- 64 bit centos -5.2
package installed -MegaCli-2.00.15-1.i386.rpm
How do I check the state and health of the laptop battery. In Ubuntu it was just a simple task of clicking on the battery icon on the task bar and your info would come up. With Fedora 13 nothing happens..
View 2 Replies View RelatedI wonder if there is any tool that can read health of my HDD's? There are tons in windows but what options are there in Linux? I would really hope there is a tool a can install without using terminal cause I dont have web access for the Xubuntu right now. If anyone aware of such a tool, preferable a .deb file so I can easily install without hazzle. Also I hope tools like that are not littered with tons of dependencies. Cause those dependencies are a major challenge without online connection. If there exist any smart terminal commands that will let med check health status pls let me know and pls write down the command. I have enabled the s.m.a.r.t in BIOS.
I have 4 drives running Raid 0 if that matters.
I have developed a small website using jspx pages.Now i want to host the website to a server which is a linux machine.The linux machine which i m referring to is already hosting some web pages(jspx) through a web server Which is running at port 8888.My first question would be "How would i check which web server is installed in the server?"Due to my little knowledge about linux machine .I have copied some simple html pages to /var/ www/ html location. The pages are getting accessed correctly on port number 80.But how would i go about hosting jspx pages.
View 13 Replies View RelatedI'm looking for an easy way to check if some server is down, and then act upon it. This check needs to be done from the backup-server. So if the backup-server thinks the production server is down, then in some bash script I want to execute a rule.
My question: what is an easy way to check another server ?
1. I know about Nagios. It's great, but to large to use here.
2. I could ping the server, put a ping that fails does not necessarily mean the server is down.
how can I check the size of file on server in bytes?
i need to do it for following
I need to know what command to use to check whats using all of my ram on my server i use the top command but it doesn't show much information
View 8 Replies View Relatedwhen trying to use "yum install skype" i get this line below No Repositories Available to Set Up
View 1 Replies View RelatedHow to check server usage (process and memory) for last 4months in RHEL5
View 3 Replies View RelatedI need to add something to an existing shell script that will check whether a remote server is up or not.basically (but I can't figure it out) :-
if [ -the server to check- ] ; then
echo "Server is Up"
else
[code]....
A server is described as being "really slow". What are the first couple of things you would check?
View 2 Replies View RelatedI am writing an script for sending emails with ssmtp email client in an appropriate form.I want to know how can I check mail server that I want to send mail to it if it exist and ready to receive email or if not log an error.
View 3 Replies View RelatedI need to check with nagios an oracle database that is located on a server. There are a lot of plugins that are provided, the problem is that the database is located on a remote server (i have an hostaddress) and then i need to log on the database (i have username and pass)So i only need to have a plugin that connects to that hostaddress and logs on, but i can't find any plugin which does that
View 14 Replies View Relatedfrom nmap localhost | grep mysql command i will come to know whether mysql server is running or not.my problem is i want to test whether mysql server is running or not in shell script and if it is running i need to tell the user to stop the server to run the shell script.
View 3 Replies View RelatedI'm trying to check my server's bandwidth usage in real time, installed the following programs but none worked so far.
Iptraf - No results even when using iptraf -u
Tcptrack - Error : pcap_loop: cooked-mode frame doesn't have room for sll header
Iftop - No results, everything 0b
Are there any programs that displays bandwidth usage in real time and actually works on VPSes? Or getting real time bandwidth usage on a VPS is simply impossible?
I was unable to boot my computer because bad blocks in my drive 'appeared' over my current and most used partition, for 9.10. I discovered there were 101 bad blocks on the drive, so I called western digital and had them send me a new one. In the meantime, running fsck on the drive managed to sort out the bad blocks for the time being. The replacement drive arrived on Friday, and since then, I've been trying to clone my current drive to the replacement. Using Clonezilla, I kept getting the error "bad partition table on /dev/sdb". Alright, I tried a bit-by-bit transfer using dd, but for some reason, the transfer fails on the last partition, leaving the replacement drive unbootable. What do you think I should do? Does it sound likethet sent me another faulty drive, or am I just doing something stupid? I've copied my drive before, but ive never had these problems- i just popped in Clonezilla and away it went.
I'm really leary about this drive, I have many important files for school and TONS of music. The school files, I can back up, and the music could be shuffled to another external drive, but I reallydo no want to go through all of the time and effort to move it to a new drive that may already be failing. Does anyone know what I should do? Is there some way to test the 'health' of the drive before I spend hours rebuilding my filesystem?
I have a dell PE1750 server which would not boot up after a power failure. I am thrown to a shell for maintenance after showing an error in file system check. The server was running - Red Hat Enterprise Linux AS release 3 (Taroon). Please let me know if I can try to recover from this error by booting from the 1st CD of a higher version of linux like RHEL5. I ask this because I do not have the old media with which the system was setup. Can the use of latest OS CD cause any problem?
View 2 Replies View RelatedAnyone know a simple command line to check for a specific email - by subject - on an SSL secured IMAP server?
View 2 Replies View RelatedI received the following error when I got home from work today. If this was a windows environment, my first inclination would be to boot off my dvd and then run a chkdsk on the drive to flag any bad sectors that might exist. But there's a complication for me.
Code: Select allThis message was generated by the smartd daemon running on:
host name: LinuxDesktop
DNS domain: [Empty]
The following warning/error was logged by the smartd daemon:
Device: /dev/sdc [SAT], 1 Currently unreadable (pending) sectors
Device info:
WDC WD5000AAKS-65V0A0, S/N:WD-WCAWF2422464, WWN:5-0014ee-157c5db9a, FW:05.01D05, 500 GB
For details see host's SYSLOG.
You can also use the smartctl utility for further investigation.The original message about this issue was sent at Sun Feb 14 13:43:17 2016 MST.Another message will be sent in 24 hours if the problem persists.
From gnome-disks
Code: Select allDisk is OK, 418 bad sectors (28° C / 82° F)
I did a bit of reading and it seems that most people suggest using badblocks to first get a list of badblocks from the drive and save it to a file. Then use e2fsck to then mark the blocks listed in the badblocks file as bad on the hard drive. My problem here is that this drive is part of a RAID5 array that hosts my OS. I wanted to confirm if this was still the correct process.I boot to my Live Debian disk, stop the raid array if it's active. Then run badblocks + e2fsck commands on the drive in question and then reboot.
I have a RHEL5 machine having mysql5.0.22 is installed in it. i also installed java through "jdk-1_5_0_19-linux-i586.bin" package, and its version is 1.5.0_19. I am trying to check if any JDBC driver for Mysql Server is installed on my system . How can I do this? If any driver is already installed How can I get the file path for those driver files? is it comes along with jdk packages? As i am not a programmer, and does't know more about jdbc.
View 1 Replies View RelatedAfter searching the forum I could not find a clear answer to my question so I am giving it a try...
I have installed a LAMP server with Postfix as mail server. The scripts send email as user www-data using the mail server on the same machine.
However, the email got rejected by external mail servers (failed reverse DNS check) so I setup a mail server that meets all needed requirements.
Now I would like to use this second server instead of the mail server on the LAMP server. I found that this could be done with changing sendmail settings in php.ini (I think).
However I am not sure how that will go: www-data is no actual user on the new email server (which requires authentication before sending). Do I need to create a new user on the email server or change the settings in php.ini to match an existing user?
I'm using a linux server where nat server is running. Local user are connected from this server. So is there in tool that i can check that local user getting internet? or how can i check that a user connected from linux server using internet or where he visited?
View 1 Replies View RelatedI would like to implement something when a server is offline for whatever reason. For example. I got my own DNS servers and webservers. I would like it if the users goes to www.somedomain.com and the server it is actually on is down for maint. or For whatever not able to respond. What can be done so that if the server isn't able to be contacted that it can point to either a another server or the dns somehow can display a page stating who to contact to report a problem or to let them know its down for maint. And can goto a site to check the status or whatever.
View 7 Replies View RelatedWe are using axigen with redhat
linux how to check if email server machine doing spamming.
My server OS CentOS release 5.4 (Final). Using Plesk panel 9.2..Server getting down frequently, how to check the log on server. how to find out the reason.
View 9 Replies View RelatedI am using cent os 5. I want to check the activity of my server log files. Like when the service was up or down,what was the time when the server was shutdown and the time when the server was up and its rest of activities etc etc
Code:
# tail �f /var/log/messages
the above code does not show me the full log status
I am trying to control access to a web page, so that, if someone is seeing the page, no one else should be able to see it, and should be redirected to another page.
Right now I am using PHP for the pages, and I have LAMP installed.
Is there a way to do this??