Solved

Weird alerting plugin

  • 5 December 2022
  • 1 reply
  • 17 views

Badge +1

Hello,

 

I’m posting here because I discovered a weird reaction in the plugin centreon_ups_socomec_netvision_snmp

For example :

Context : The inverter has 12% remaining battery

Sending the following command, 

/usr/lib/centreon/plugins/centreon_ups_socomec_netvision_snmp.pl --plugin=hardware::ups::socomec::netvision::snmp::plugin --mode=battery  --hostname=ipaddress --snmp-community=community --snmp-version='version' --warning-charge-remaining='80’

The answer to this request is “OK”

If I change the value of warning-charge-remaining from “80” to “10”, the answer is “Warning”

It seems we got a warning alert when the real value of battery is GREATER than the probe set

 

Is anyone already encountered that ?

Is there a way to invert the process (to get alarmed when the battery gets under the probe) ?

 

Best Regards

icon

Best answer by JCDOBRAZIC 5 December 2022, 15:21

View original

1 reply

Badge +1

Ok, I found the solution by myself thank to this post : 

 

The tips : add « : » at the end of the value in the threshold

Reply