# Workarounds
# workaround for rc 25 bug
# duplicate jobs from gearmand result in exit code 25 of plugins
# because they are executed twice and get killed because of using
# the same ressource.
# Sending results (when exit code is 25 ) will be skipped with this
# enabled.
workaround_rc_25=off
I think we can tackle this problem by setting things right in the orphaned hosts thread:
UNKNOWN - The WMI query had problems. You might have your username/password wrong or the user's access level is too low. Wmic error text on the next line.
[wmi/wmic.c:196:main()] ERROR: Login to remote object.
NTSTATUS: NT_STATUS_ACCESS_DENIED - Access denied
it doesn't make any sense. this account has access to the server. I tried with my own account and same result. but regardless. it also happens with SNMP devices and we only use a community string
another thing that I noticed in a SNMP device with multiple of services of the same type some will have this error and of others won;t
As I mentioned in my previous post - this is almost 100% certainly due to the problems with your gearman configuration. Note the comments from the bottom of the worker.conf file that I posted. I suspect that your checks are taking so long that the work is getting submitted again before the prior check has completed and been returned to the gearman job server, hence the error code 25s as described above. Let's tackle getting your orphans gone and service times down, then I am almost certain this problem will just go away.