Description of problem: When I try to run check_postgres I have this error "Cannot find Time::HiRes, needed if 'showtime' is true at /usr/bin/check_postgres.pl line 2009." Due to the fact that perl-Time-HiRes.x86_64 is not installed, and is not in the Requires of the package Version-Release number of selected component (if applicable): check_postgres-2.25.0-4.el9.noarch How reproducible: Every Time Steps to Reproduce: 1. Run check_postgres and connect to postgres 2. 3. Actual results: This error and fail to connect "Cannot find Time::HiRes, needed if 'showtime' is true at /usr/bin/check_postgres.pl line 2009." Expected results: Connect to the database Additional info:
Also a good improvement maybe to put the plugin in /usr/lib64/nagios/plugins