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

Make generator error 22 when downloading PICO-IPSEC-FLOW-MONITOR-MIB.txt #1132

Closed
hoanglm187 opened this issue Mar 12, 2024 · 1 comment · Fixed by #1133
Closed

Make generator error 22 when downloading PICO-IPSEC-FLOW-MONITOR-MIB.txt #1132

hoanglm187 opened this issue Mar 12, 2024 · 1 comment · Fixed by #1133

Comments

@hoanglm187
Copy link

Host operating system: output of uname -a

Linux snmp-exporter 5.4.0-172-generic #190-Ubuntu SMP Fri Feb 2 23:24:22 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

What did you do that produced an error?

I run this command to build generator
make generator mibs

What did you expect to see?

The build process must be completed

What did you see instead?

Downloading PICO-IPSEC-FLOW-MONITOR-MIB.txt
curl: (22) The requested URL returned error: 403
make: *** [Makefile:266: mibs/PICO-IPSEC-FLOW-MONITOR-MIB.txt] Error 22

@SuperQ
Copy link
Member

SuperQ commented Mar 12, 2024

Looks like jpn.nec.com is blocking the default curl user agent string.

SuperQ added a commit that referenced this issue Mar 12, 2024
Add a User-Agent flag variable to the generator Makefile.
* Use the User-Agent flag for NEC downloads.

Fixes: #1132

Signed-off-by: SuperQ <superq@gmail.com>
SuperQ added a commit that referenced this issue Mar 17, 2024
Add a User-Agent flag variable to the generator Makefile.
* Use the User-Agent flag for NEC downloads.

Fixes: #1132

Signed-off-by: SuperQ <superq@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants