popeye

Well-Known Member
May 23, 2013
368
2
68
Texas
cPanel Access Level
Root Administrator
Hi not sure if anyone can help but i keep getting alerts from Pingdom saying my server had been down,
but when i check its still online and just wanted to know if there was any logs on the server that would tell if it had or not ? or what errors if it had.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

Is it stating a specific service was down, or the server in general? You can check the system uptime via the following command:

Code:
uptime
Thank you.
 

quizknows

Well-Known Member
Oct 20, 2009
1,008
87
78
cPanel Access Level
DataCenter Provider
You can check uptime of the server itself with 'uptime' at an ssh prompt, that will show time since the last reboot.

also, the command:

/etc/init.d/httpd status

will show server uptime for apache itself. This should get you a good start.
 

popeye

Well-Known Member
May 23, 2013
368
2
68
Texas
cPanel Access Level
Root Administrator
Got this result below, Pingdom checks http

21:21:56 up 4 days, 19:03, 1 user, load average: 0.23, 0.22, 0.18

root@srv1 [~]# /etc/init.d/httpd status
Not Acceptable

An appropriate representation of the requested resource
/whm-server-status could not be found on this server.

Additionally, a 404 Not Found error was encountered while trying to use
an ErrorDocument to handle the request.
root@srv1 [~]#
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Are you using a third-party web server such as LiteSpeed or Nginx in place of Apache? Do you get the same output when running "/usr/sbin/httpd status"?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome.

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Ok shall i put a link to this thread on the ticket so they can look here save me explaining it all again.
You are welcome to reference this thread. Let us know the ticket number after opening the ticket.

Thank you.
 

HSN-Saman

Member
Jan 11, 2013
16
0
1
cPanel Access Level
DataCenter Provider
You'd better set two or more monitoring sensors with pingdom on different things like ICMP, HTTP, etc - if all of them are showing to be down at once it could be your server' network issues that you need to check with your datacenter about that.

Also if you've firewall don't forget to allow all pingdom IPs so that they won't get blocked.