From a9559eb6ec79295a32267c95678cfb0aafeed45c Mon Sep 17 00:00:00 2001 From: "Zane C. Bowers-Hadley" <vvelox@vvelox.net> Date: Sat, 27 Jul 2024 10:54:19 -0500 Subject: [PATCH] http_access_log_combined: add 300, 426, and 428 response codes and a few POD fixes (#542) --- snmp/http_access_log_combined | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/snmp/http_access_log_combined b/snmp/http_access_log_combined index af7b841a4..dfb8cfc12 100755 --- a/snmp/http_access_log_combined +++ b/snmp/http_access_log_combined @@ -20,7 +20,7 @@ http_access_log_combined --version|-v =head1 SNMPD CONFIG - extend http_access_log_combined /usr/local/etc/snmp/poudriere -b + extend http_access_log_combined /usr/local/etc/snmp/http_access_log_combined -b or if using cron... @@ -28,7 +28,7 @@ or if using cron... 4/5 * * * * root /usr/local/etc/snmp/http_access_log_combined -b -q # snmpd.conf - extend poudriere cat /var/cache/http_access_log_combined.json.snmp + extend http_access_log_combined cat /var/cache/http_access_log_combined.json.snmp =head1 FLAGS @@ -321,6 +321,7 @@ my $data = { '218' => 0, '226' => 0, '3xx' => 0, + '300' => 0, '301' => 0, '302' => 0, '303' => 0, @@ -355,6 +356,8 @@ my $data = { '423' => 0, '424' => 0, '425' => 0, + '426' => 0, + '428' => 0, '429' => 0, '431' => 0, '444' => 0, @@ -430,6 +433,7 @@ foreach my $log_name ( keys( %{ $config->{access} } ) ) { '218' => 0, '226' => 0, '3xx' => 0, + '300' => 0, '301' => 0, '302' => 0, '303' => 0, @@ -464,6 +468,8 @@ foreach my $log_name ( keys( %{ $config->{access} } ) ) { '423' => 0, '424' => 0, '425' => 0, + '426' => 0, + '428' => 0, '429' => 0, '431' => 0, '444' => 0,