View Issue Details

IDProjectCategoryView StatusLast Update
0000250My infrastructureGeneralpublic2024-10-29 21:21
Reporterdvl Assigned Todvl  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0000250: add nagios checks to ensure schedules generated by pgeu_system load for pgcon/bsdcan
Descriptione.g. https://www.pgcon.org/events/pgcon_2020/schedule/session/25-diy-database-index/
TagsNo tags attached.

Activities

dvl

2024-10-22 00:35

manager   ~0000337

Try this:

[0:34 webserver dvl /usr/local/libexec/nagios] % ./check_http -H bsdcan.langille.org -I bsdcan.langille.org -u /events/bsdcan_2023/schedule/session/144-configuration-management-solutions-for-freebsd-systems-administrators/ --sni -p 443 -f follow -4 -A 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15' -U -vvv -S 2

dvl

2024-10-27 12:56

manager   ~0000338

This works too (some parameters removed):

[12:55 webserver dvl /usr/local/libexec/nagios] % ./check_http -H bsdcan.langille.org -I bsdcan.langille.org -u /events/bsdcan_2023/schedule/session/144-configuration-management-solutions-for-freebsd-systems-administrators/ --sni -p 443 -f follow -4 -S 2
HTTP OK: HTTP/1.1 200 OK - 4604 bytes in 0.131 second response time |time=0.130924s;;;0.000000 size=4604B;;;0

dvl

2024-10-27 12:58

manager   ~0000339

This also works, without -H. Removing -I did not work.

[12:57 webserver dvl /usr/local/libexec/nagios] % ./check_http -I bsdcan.langille.org -u /events/bsdcan_2023/schedule/session/144-configuration-management-solutions-for-freebsd-systems-administrators/ --sni -p 443 -f follow -4 -S 2
HTTP WARNING: HTTP/1.1 404 Not Found - 348 bytes in 0.174 second response time |time=0.174425s;;;0.000000 size=348B;;;0

dvl

2024-10-27 12:59

manager   ~0000340

It might be implemented like this:

./check_http -H -I $ARG2 -u $ARG2 --sni -p 443 -f follow -4 -S 2

Call the new command

check_url4

Issue History

Date Modified Username Field Change
2024-10-17 12:22 dvl New Issue
2024-10-17 12:22 dvl Status new => assigned
2024-10-17 12:22 dvl Assigned To => dvl
2024-10-22 00:35 dvl Note Added: 0000337
2024-10-27 12:56 dvl Note Added: 0000338
2024-10-27 12:58 dvl Note Added: 0000339
2024-10-27 12:59 dvl Note Added: 0000340
2024-10-29 21:21 dvl Status assigned => resolved
2024-10-29 21:21 dvl Resolution open => fixed