I have developed a Nagios plugin using Python3 for checking some backups. If I run the script from the client, everything works fine, but when I run it from the Nagios server using NRPE, it doesn't recognize certain regexes. I have tried these regexes and they are fine, so I assume this is a problem between NRPE and Python.
Any suggestions?