Skip to content

[SOLVED] passive service check returns "Service check did not exit properly" #467

Answered by systemdlete
systemdlete asked this question in Q&A
Discussion options

You must be logged in to vote

Heheheh... well, like I said, this is probably something really dumb. (And it did not disappoint this time either!)

So, https://www.naemon.io/documentation/developer/spoolfolder.html shows an example of how to build a spool file. The breakdown of each field and value (thanks Sven!) is below that, and it clearly states that exited_ok must be 1 or naemon will toss the result (which is precisely what is happening). However...

Looking closely at the example spool file again, exited_ok is set to 0, not 1! And this would be the genesis of this discussion thread.

Now, the reason the other services work is because they are passed the value of exited_ok from an external program, whereas this servi…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by systemdlete
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants