Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http_access_log_combined: add 300, 426, and 428 response codes and a few POD fixes #542

Merged
merged 1 commit into from
Jul 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading