Issue of Notification "Return code of 255"

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Issue of Notification "Return code of 255"

Postby rlinux57 » Thu Oct 18, 2018 12:05 pm

Hi Team,

Every thing is perfectly configured. But I didn't get the warning, critical email notification of following alerts having such return code "Warning: Return code of 255".

Code: Select all
[1539725415] Warning: Return code of 255 for check of service 'squid' on host 'NODE-06' was out of bounds.
[1539725415] Warning: Return code of 255 for check of service 'NODE_V2' on host 'NODE-06' was out of bounds.
[1539725415] Warning: Return code of 255 for check of service 'Total Processes' on host 'NODE-06' was out of bounds.
[1539725415] Warning: Return code of 255 for check of service 'Total Processes' on host 'NODE-05' was out of bounds.


Regards,
rlinux57
rlinux57
 
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Re: Issue of Notification "Return code of 255"

Postby lmiltchev » Thu Oct 18, 2018 4:53 pm

Did these services go to a HARD non-ok state? Did you check to see if all of the required filtered were passed, so that notifications could be sent?

https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/notifications.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
lmiltchev
QA Manager
 
Posts: 12399
Joined: Mon May 23, 2011 12:15 pm

Re: Issue of Notification "Return code of 255"

Postby cdienger » Thu Oct 18, 2018 4:55 pm

Where exactly do you see these messages? Alerts and notifications should be logged in /usr/local/nagios/var/nagios.log. Do you see the alerts in there and if so, do you see a corresponding notification logged?
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: 3454
Joined: Tue Feb 07, 2017 11:26 am

Re: Issue of Notification "Return code of 255"

Postby rlinux57 » Fri Oct 19, 2018 1:44 am

lmiltchev wrote:Did these services go to a HARD non-ok state? Did you check to see if all of the required filtered were passed, so that notifications could be sent?

https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/4/en/notifications.html



These services not goes to hard state. Although I have set max_attempts and retry_interval is equal to 2. But I didn't get notifications.
rlinux57
 
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Re: Issue of Notification "Return code of 255"

Postby rlinux57 » Fri Oct 19, 2018 1:46 am

cdienger wrote:Where exactly do you see these messages? Alerts and notifications should be logged in /usr/local/nagios/var/nagios.log. Do you see the alerts in there and if so, do you see a corresponding notification logged?


I saw that logs in nagios.log. But notification is not logged against it. Although all the settings of notifications are enabled.
rlinux57
 
Posts: 324
Joined: Mon Dec 08, 2014 12:03 am

Re: Issue of Notification "Return code of 255"

Postby cdienger » Fri Oct 19, 2018 2:29 pm

Please share the configuration files including the nagios.cfg and /usr/local/nagios/etc/objects/. PM them to me and @Nagios Support as they may contain sensitive info.
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: 3454
Joined: Tue Feb 07, 2017 11:26 am


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 17 guests