Skip to content

[storage::exagrid::snmp::plugin] - mode(server-usage): Negative values #4638

@Meistercoach83

Description

@Meistercoach83

Good Morning,
I´m using the exagrid plugin with this check config:

/usr/lib/centreon/plugins//centreon_exagrid_snmp.pl --plugin=storage::exagrid::snmp::plugin --mode=server-usage --hostname=******* --snmp-version='******' --snmp-community='******' --warning-status='%{status} =~ /warning/i' --critical-status='%{status} =~ /error/i' --warning-retention-usage='85' --critical-retention-usage='95' --warning-landing-usage='85' --critical-landing-usage='95'

with that command I get the following returned infos: CRITICAL: Landing Usage Total: 76.40 TB Used: -42.54 TB (-55.68%) Free: 118.94 TB (155.68%)

How can the used space be negative?
With the debug option it looks like this:

/usr/lib/centreon/plugins//centreon_exagrid_snmp.pl --plugin=storage::exagrid::snmp::plugin --mode=server-usage --hostname=172.16.253.1 --snmp-version='2c' --snmp-community='public' --warning-status='%{status} =~ /warning/i' --critical-status='%{status} =~ /error/i' --warning-retention-usage='85' --critical-retention-usage='95' --warning-landing-usage='85' --critical-landing-usage='95' --debug CRITICAL: Landing Usage Total: 76.40 TB Used: -42.54 TB (-55.68%) Free: 118.94 TB (155.68%) | 'landing_used'=-46771000000000B;0:71400000000000;0:79800000000000;0;84000000000000 'retention_used'=36723000000000B;0:70969900000000;0:79319300000000;0;83494000000000 .1.3.6.1.4.1.14941.4.1.1.0 = 84000 .1.3.6.1.4.1.14941.4.1.2.0 = 0 .1.3.6.1.4.1.14941.4.1.3.0 = 130771 .1.3.6.1.4.1.14941.4.1.4.0 = 886130522 .1.3.6.1.4.1.14941.4.2.1.0 = 83494 .1.3.6.1.4.1.14941.4.2.2.0 = 830000000 .1.3.6.1.4.1.14941.4.2.3.0 = 46771 .1.3.6.1.4.1.14941.4.2.4.0 = 886130522 .1.3.6.1.4.1.14941.4.2.5.0 = 32088 .1.3.6.1.4.1.14941.4.2.6.0 = 196110401 .1.3.6.1.4.1.14941.4.2.7.0 = 0 .1.3.6.1.4.1.14941.4.2.8.0 = 0 .1.3.6.1.4.1.14941.4.2.9.0 = 4634 .1.3.6.1.4.1.14941.4.2.10.0 = 747759077 .1.3.6.1.4.1.14941.4.2.11.0 = 0 .1.3.6.1.4.1.14941.4.2.12.0 = 0 .1.3.6.1.4.1.14941.4.2.13.0 = 4634 .1.3.6.1.4.1.14941.4.2.14.0 = 747759077 .1.3.6.1.4.1.14941.4.3.1.0 = 103665 .1.3.6.1.4.1.14941.4.3.2.0 = 529301438 .1.3.6.1.4.1.14941.4.3.3.0 = 32088 .1.3.6.1.4.1.14941.4.3.4.0 = 196110401 .1.3.6.1.4.1.14941.4.4.1.0 = 0 .1.3.6.1.4.1.14941.4.4.2.0 = 0 .1.3.6.1.4.1.14941.4.4.3.0 = 0 .1.3.6.1.4.1.14941.4.5.1.0 = 0 .1.3.6.1.4.1.14941.4.5.2.0 = 0 .1.3.6.1.4.1.14941.4.5.3.0 = 0 .1.3.6.1.4.1.14941.4.6.1.0 = 1 .1.3.6.1.4.1.14941.4.7.1.0 = 0 .1.3.6.1.4.1.14941.4.7.2.0 = 0 .1.3.6.1.4.1.14941.4.7.3.0 = 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions