Skip to main content

Hello, 

I have a problem for the monitoring of my switch Unify model US-8-150W.
Indeed, for the CPU and memory probes i get this error : UNKNOWN : SNMP GET Request : Cant get a single value.

Do you have an idea of what could be the source of this problem ?

I tried to search about the OID which could not be the same on centreon and unify but im not sure.

Thanks for your help

 

Hello :)
 

In general, the response `SNMP GET Request: Cant get a single value.` indicates that the plugin mode was unable to find the OIDs targeted by the mode in your equipment (see the dedicated troubleshooting section).
Are you having this problem for all plugin modes (I assume this is the Ubiquiti UniFi SNMP connector) or just CPU and Memory? If so, the plugin may not be able to query your hardware as it does not have the same OIDs as the one on which it was developed. 
Currently the network::ubiquiti::unifi::snmp::plugin for CPU and Memory modes requests the following generic SNMP OIDs: 
```
    ssCpuRawUser    => { oid => '.1.3.6.1.4.1.2021.11.50' },
    ssCpuRawNice    => { oid => '.1.3.6.1.4.1.2021.11.51' },
    ssCpuRawSystem  => { oid => '.1.3.6.1.4.1.2021.11.52' },
    ssCpuRawIdle    => { oid => '.1.3.6.1.4.1.2021.11.53' },
    ssCpuRawWait    => { oid => '.1.3.6.1.4.1.2021.11.54' },
    ssCpuRawKernel  => { oid => '.1.3.6.1.4.1.2021.11.55' },
    ssCpuRawInterrupt   => { oid => '.1.3.6.1.4.1.2021.11.56' },
    ssCpuRawSoftIRQ     => { oid => '.1.3.6.1.4.1.2021.11.61' },
    ssCpuRawSteal       => { oid => '.1.3.6.1.4.1.2021.11.64' },
    ssCpuRawGuest       => { oid => '.1.3.6.1.4.1.2021.11.65' },
    ssCpuRawGuestNice   => { oid => '.1.3.6.1.4.1.2021.11.66' },
 

my $mapping_32 = {
    memTotalSwap => { oid => '.1.3.6.1.4.1.2021.4.3' },
    memAvailSwap => { oid => '.1.3.6.1.4.1.2021.4.4' },
    memTotalReal => { oid => '.1.3.6.1.4.1.2021.4.5' },
    memAvailReal => { oid => '.1.3.6.1.4.1.2021.4.6' },
    memTotalFree => { oid => '.1.3.6.1.4.1.2021.4.11' },
    memShared    => { oid => '.1.3.6.1.4.1.2021.4.13' },
    memBuffer    => { oid => '.1.3.6.1.4.1.2021.4.14' },
    memCached    => { oid => '.1.3.6.1.4.1.2021.4.15' }
};

my $mapping_64 = {
    memTotalSwap => { oid => '.1.3.6.1.4.1.2021.4.18' },
    memAvailSwap => { oid => '.1.3.6.1.4.1.2021.4.19' },
    memTotalReal => { oid => '.1.3.6.1.4.1.2021.4.20' },
    memAvailReal => { oid => '.1.3.6.1.4.1.2021.4.21' },
    memTotalFree => { oid => '.1.3.6.1.4.1.2021.4.23' },
    memShared    => { oid => '.1.3.6.1.4.1.2021.4.24' },
    memBuffer    => { oid => '.1.3.6.1.4.1.2021.4.25' },
    memCached    => { oid => '.1.3.6.1.4.1.2021.4.26' }
};


```

Would you be able to propose OIDs corresponding to the CPU and Memory information of your equipment? If so, please feel free to open an idea proposing to improve the existing plugin so that it can be used on your equipment (votes on ideas help us prioritise requests for improvements to our connectors).

Kind regards.


Reply