popeye

Well-Known Member
May 23, 2013
364
2
18
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

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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
86
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.
 

cPanelPeter

Technical Analyst III
Staff member
Sep 23, 2013
575
20
143
cPanel Access Level
Root Administrator
Twitter
Hello,

You might also check if pingdom is checking a specific port or if they are using ICMP packets (ping) to check and that you have not recently blocked that via your firewall.
 

popeye

Well-Known Member
May 23, 2013
364
2
18
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

[email protected] [~]# /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.
[email protected] [~]#
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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.
 

popeye

Well-Known Member
May 23, 2013
364
2
18
Texas
cPanel Access Level
Root Administrator
No its running Apache have got Litespeed installed but been disabled for a long time now.

And yes get the same error with /usr/sbin/httpd status
 

cPanelMichael

Technical Support Community Manager
Staff member
Apr 11, 2011
47,911
2,233
363
cPanel Access Level
DataCenter Provider
Twitter
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.
 

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.