https://assets.nagios.com/downloads/nag ... h-NRPE.pdf
I found this post that is doing it with check_logfiles plugin but I don't think it has all of the logic you're trying to do:
Code: Select all
check_logfiles --tag=orphaned --logfile=/usr/local/nagios/var/nagios.log --warningpattern="looks like it was orphaned"
https://serverfault.com/q/499783
If you'd like us to investigate the system further to see what we can find, pllease create a ticket for this and include a link back to this forum thread so we can get a remote session setup:
https://support.nagios.com/tickets/
Thank you!