Skip to main content
Solved

Service Problem - After Upgrade

  • June 14, 2022
  • 12 replies
  • 283 views

Forum|alt.badge.img+3

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.

Best answer by sims24

Thanks for your feedback. A fix has been made: https://github.com/centreon/centreon-plugins/pull/3732 

You can: 

  • Update the Plugin from unstable (will be available in the next minutes) 
  • Wait for the official Plugins and Packs release this Thursday and upgrade from stable. 

Cheers

12 replies

sims24
Forum|alt.badge.img+19
  • Ranger ***
  • June 14, 2022

Hi, 


Could you please tell what plugin you are using when getting this error?

 

 


Forum|alt.badge.img+3
  • Author
  • Steward **
  • June 14, 2022

It’s the Net-Cisco-Standard-QoS-Usage-SNMP template


sims24
Forum|alt.badge.img+19
  • Ranger ***
  • Answer
  • June 14, 2022

Thanks for your feedback. A fix has been made: https://github.com/centreon/centreon-plugins/pull/3732 

You can: 

  • Update the Plugin from unstable (will be available in the next minutes) 
  • Wait for the official Plugins and Packs release this Thursday and upgrade from stable. 

Cheers


Forum|alt.badge.img+3
  • Author
  • Steward **
  • June 14, 2022

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?


sims24
Forum|alt.badge.img+19
  • Ranger ***
  • June 15, 2022

Hi, 

 

You can use this command: 

 

yum update centreon-plugin-Network-Cisco-Standard-Snmp --enablerepo='centreon*unstable*'

 


Forum|alt.badge.img+3
  • Author
  • Steward **
  • June 15, 2022

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


sims24
Forum|alt.badge.img+19
  • Ranger ***
  • June 15, 2022

Hum, what’s your OS ? (cat /etc/os-release)


Forum|alt.badge.img+3
  • Author
  • Steward **
  • June 15, 2022

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"


sims24
Forum|alt.badge.img+19
  • Ranger ***
  • June 15, 2022

One more time 💫🎶🔊

 

yum update centreon-plugin-Network-Cisco-Standard-Snmp --enablerepo='centreon*unstable*'

 

Should be ok now 🤞


Forum|alt.badge.img+3
  • Author
  • Steward **
  • June 15, 2022

Problem solved.

Thanks for your support.

 

Best Regards,

Nuno Alves


sims24
Forum|alt.badge.img+19
  • Ranger ***
  • June 15, 2022

You’re welcome


Forum|alt.badge.img
  • Steward *
  • July 11, 2022

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.