General :: Check Another Server - If Down Then Do Something
Oct 18, 2010
I'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.
View 6 Replies
ADVERTISEMENT
Mar 25, 2010
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 Related
Aug 19, 2010
how can I check the size of file on server in bytes?
i need to do it for following
View 1 Replies
View Related
Jul 30, 2011
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 Related
Jan 13, 2011
when trying to use "yum install skype" i get this line below No Repositories Available to Set Up
View 1 Replies
View Related
Mar 26, 2010
How to check server usage (process and memory) for last 4months in RHEL5
View 3 Replies
View Related
Sep 10, 2010
I 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]....
View 12 Replies
View Related
Aug 19, 2010
A server is described as being "really slow". What are the first couple of things you would check?
View 2 Replies
View Related
Jul 18, 2010
I need a script to check Server health checkup, includes: CPU utilization,process running,utilization taken by processes,free space...
View 2 Replies
View Related
May 8, 2011
I 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 Related
May 4, 2011
I 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 Related
Apr 27, 2009
from 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 Related
Mar 21, 2010
I'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?
View 5 Replies
View Related
Apr 19, 2010
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 Related
Feb 1, 2011
Anyone know a simple command line to check for a specific email - by subject - on an SSL secured IMAP server?
View 2 Replies
View Related
Oct 4, 2010
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 Related
Jun 7, 2010
After 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?
View 1 Replies
View Related
Nov 12, 2010
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 Related
Mar 9, 2011
I 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 Related
Apr 28, 2010
We are using axigen with redhat
linux how to check if email server machine doing spamming.
View 3 Replies
View Related
Sep 8, 2010
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 Related
Mar 14, 2011
I 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
View 3 Replies
View Related
May 5, 2011
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??
View 2 Replies
View Related
May 26, 2011
I have a service the uses Mono to check in with a SQL server at a set interval. For some reason in 11.04 The service is only able to run for a short period of time without crashing. This service worked/works perfect in all previous versions. Any ideas as to what could have possibly changed? I'm really just looking for ideas on what to check.
View 3 Replies
View Related
Jul 27, 2011
does any one knows how can I test CPU in Red Hat ? Is there any tools to check if CPU working correctly ?
View 8 Replies
View Related
Jul 23, 2011
I need to check my mailboxes for errors. My imapd has permanent errors, it periodically crashes. I think that the problem will be with some errors which was created when I converted my previous maildirs to mailboxes.
It is possible to check the integrity of these mailboxes with some command or script?
View 1 Replies
View Related
Apr 18, 2010
I have a server running ESXi. I want to know if it supports AMD-V for hardware-based virtualization. Is there any way to check it from one of the guest os running (centos 5).
Also, I tried rebooting the box and I can't see an option in the bios to turn on/off Virtualization. Although from Asus site they say it supports is:
[URL]
The motherboard is an ASUS KFN4-DRE and has 2 Dual Opteron 2216 2.4GHz processors.
Also, on a side note, I have another box with HDAMA board and 2 Dual Opteron 275s. Do these support AMD-V as well? No option in bios as well.
View 3 Replies
View Related
Sep 26, 2010
Code:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 50G 47G 602M 99% /
How to find why Avail space shows only 602M?
View 8 Replies
View Related
Aug 26, 2010
I want to check , whether ethernet bonding is done in a few linux boxes running on RHEL5 and freebsd . am using the following command to check them as well.
Code:
Is it ok , or is there any other place i need to look for ?
View 2 Replies
View Related
Sep 27, 2010
I am using this command (inside a bash script) to check if mailserver is running correctly (port 25)
# echo | telnet localhost 25 | grep "Connected to "
If it does not respond I receive an email alter.
It works good , but sometime it NEVER respond (neither after 1 hour) , so I receive no notification . DO you know alternative command to the command above ?
View 1 Replies
View Related