how to reset the state and attempt count

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 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.

Re: how to reset the state and attempt count

Postby tgriep » Tue Jul 11, 2017 12:18 pm

In Nagios, active checks involve spawning a child process (worker) and would leave behind zombie processes until they're reaped by the parent process (nagios).
Usually this happens very quickly but if nagios is blocking signals, say while in a handler for another signal, they'll stick around for a short while.
Also, if a script is being run by the Nagios process and it never exits, that could be another cause of the Defunct processes.

You may want to upgrade to the latest version of Nagios to see if that helps in the defunct processes.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
Posts: 6081
Joined: Thu Oct 30, 2014 9:02 am

Re: how to reset the state and attempt count

Postby jenithangel » Wed Jul 26, 2017 6:22 am

I was able to make the current attempt to 1 . when we delete the retention.dat and restart nagios,then the current attempt is reset ti 1 irrespective of plugin output.

Thanks for the help. you can close this thread.
Posts: 7
Joined: Mon Jul 10, 2017 7:31 am


Return to Nagios Core

Who is online

Users browsing this forum: Bing [Bot] and 40 guests