Announcement

Collapse
No announcement yet.

centreon_cisco_ucs.pl and --threshold-overload=

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • centreon_cisco_ucs.pl and --threshold-overload=

    Hi all,
    I'm trying to get rid of a lot of noise coming from this plugin
    The main question is : is there somewhere a documentation about how to use --threshold-overload ? I peeked in the code without findin nothing useful


    Code:
    perl /usr/lib/centreon/plugins/centreon_cisco_ucs.pl --plugin=hardware::server::cisco::ucs::plugin --mode=equipment --hostname=172.20.150.5 --component='memory' --snmp-version='2c' --snmp-community='public'    --snmp-force-getnext  
    
    WARNING: memory 'sys/chassis-1/blade-2/board/memarray-1/mem-2' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-3' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-5' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-6' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-8' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-9' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-11' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-12' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-14' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-15' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-17' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-18' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-20' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-21' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-23' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-24' presence is: 'missing' - memory 'sys/chassis-1/blade-3/board/memarray-1/mem-14' presence is: 'missing' - memory 'sys/chassis-1/blade-3/board/memarray-1/mem-9' presence is: 'missing' - memory 'sys/chassis-1/blade-3/board/memarray-1/mem-3' presence is:...REMOVED AT LEAST 3/4 OF TEXT ..... |
    way too much output, and a missing bank of memory shouldn't be a warning, a bogus one should!
    I tried a lot and various combinations as paramenterrs in the switch --threshold-overload, to force the plugin to ignore the missing banks, e.g.
    Code:
    --threshold-overload='memory.presence,OK,present|absent|missing|.*|whatever" --threshold-overload="memory.operability,OK,removed"
    --threshold-overload='memory.presence,OK,missing" --threshold-overload="memory.operability,OK,removed|missing"
    --threshold-overload='memory.presence,OK,removed" --threshold-overload="memory.operability,OK,dead|.*"
    ..........
    but with no success

    usign the verbose swtich :

    Code:
    WARNING: memory 'sys/chassis-1/blade-2/board/memarray-1/mem-2' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-3' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-5' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-6' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-8' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-9' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-11' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-12' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-14' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-15' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-17' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-18' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-20' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-21' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-23' presence is: 'missing' - memory 'sys/chassis-1/blade-2/board/memarray-1/mem-24' presence is: 'missing' - memory 'sys/chassis-1/blade-3/board/memarray-1/mem-14' presence is: 'missing' - memory 'sys/chassis-1/blade-3/board/memarray-1/mem-9' presence is: 'missing' - memory 'sys/chassis-1/blade-3/board/memarray-1/mem-3' presence is: 'missing' - memory 'sys/chassis-1/blade-3/board/memarray-1/mem-2' presence is: 'missing' - memory 'sys/chassis-1/blade-3/board/memarray-1/mem-12' presence is: 'missing'  ...REMOVED AT LEAST 3/4 OF TEXT .....' |
    Checking memories
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-1' state is 'operable' [presence: equipped].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-2' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-3' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-4' state is 'operable' [presence: equipped].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-5' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-6' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-7' state is 'operable' [presence: equipped].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-8' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-9' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-10' state is 'operable' [presence: equipped].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-11' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-12' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-13' state is 'operable' [presence: equipped].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-14' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-15' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-16' state is 'operable' [presence: equipped].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-17' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-18' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-19' state is 'operable' [presence: equipped].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-20' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-2/board/memarray-1/mem-21' state is 'removed' [presence: missing].
    ...REMOVED AT LEAST 3/4 OF TEXT .....
    memory 'sys/chassis-1/blade-1/board/memarray-1/mem-12' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-1/board/memarray-1/mem-13' state is 'operable' [presence: equipped].
    memory 'sys/chassis-1/blade-1/board/memarray-1/mem-14' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-1/board/memarray-1/mem-15' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-1/board/memarray-1/mem-16' state is 'operable' [presence: equipped].
    memory 'sys/chassis-1/blade-1/board/memarray-1/mem-17' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-1/board/memarray-1/mem-18' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-1/board/memarray-1/mem-19' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-1/board/memarray-1/mem-20' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-1/board/memarray-1/mem-21' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-1/board/memarray-1/mem-22' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-1/board/memarray-1/mem-23' state is 'removed' [presence: missing].
    memory 'sys/chassis-1/blade-1/board/memarray-1/mem-24' state is 'removed' [presence: missing].

    Thanks

    Arcre
    Last edited by ArcreVich; 14 December 2017, 17:43.
Working...
X