Bug 2414794 - Dependency not in Requires:
Summary: Dependency not in Requires:
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: check_postgres
Version: epel9
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Devrim Gündüz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-11-13 10:07 UTC by Nuno Dias
Modified: 2025-11-13 10:29 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nuno Dias 2025-11-13 10:07:57 UTC
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:

Comment 1 Nuno Dias 2025-11-13 10:29:47 UTC
Also a good improvement maybe to put the plugin in /usr/lib64/nagios/plugins


Note You need to log in before you can comment on or make changes to this bug.