View Issue Details

IDProjectCategoryView StatusLast Update
0000305My infrastructureGeneralpublic2025-07-06 13:14
Reporterdvl Assigned Todvl  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Summary0000305: What is checking the ports_to_refresh table?
DescriptionWhere is this coming from in the logs?

statement: SELECT count(*) FROM ports_to_refresh WHERE date_added < now() - interval '1 hour';

Not found in ~/scripts or in ~/modules, didn't see it in the database-schema
TagsNo tags attached.

Activities

dvl

2025-07-06 12:59

manager   ~0000386

It's /usr/local/libexec/nagios-custom/check_freshports_ports_to_refresh

It is a Nagios check.

I wonder if that table is used any more.

dvl

2025-07-06 13:13

manager   ~0000387

Commented out this line:

[12:56 dvl-ingress01 dvl /usr/local/etc/nrpe.d] % grep -r ports_to_refresh *
freshports-ingress.cfg:command[check_freshports_ports_to_refresh] = /usr/local/libexec/nagios-custom/check_freshports_ports_to_refresh


Disabled the Nagios check for 1 week

dvl

2025-07-06 13:14

manager   ~0000388

Renamed the table.

[13:00 pg01 dvl ~/tmp] % psql freshports.dvl           
psql (18beta1)
Type "help" for help.

freshports.dvl=# alter table ports_to_refresh rename to delete_me_ports_to_refresh
freshports.dvl-# ;
ALTER TABLE
freshports.dvl=# 

Issue History

Date Modified Username Field Change
2025-07-04 16:52 dvl New Issue
2025-07-04 16:52 dvl Status new => assigned
2025-07-04 16:52 dvl Assigned To => dvl
2025-07-06 12:59 dvl Note Added: 0000386
2025-07-06 13:13 dvl Note Added: 0000387
2025-07-06 13:14 dvl Note Added: 0000388