lausser / check_nwc_health

nwc = network component. This plugin checks lots of aspects of routers, switches, wlan controllers, firewalls,.....
http://labs.consol.de/nagios/check_nwc_health
GNU General Public License v2.0
150 stars 87 forks source link

C3850 - check_nwc_health - memory-usage #114

Open snoep opened 8 years ago

snoep commented 8 years ago

When applying this check to a C3850, the result is OK, instead of the actual memory usage. C3850 running 3.3.5 or higher.

What do I need to do in order to fix this?

Thanks Paul

lausser commented 8 years ago

Add „-vvvvvvvvvvvv“ and you will see which oids the plugin tries to read.

Von: snoep [mailto:notifications@github.com] Gesendet: Samstag, 5. November 2016 12:24 An: lausser/check_nwc_health check_nwc_health@noreply.github.com Betreff: [lausser/check_nwc_health] C3850 - check_nwc_health - memory-usage (#114)

When applying this check to a C3850, the result is OK, instead of the actual memory usage. C3850 running 3.3.5 or higher.

What do I need to do in order to fix this?

Thanks Paul

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lausser/check_nwc_health/issues/114 , or mute the thread https://github.com/notifications/unsubscribe-auth/AAMJOGz-UMUlE0qTu54qD2qpnKpxVhTGks5q7GdSgaJpZM4KqPCg .

snoep commented 7 years ago

I did,

The check uses only the ENHANCEDMEMPOOL, while according to Cisco, the C3850 only supports CISCO-MEMORY-POOL.mib. Hence the results are empty and only the OK is displayed.

I have tried to find where to changes this, however, bumped. What makes the script forget about CISCO-MEMORY-POOL on this box?

Thanks

Paul

Fri Nov 11 12:52:56 2016: AUTOLOAD Classes::Device::check_messages

I am a Cisco IOS Software, IOS-XE Software, Catalyst L3 Switch Software (CAT3K_CAA-UNIVERSALK9-M), Version 03.07.04E RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupportCopyright http://www.cisco.com/techsupportCopyright (c) 1986-2016 by Cisco Systems, Inc. Compiled Thu 19-May- Fri Nov 11 12:52:56 2016: using Classes::Cisco Fri Nov 11 12:52:56 2016: AUTOLOAD Classes::Cisco::override_opt

Fri Nov 11 12:52:56 2016: AUTOLOAD Monitoring::GLPlugin::Commandline::override_opt

Fri Nov 11 12:52:56 2016: AUTOLOAD Classes::Cisco::check_messages

Fri Nov 11 12:52:56 2016: using Classes::Cisco::IOS Fri Nov 11 12:52:56 2016: AUTOLOAD Classes::Cisco::IOS::analyze_and_check_mem_subsystem

Fri Nov 11 12:52:56 2016: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENHANCEDMEMPOOLMIB Fri Nov 11 12:52:56 2016: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB Fri Nov 11 12:52:56 2016: cache: 1.3.6.1.2.1.1.2.0 Fri Nov 11 12:52:56 2016: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::MIB2MIB Fri Nov 11 12:52:56 2016: GET: MIB-2-MIB::sysObjectID (1.3.6.1.2.1.1.2.0) : 1.3.6.1.4.1.9.1.1745 Fri Nov 11 12:52:59 2016: implements CISCO-ENHANCED-MEMPOOL-MIB (found traces) Fri Nov 11 12:52:59 2016: AUTOLOAD Classes::Cisco::IOS::Component::MemSubsystem::analyze_and_check_mem_subsystem

Fri Nov 11 12:52:59 2016: i know package Monitoring::GLPlugin::SNMP::MibsAndOids::CISCOENHANCEDMEMPOOLMIB Fri Nov 11 12:52:59 2016: get_snmp_table_objects CISCO-ENHANCED-MEMPOOL-MIB cempMemPoolTable Fri Nov 11 12:52:59 2016: get_snmp_table_objects calls get_table 1.3.6.1.4.1.9.9.221.1.1.1 Fri Nov 11 12:52:59 2016: cache: 1.3.6.1.4.1.9.9.221.1.1.1 Fri Nov 11 12:52:59 2016: get_table $VAR1 = {           '-baseoid' => '1.3.6.1.4.1.9.9.221.1.1.1'         };

-----Original message----- From: Gerhard Lausser notifications@github.com Sent: Saturday 5th November 2016 16:19 To: lausser/check_nwc_health check_nwc_health@noreply.github.com Cc: Paul Snoep paul@snoep.it; Author author@noreply.github.com Subject: Re: [lausser/check_nwc_health] C3850 - check_nwc_health - memory-usage (#114)

Add „-vvvvvvvvvvvv“ and you will see which oids the plugin tries to read.

Von: snoep [mailto:notifications@github.com] Gesendet: Samstag, 5. November 2016 12:24 An: lausser/check_nwc_health check_nwc_health@noreply.github.com Betreff: [lausser/check_nwc_health] C3850 - check_nwc_health - memory-usage (#114)

When applying this check to a C3850, the result is OK, instead of the actual memory usage. C3850 running 3.3.5 or higher.

What do I need to do in order to fix this?

Thanks Paul

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lausser/check_nwc_health/issues/114 , or mute the thread https://github.com/notifications/unsubscribe-auth/AAMJOGz-UMUlE0qTu54qD2qpnKpxVhTGks5q7GdSgaJpZM4KqPCg .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.