Page MenuHomeVyOS Platform

Firewall SNMP trap script no longer works
Closed, ResolvedPublicBUG

Description

vyos@edge02# set firewall all-ping enable 
[edit]
vyos@edge02# commit
[ firewall ]
Can't locate SNMP.pm in @INC (you may need to install the SNMP module) (@INC contains: /opt/vyatta/share/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /opt/vyatta/sbin/vyatta-firewall-trap.pl line 30.
BEGIN failed--compilation aborted at /opt/vyatta/sbin/vyatta-firewall-trap.pl line 30.

The root cause is that it requires libsnmp-perl, which is not in vyatta-cfg-firewall dependencies and it only worked because it was installed due to dependencies of vyatta-cfg-system, which were removed when SNMP CLI was rewritten.

Details

Difficulty level
Easy (less than an hour)
Version
1.2.0
Why the issue appeared?
Will be filled on close

Related Objects