Skip to content

Commit

Permalink
http_access_log_combined: add 300, 426, and 428 response codes and a …
Browse files Browse the repository at this point in the history
…few POD fixes (#542)
  • Loading branch information
VVelox authored Jul 27, 2024
1 parent d83ec41 commit a9559eb
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions snmp/http_access_log_combined
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ 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...
# 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
Expand Down Expand Up @@ -321,6 +321,7 @@ my $data = {
'218' => 0,
'226' => 0,
'3xx' => 0,
'300' => 0,
'301' => 0,
'302' => 0,
'303' => 0,
Expand Down Expand Up @@ -355,6 +356,8 @@ my $data = {
'423' => 0,
'424' => 0,
'425' => 0,
'426' => 0,
'428' => 0,
'429' => 0,
'431' => 0,
'444' => 0,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a9559eb

Please sign in to comment.