Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Thanks, very useful script.
I have has a small problem with it on older Linux systems. in the SRCDIR definition:
os.path.dirname() does not return a full path if sys.argv[0] doesn’t contain one, which result in an error. (This is the case on some systems, like older versions of CentOS).
replacing it with the following:
SRCDIR = os.path.abspath(os.path.dirname(sys.argv[0]))
would solv the problem and be more robust.
Regards