Getting Critical for HTTP:
HTTP
CRITICAL 04-03-2020 09:03:36 8d 4h 12m 32s 4/4 connect to address 66.248.241.245 and port 80: Connection refused
Return code of 255 for service 'CPU Load' on hos
-
- Posts: 47
- Joined: Fri Dec 06, 2019 7:44 am
Re: Return code of 255 for service 'CPU Load' on hos
What is the full plugin command for this check?
It looks like either the server isn't listening on port 80 or something is blocking the connection for the Nagios server to the webserver.
Does a curl work from the Nagios server if you run:
?
It looks like either the server isn't listening on port 80 or something is blocking the connection for the Nagios server to the webserver.
Does a curl work from the Nagios server if you run:
Code: Select all
curl -v 66.248.241.245
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 47
- Joined: Fri Dec 06, 2019 7:44 am
Re: Return code of 255 for service 'CPU Load' on hos
[root@nagiosserver ~]# curl -v 66.248.241.245
* About to connect() to 66.248.241.245 port 80 (#0)
* Trying 66.248.241.245... Connection refused
* couldn't connect to host
* Closing connection #0
curl: (7) couldn't connect to host
[root@nagiosserver ~]#
[root@nagiosserver ~]#
[root@nagiosserver ~]# ping 66.248.241.245
PING 66.248.241.245 (66.248.241.245) 56(84) bytes of data.
64 bytes from 66.248.241.245: icmp_seq=1 ttl=64 time=0.223 ms
^C
--- 66.248.241.245 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 921ms
rtt min/avg/max/mdev = 0.223/0.223/0.223/0.000 ms
[root@nagiosserver ~]#
* About to connect() to 66.248.241.245 port 80 (#0)
* Trying 66.248.241.245... Connection refused
* couldn't connect to host
* Closing connection #0
curl: (7) couldn't connect to host
[root@nagiosserver ~]#
[root@nagiosserver ~]#
[root@nagiosserver ~]# ping 66.248.241.245
PING 66.248.241.245 (66.248.241.245) 56(84) bytes of data.
64 bytes from 66.248.241.245: icmp_seq=1 ttl=64 time=0.223 ms
^C
--- 66.248.241.245 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 921ms
rtt min/avg/max/mdev = 0.223/0.223/0.223/0.000 ms
[root@nagiosserver ~]#
-
- Posts: 47
- Joined: Fri Dec 06, 2019 7:44 am
Re: Return code of 255 for service 'CPU Load' on hos
httpd service is inactive. We started httpd service.
But still we are getting Warning alert . Can you please check.
HTTP
WARNING 04-08-2020 08:23:36 0d 0h 0m 48s 4/4 HTTP WARNING: HTTP/1.1 403 Forbidden - 4299 bytes in 0.003 second response time
But still we are getting Warning alert . Can you please check.
HTTP
WARNING 04-08-2020 08:23:36 0d 0h 0m 48s 4/4 HTTP WARNING: HTTP/1.1 403 Forbidden - 4299 bytes in 0.003 second response time
Re: Return code of 255 for service 'CPU Load' on hos
It looks like the server is responding with a '403 Forbidden' message. Do you want to see a CRITICAL instead of WARNING or are you expecting this request to be successful?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
- Posts: 47
- Joined: Fri Dec 06, 2019 7:44 am
Re: Return code of 255 for service 'CPU Load' on hos
How to get only CPU Load and Ping alert through email ?
-
- Posts: 47
- Joined: Fri Dec 06, 2019 7:44 am
Re: Return code of 255 for service 'CPU Load' on hos
How to get only CPU Load and Ping alerts through email ?
-
- Posts: 47
- Joined: Fri Dec 06, 2019 7:44 am
Re: Return code of 255 for service 'CPU Load' on hos
We have configured SMTP server with nagios server. We have to set the notifications alerts to one email for CPU alert only. Can you please tell us the steps.
-
- Posts: 47
- Joined: Fri Dec 06, 2019 7:44 am
Re: Return code of 255 for service 'CPU Load' on hos
We have configured SMTP server with nagios server. We have to set the notifications alerts to one email for CPU alert only. Can you please tell us the steps.