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

Bug in the AIX SNMP plugin #5020

Open
StefThomas opened this issue May 7, 2024 · 2 comments
Open

Bug in the AIX SNMP plugin #5020

StefThomas opened this issue May 7, 2024 · 2 comments

Comments

@StefThomas
Copy link
Contributor

StefThomas commented May 7, 2024

Hi,

The SNMP request using the snmpget command is OK:

[centreon-engine@poller~]$ snmpget -c XXX -v 2c aixtserver .1.3.6.1.2.1.25.1.2.0
HOST-RESOURCES-MIB::hrSystemDate.0 = STRING: 2024-5-7,10:53:12.0

But the plugin doesn’t work and shows a strange behavior:

[centreon-engine@poller ~]$ /usr/lib/centreon/plugins//centreon_aix_snmp.pl --plugin=os::aix::snmp::plugin --mode=time --hostname=aixserver --snmp-version='2c' --snmp-community='XXX'  --warning-offset='-5:5' --critical-offset='-10:10' --debug
CRITICAL: Time offset 7200 second(s): Local Time : 2024-05-07T10:53:37 (UTC) | 'offset'=7200s;-5:5;-10:10;;
.1.3.6.1.2.1.25.1.2.0 = ▒
5%
PuTTY[centreon-engine@poller ~]$ PuTTY

Version of the plugin: centreon-plugin-Operatingsystems-Aix-Snmp-20240411-123504.el8.noarch

Version of the Engine:

centreon-engine-23.10.6-1.el8.x86_64
centreon-engine-daemon-23.10.6-1.el8.x86_64 

Version of the broker:

centreon-broker-core-23.10.6-1.el8.x86_64
centreon-broker-23.10.6-1.el8.x86_64
centreon-broker-cbmod-23.10.6-1.el8.x86_64
@lucie-dubrunfaut
Copy link
Contributor

Hello :)

Were you able to reproduce this issue or did it only happen once? Because time mode (ntp) is a standard snmp mode used by many plugins and until now this problem had not been noted. If the problem persists, can you provide us an anonymized .snmpwalk (full snmpwalk of enterprise branch : snmpwalk -ObentU -v 2c -c public address .1.3.6.1.4.1 > equipment.snmpwalk) of your equipment to help us troubleshooting this issue?

@StefThomas
Copy link
Contributor Author

Hi,

I need to upgrade Centreon to the last 23.10 (as the plugin packages) but can’t do it before about 15 days. I’ll then try again. By the way it wasn’t happening only once.

I’ll let you know. Have a nice day.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants