Question

UNKNOWN: Cannot find memory informations

  • 9 February 2024
  • 6 replies
  • 110 views

Badge +3

/usr/lib/centreon/plugins//centreon_cisco_standard_snmp.pl --plugin=network::cisco::standard::snmp::plugin --mode=memory --hostname=x.x.x.x --snmp-version='2c' --snmp-community='Centreon'  --filter-pool='' --warning-usage='80' --critical-usage='90'  --verbose

 

result : UNKNOWN: Cannot find memory informations


6 replies

Userlevel 4
Badge +13

Hallo 😊

It uses the following OID’s

 

https://github.com/centreon/centreon-plugins/blob/develop/src/centreon/common/cisco/standard/snmp/mode/memory.pm#L135-L137

 

https://github.com/centreon/centreon-plugins/blob/develop/src/centreon/common/cisco/standard/snmp/mode/memory.pm#L205-L209

 

https://github.com/centreon/centreon-plugins/blob/develop/src/centreon/common/cisco/standard/snmp/mode/memory.pm#L286-L289

 

Does your device respond to them?

Badge +3

hello ponchoh,

Thank you for your response. I have verified the values of the OID's, and they match.

 

 

Badge +3

i have the same message for CPU

Badge +3

Hi there,

 

I have a similar issue…

On a cisco switch, Centreon is not able to get CPU’s and Memory’s values

What am I missing ?

 

Thanks

Userlevel 4
Badge +13

Hallo,

 

Run the command with --debug and/or do an snmpwalk to see if they are reported by your device.

Badge +3

Heyy

 

So, it was an OSI issue... 8th layer…

 

I ran a

snmpwalk -c <YourCommunity> - <YourVersion> --hostname <NameOfYourHost> | grep "STRING"

 

And I did not notice this :

 

The host I was trying to work on is a Cisco Small Business switch, and I was using Cisco Standard plugin while I should have use Cisco Small Business….

 

Problem solved for me !

 

My bad 👉👈😳

Reply