Build precise queries to find exactly what you need
Press ESC to close
Join our next live webinar: “Advanced Nagios Monitoring Techniques” – Register Now
@Hassib Belhaj
Favorites0
Views
Projects0
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
Reviewed 11 years ago