Return code of 255 for service 'CPU Load' on hos

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

Re: Return code of 255 for service 'CPU Load' on hos

Postby dheerushops » Fri Apr 03, 2020 9:19 am

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
dheerushops
 
Posts: 47
Joined: Fri Dec 06, 2019 7:44 am

Re: Return code of 255 for service 'CPU Load' on hos

Postby cdienger » Tue Apr 07, 2020 4:38 pm

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:

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.
User avatar
cdienger
Support Tech
 
Posts: 4436
Joined: Tue Feb 07, 2017 11:26 am

Re: Return code of 255 for service 'CPU Load' on hos

Postby dheerushops » Wed Apr 08, 2020 8:33 am

[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 ~]#
dheerushops
 
Posts: 47
Joined: Fri Dec 06, 2019 7:44 am

Re: Return code of 255 for service 'CPU Load' on hos

Postby dheerushops » Wed Apr 08, 2020 8:38 am

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
dheerushops
 
Posts: 47
Joined: Fri Dec 06, 2019 7:44 am

Re: Return code of 255 for service 'CPU Load' on hos

Postby cdienger » Fri Apr 10, 2020 2:42 pm

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.
User avatar
cdienger
Support Tech
 
Posts: 4436
Joined: Tue Feb 07, 2017 11:26 am

Re: Return code of 255 for service 'CPU Load' on hos

Postby dheerushops » Wed Jun 03, 2020 9:30 am

How to get only CPU Load and Ping alert through email ?
dheerushops
 
Posts: 47
Joined: Fri Dec 06, 2019 7:44 am

Re: Return code of 255 for service 'CPU Load' on hos

Postby dheerushops » Tue Jun 09, 2020 8:01 am

How to get only CPU Load and Ping alerts through email ?
dheerushops
 
Posts: 47
Joined: Fri Dec 06, 2019 7:44 am

Re: Return code of 255 for service 'CPU Load' on hos

Postby dheerushops » Fri Jul 10, 2020 8:45 am

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.
dheerushops
 
Posts: 47
Joined: Fri Dec 06, 2019 7:44 am

Re: Return code of 255 for service 'CPU Load' on hos

Postby dheerushops » Thu Jul 30, 2020 10:34 am

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.
dheerushops
 
Posts: 47
Joined: Fri Dec 06, 2019 7:44 am

Previous

Return to Community Support

Who is online

Users browsing this forum: No registered users and 17 guests