After the Upgrade to 21.10 I have one service that stops to work.
I’m receiving this error:
UNKNOWN: Can't locate object method "is_zero" via package "Math::BigInt" at /usr/share/perl5/Math/BigInt.pm line 1198. |
After the Upgrade to 21.10 I have one service that stops to work.
I’m receiving this error:
UNKNOWN: Can't locate object method "is_zero" via package "Math::BigInt" at /usr/share/perl5/Math/BigInt.pm line 1198. |
Hi,
Could you please tell what plugin you are using when getting this error?
It’s the Net-Cisco-Standard-QoS-Usage-SNMP template
Thanks for your feedback. A fix has been made: https://github.com/centreon/centreon-plugins/pull/3732
You can:
Cheers
Hi,
I’m trying to Update the Plugin via Web (Plugin Package) or via ssh (yum update) but I don’t received any update.
Do I need to do anything else to Update the Plugin?
Hi,
You can use this command:
yum update centreon-plugin-Network-Cisco-Standard-Snmp --enablerepo='centreon*unstable*'
Thanks for your help.
I installed the new plugin and now I’m getting this error:
UNKNOWN: Can't locate object method "bdstr" via package "Math::BigInt" at /usr/lib/centreon/plugins//centreon_cisco_standard_snmp.pl line 5174
Hum, what’s your OS ? (cat /etc/os-release)
It’s Centos 7
cat /etc/os-release
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL=https://www.centos.org/
BUG_REPORT_URL=https://bugs.centos.org/
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
One more time
yum update centreon-plugin-Network-Cisco-Standard-Snmp --enablerepo='centreon*unstable*'
Should be ok now
Problem solved.
Thanks for your support.
Best Regards,
Nuno Alves
You’re welcome
Hello,
I have the same issue, after upgrading the plugin pack centreon-plugin-Network-Cisco-Standard-Snmp I got the error
UNKNOWN: Can't locate object method "is_zero" via package "Math::BigInt" at /usr/share/perl5/Math/BigInt.pm line 1198.
After that I updated the plugin by enabling the unstable repo, but still have the same issue.
I’m on centreon 21.04 on Centos 7
Thank you.
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.